/* ==========================================================================
   İzmir Manitou — Design System
   Dark industrial · Manitou red · premium machinery
   ========================================================================== */

/* ---------- Fonts (self-hosted, third-party isteği yok) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("/font/montserrat-var-latin-ext.woff2") format("woff2-variations"),
       url("/font/montserrat-var-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+2000-206F, U+20A0-20BF, U+2122,
    U+2190-21BB, U+2212, U+25A0-25FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #090a0b;
  --bg-2: #111214;
  --card: #151719;
  --card-2: #1b1e21;
  --red: #e31e24;
  --red-hover: #ff2b31;
  --red-deep: #9c1216;
  --amber: #f5b21a;
  --text: #ffffff;
  --muted: #a4a4a8;
  --muted-2: #7d7d82;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Teknik etiketler de Montserrat; monospace görünümü geniş letter-spacing
     ve tabular-nums ile sağlanır. */
  --font-mono: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.9rem);

  --gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
  --section-y: clamp(3.5rem, 2.4rem + 4.6vw, 7rem);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 420ms;
  --wrap: 1240px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--step-3);
  text-transform: uppercase;
}

h3 {
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

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

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15rem;
}

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

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

/* ---------- Layout primitives ---------- */
.container {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--wrap));
  }
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-hover);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.lead {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 62ch;
}

.section-head--center .lead {
  margin-inline: auto;
}

/* Hazard stripe rule — industrial signature */
.hazard-rule {
  height: 6px;
  border: 0;
  margin: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 14px,
    #0f1012 14px 28px
  );
  opacity: 0.9;
}

/* Grain / atmosphere */
.atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease),
    border-color 200ms var(--ease), color 200ms var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--text);
}

.btn--wa {
  --btn-bg: #1faa53;
}

.btn--wa:hover {
  background: #25d366;
}

.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Header ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.topbar {
  background: #050506;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #fff;
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24c268;
  box-shadow: 0 0 0 0 rgba(36, 194, 104, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(36, 194, 104, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(36, 194, 104, 0);
  }
}

.topbar__links {
  display: none;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .topbar__links {
    display: flex;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}

.brand img {
  width: 200px;
  height: 74px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .brand img {
    width: 160px;
    height: 60px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  position: relative;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
}

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

.nav__group {
  position: relative;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle svg {
  width: 11px;
  height: 11px;
  transition: transform 260ms var(--ease);
}

.nav__group[data-open="true"] .nav__toggle svg {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease),
    visibility 220ms;
}

.nav__group[data-open="true"] .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

.nav__menu a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.nav__menu a:hover {
  background: rgba(227, 30, 36, 0.12);
  color: #fff;
}

.nav__menu a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
  }
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}

body.is-drawer-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.is-drawer-open .burger span:nth-child(2) {
  opacity: 0;
}

body.is-drawer-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  padding: 1.25rem 0 6rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease),
    visibility 300ms;
}

body.is-drawer-open .drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.is-drawer-open {
  overflow: hidden;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
  margin-bottom: 2rem;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease),
    transform 200ms var(--ease);
}

.drawer__close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

.drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.drawer__nav {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}

.drawer__nav > li {
  border-bottom: 1px solid var(--line);
}

.drawer__nav > li > a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.drawer__nav > li > a .idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--red);
}

.drawer__sub {
  list-style: none;
  padding: 0 0 1rem 2.25rem;
  margin: -0.35rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.15rem 1rem;
}

.drawer__sub a {
  display: block;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.drawer__sub a:hover {
  color: var(--red-hover);
}

.drawer__foot {
  display: grid;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Makineyi sağ tarafa konumlar, sol taraf metin için boş kalır */
  object-position: 24% center;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease) forwards;
}

/* Dar ekranda kadraj daralır; makine gövdesine odaklan */
@media (max-width: 899px) {
  .hero__media img {
    object-position: 64% center;
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}

/* Mobil: dikey scrim (metin görselin üstünde durur).
   Masaüstü aşağıdaki media query'de yatay scrim'e geçer. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      var(--bg) 4%,
      rgba(9, 10, 11, 0.88) 38%,
      rgba(9, 10, 11, 0.5) 70%,
      rgba(9, 10, 11, 0.72) 100%
    ),
    radial-gradient(70% 60% at 12% 82%, rgba(227, 30, 36, 0.22), transparent 70%);
}

@media (min-width: 900px) {
  .hero__scrim {
    background: linear-gradient(
        90deg,
        rgba(9, 10, 11, 0.95) 0%,
        rgba(9, 10, 11, 0.88) 28%,
        rgba(9, 10, 11, 0.55) 46%,
        rgba(9, 10, 11, 0.18) 62%,
        rgba(9, 10, 11, 0.08) 80%,
        rgba(9, 10, 11, 0.42) 100%
      ),
      linear-gradient(to top, var(--bg) 0%, rgba(9, 10, 11, 0) 26%),
      linear-gradient(to bottom, rgba(9, 10, 11, 0.55) 0%, rgba(9, 10, 11, 0) 22%),
      radial-gradient(55% 60% at 6% 62%, rgba(227, 30, 36, 0.2), transparent 70%);
  }
}

/* Container'ın sol kenarına hizalı; max-width satır uzunluğunu sınırlar
   ama bloğu ortalamaz. */
.hero__inner {
  position: relative;
  text-align: left;
}

.hero__inner > .hero__eyebrow,
.hero__inner > h1,
.hero__inner > .hero__lead,
.hero__inner > .btn-row,
.hero__inner > .hero__stats {
  max-width: 46rem;
  margin-inline: 0;
}

.hero h1 {
  margin-bottom: 0.35em;
}

/* h1 dışına taşınan hero eyebrow: SEO için başlık metnine dahil değil,
   ölçüler h1 tabanına (--step-4) göre birebir korunur. */
.hero__eyebrow {
  display: block;
  font-weight: 500;
  font-size: calc(var(--step-4) * 0.45);
  line-height: 1.03;
  letter-spacing: 0.16em;
  color: var(--red-hover);
  text-transform: uppercase;
  margin: 0 0 0.7em;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}

.hero__lead {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero--inner {
  min-height: clamp(400px, 52vh, 560px);
}

.hero--inner .hero__media img {
  object-position: center 42%;
  filter: saturate(0.85);
}

/* Hero stats strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.5rem, 1rem + 2vw, 3.5rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__stat span {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--red);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

/* ---------- Trust strip / marquee ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

@media (min-width: 900px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust__item {
  background: var(--bg-2);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) clamp(1rem, 0.6rem + 1.4vw, 1.9rem);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.trust__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--red);
  margin-top: 3px;
}

.trust__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.trust__item span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #050506;
  padding-block: 0.85rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 34s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}

.marquee span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
}

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

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 300ms var(--ease), transform 300ms var(--ease),
    background-color 300ms var(--ease);
}

.card:hover {
  border-color: rgba(227, 30, 36, 0.55);
  transform: translateY(-4px);
  background: var(--card-2);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e0f11;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
  filter: saturate(0.9) contrast(1.05);
}

.card:hover .card__media img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.08);
}

.card__idx {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.28rem 0.55rem;
  background: rgba(9, 10, 11, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.card__body {
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body h3 {
  margin-bottom: 0.55rem;
}

.card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-hover);
}

.card__link::after {
  content: "→";
  transition: transform 260ms var(--ease);
}

/* Link olmayan etiketlerde ok gösterme */
span.card__link {
  color: var(--muted-2);
}

span.card__link::after {
  content: none;
}

.card:hover .card__link::after {
  transform: translateX(5px);
}

/* Stretched link for whole-card click */
.card__link.stretched::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Feature list (why choose us) */
.feature {
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: linear-gradient(180deg, var(--card) 0%, rgba(21, 23, 25, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 2px solid var(--red);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  border-top-color: var(--red-hover);
}

.feature svg {
  width: 30px;
  height: 30px;
  stroke: var(--red);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* ---------- Split (text + image) ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 1.4rem + 3vw, 4.5rem);
  align-items: center;
}

/* Grid çocuklarının min-content genişliğine kilitlenip taşmasını engeller */
.split > *,
.grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(227, 30, 36, 0.16));
  pointer-events: none;
}

.split__badge {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  z-index: 2;
}

/* ---------- Spec list ---------- */
.speclist {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.speclist li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.speclist dt,
.speclist .k {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.speclist .v {
  color: var(--text);
  font-weight: 500;
}

/* Usage pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color 240ms var(--ease), color 240ms var(--ease),
    transform 240ms var(--ease);
}

.pills li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
}

.pills li:hover {
  color: #fff;
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  background: var(--card);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  position: relative;
  transition: background-color 300ms var(--ease);
}

.step:hover {
  background: var(--card-2);
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 30, 36, 0.75);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Service areas ---------- */
.areas {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .areas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .areas {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tek başına kalan son kart boşluk bırakmasın */
@media (min-width: 640px) and (max-width: 959.98px) {
  .areas > .area:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .areas > .area:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .areas > .area:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
}

.area {
  position: relative;
  background: var(--card);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background-color 300ms var(--ease);
  overflow: hidden;
}

.area::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 340ms var(--ease);
}

.area:hover {
  background: var(--card-2);
}

.area:hover::after {
  transform: scaleY(1);
}

.area__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.area__name::after {
  content: "↗";
  color: var(--red);
  font-size: 0.85em;
  transition: transform 280ms var(--ease);
}

.area:hover .area__name::after {
  transform: translate(3px, -3px);
}

.area p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0e0f11;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 500ms var(--ease);
  filter: grayscale(0.2) contrast(1.05);
}

.gallery__item--wide img {
  aspect-ratio: 1 / 1;
}

.gallery__item--tall img {
  aspect-ratio: 2 / 3;
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.08);
}

.gallery__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1.5rem 0.9rem 0.7rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(9, 10, 11, 0.92));
}

/* ---------- Görsel yer tutucu (gerçek fotoğraf gelene kadar) ---------- */
.img-slot {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.5rem;
  aspect-ratio: 16 / 10;
  text-align: center;
  background: repeating-linear-gradient(
      -45deg,
      rgba(227, 30, 36, 0.1) 0 10px,
      transparent 10px 20px
    ),
    var(--card-2);
  border: 1px dashed var(--line-strong);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.img-slot b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
}

.img-slot svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.img-slot--43 {
  aspect-ratio: 4 / 3;
}

.img-slot--square {
  aspect-ratio: 1 / 1;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.6rem + 4vw, 6.5rem);
  text-align: center;
  border-block: 1px solid var(--line);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(9, 10, 11, 0.95) 20%,
      rgba(9, 10, 11, 0.72) 60%,
      rgba(156, 18, 22, 0.45)
    );
}

.cta-band h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 auto 2rem;
  font-size: var(--step-1);
}

.cta-band .btn-row {
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 62rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 260ms var(--ease);
}

.faq details[open] {
  border-color: rgba(227, 30, 36, 0.45);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem clamp(1.1rem, 0.9rem + 0.6vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: color 200ms var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  background: var(--red);
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform 320ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq summary:hover {
  color: var(--red-hover);
}

.faq__answer {
  padding: 0 clamp(1.1rem, 0.9rem + 0.6vw, 1.6rem) 1.35rem;
  color: var(--muted);
  font-size: 0.96rem;
}

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

/* ---------- Map ---------- */
.map {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 700px) {
  .map {
    min-height: 320px;
  }
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) contrast(0.9);
}

.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 1.5rem;
  background: repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0 12px,
      transparent 12px 24px
    ),
    var(--card);
}

.map__placeholder p {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #fff;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  background: var(--card);
  outline: none;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a4a4a8' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  grid-column: 1 / -1;
  margin: 0;
}

/* ---------- Contact tiles ---------- */
.contact-tiles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* 3 kolon x 2 satır sabit yerleşim */
.contact-tiles--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-tiles--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 959.98px) {
  .contact-tiles--3 > .contact-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .contact-tiles--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-tiles--3 > .contact-tile:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .contact-tiles--3 > .contact-tile:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
}

.contact-tile {
  background: var(--card);
  padding: clamp(1.3rem, 1rem + 1vw, 1.85rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background-color 260ms var(--ease);
}

a.contact-tile:hover {
  background: var(--card-2);
}

.contact-tile svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--red);
  margin-top: 4px;
}

.contact-tile .k {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.2rem;
}

.contact-tile .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.contact-tile .v small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 0.2rem;
}

/* ---------- Prose (privacy) ---------- */
.prose {
  max-width: 74ch;
  color: var(--muted);
}

.prose h2 {
  font-size: var(--step-2);
  color: var(--text);
  margin-top: 2.5rem;
}

.prose h3 {
  color: var(--text);
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--red-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

/* ---------- Sitemap tree ---------- */
.sitemap-tree {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.sitemap-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.85rem);
}

.sitemap-group h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.sitemap-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-group li {
  border-top: 1px solid var(--line);
}

.sitemap-group a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  color: var(--muted);
  transition: color 200ms var(--ease), padding-left 240ms var(--ease);
}

.sitemap-group a::after {
  content: "→";
  color: var(--red);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

.sitemap-group a:hover {
  color: #fff;
  padding-left: 0.4rem;
}

.sitemap-group a:hover::after {
  opacity: 1;
}

.sitemap-group .url {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 2.2rem + 3vw, 5rem);
}

.footer__grid {
  display: grid;
  gap: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer__brand img {
  width: 168px;
  height: 63px;
  object-fit: contain;
  margin-bottom: 1.1rem;
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer h2,
.footer__col h2 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
  display: inline-block;
}

.footer__col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  gap: 0.85rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.footer__contact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.83rem;
  color: var(--muted-2);
}

@media (min-width: 860px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
}

.footer-bottom__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom__links a:hover {
  color: #fff;
  text-decoration-color: var(--red);
}

.footer-bottom .separator {
  color: var(--line-strong);
  user-select: none;
}

.footer-credit-link {
  background: linear-gradient(135deg, #6c5ce7, #00e5a0, #6c5ce7);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  transition: background-position 0.5s ease;
}

.footer-credit-link:hover {
  background-position: 100% 50%;
}

.footer-credit-link svg {
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  vertical-align: baseline;
  margin-left: 0.2em;
}

.footer-credit-link svg path {
  stroke: url(#credit-gradient);
  stroke-width: 2;
  fill: none;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(9, 10, 11, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 1024px) {
  .action-bar {
    display: none;
  }
}

body:has(.action-bar) .site-footer {
  padding-bottom: 76px;
}

.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.7rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

.action-bar a:last-child {
  border-right: 0;
  background: var(--red);
}

.action-bar a:last-child:active {
  background: var(--red-hover);
}

.action-bar svg {
  width: 18px;
  height: 18px;
}

/* Desktop floating quick contact */
.quick-contact {
  display: none;
}

@media (min-width: 1024px) {
  .quick-contact {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 90;
    display: grid;
    gap: 0.6rem;
  }
}

.quick-contact a {
  width: 52px;
  height: 52px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.9);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}

.quick-contact a:hover {
  transform: translateY(-3px) scale(1.05);
}

.quick-contact a.is-phone:hover {
  background: var(--red);
}

.quick-contact a.is-wa:hover {
  background: #25d366;
}

.quick-contact svg {
  width: 22px;
  height: 22px;
}

/* ---------- Reveal animation ---------- */
/* JS yoksa içerik her zaman görünür kalır — reveal yalnızca progressive
   enhancement olarak devreye girer. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.mb-0 {
  margin-bottom: 0;
}

.stack > * + * {
  margin-top: 1rem;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 5rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 16vw, 14rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  margin-bottom: 1.5rem;
}
