/* MARFEN Mühendislik tasarım sistemi */

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

:root {
  --mf-navy-900: #111735;
  --mf-navy-800: #1c244b;
  --mf-navy-700: #134486;
  --mf-navy-600: #1d58a8;
  --mf-gold: #d3b574;
  --mf-gold-600: #8a6a22;
  --mf-ink: #1c244b;
  --mf-text: #3a4563;
  --mf-muted: #5a6478;
  --mf-line: #dfe4ec;
  --mf-surface: #f4f6fa;
  --mf-surface-2: #eaf0f7;
  --mf-white: #fff;
  --mf-radius: 10px;
  --mf-radius-sm: 6px;
  --mf-shadow: 0 1px 2px rgba(17, 23, 53, .06), 0 8px 24px rgba(17, 23, 53, .07);
  --mf-shadow-lg: 0 2px 4px rgba(17, 23, 53, .06), 0 18px 48px rgba(17, 23, 53, .14);
  --mf-wrap: 1200px;
  --mf-prose: 760px;
  --mf-gutter: clamp(16px, 4vw, 32px);
  --mf-header-h: 72px;
  --mf-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mf-header-h) + 16px); }
body.mf-site {
  margin: 0;
  font-family: var(--mf-font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--mf-text);
  background: var(--mf-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.mf-site img { max-width: 100%; height: auto; display: block; }
.mf-site a { color: var(--mf-navy-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mf-site a:hover { color: var(--mf-navy-600); }
.mf-site h1, .mf-site h2, .mf-site h3, .mf-site h4 {
  font-family: var(--mf-font);
  color: var(--mf-ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.mf-site h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 750; }
.mf-site h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; }
.mf-site h3 { font-size: 1.18rem; font-weight: 650; }
.mf-site p { margin: 0 0 1.1em; }
.mf-site :focus-visible { outline: 3px solid var(--mf-gold); outline-offset: 2px; border-radius: 2px; }
.mf-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mf-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--mf-navy-800); color: #fff !important; padding: 10px 16px; border-radius: var(--mf-radius-sm);
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.mf-skip:focus { top: 12px; }

.mf-wrap { width: 100%; max-width: var(--mf-wrap); margin-inline: auto; padding-inline: var(--mf-gutter); }
.mf-prose > * { max-width: var(--mf-prose); }
.mf-prose > .mf-area, .mf-prose > .mf-table-wrap, .mf-prose > .mf-table { max-width: none; }
.mf-prose > :last-child { margin-bottom: 0; }
.mf-prose h2 { margin-top: 1.6em; }
.mf-prose h2:first-child, .mf-prose h3:first-child { margin-top: 0; }
.mf-prose h3 { margin-top: 1.4em; }
.mf-prose ul, .mf-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.mf-prose li { margin-bottom: .4em; }
.mf-prose li::marker { color: var(--mf-navy-700); }
.mf-prose strong { color: var(--mf-ink); }

/* ---------- Butonlar ---------- */
.mf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.5em;
  font: 650 1rem/1.2 var(--mf-font); letter-spacing: .01em;
  border-radius: var(--mf-radius-sm); border: 2px solid transparent;
  text-decoration: none !important; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--mf-ease), box-shadow .2s;
}
.mf-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.mf-btn--primary { background: var(--mf-gold); color: var(--mf-navy-900) !important; }
.mf-btn--primary:hover { background: #e2c88c; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(211, 181, 116, .35); }
.mf-btn--dark { background: var(--mf-navy-700); color: #fff !important; }
.mf-btn--dark:hover { background: var(--mf-navy-800); transform: translateY(-1px); }
.mf-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; background: rgba(255, 255, 255, .04); }
.mf-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.mf-btn--outline { border-color: var(--mf-navy-700); color: var(--mf-navy-700) !important; background: transparent; }
.mf-btn--outline:hover { background: var(--mf-navy-700); color: #fff !important; }
.mf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mf-prose + .mf-grid { margin-top: 28px; }
.mf-actions + .mf-section__intro { margin: 18px 0 0; font-size: .98rem; }

/* ---------- Header ---------- */
.mf-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--mf-line);
}
.admin-bar .mf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mf-header { top: 0; } }
.mf-header__inner { display: flex; align-items: center; gap: 24px; height: var(--mf-header-h); }
.mf-logo { display: inline-flex; align-items: center; flex: none; }
.mf-logo img { height: 54px; width: auto; }
.mf-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mf-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mf-nav__item { position: relative; }
.mf-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--mf-radius-sm);
  font-weight: 600; font-size: .98rem; color: var(--mf-ink) !important; text-decoration: none !important;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.mf-nav__link:hover, .mf-nav__item.is-open > .mf-nav__link { background: var(--mf-surface); }
.mf-nav__link[aria-current="page"], .mf-nav__item.is-current > .mf-nav__link { color: var(--mf-navy-700) !important; box-shadow: inset 0 -2px 0 var(--mf-gold); border-radius: 0; }
.mf-nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.mf-nav__item.is-open > .mf-nav__link svg { transform: rotate(180deg); }
.mf-header__cta { margin-left: 8px; }
.mf-header__cta .mf-btn { min-height: 44px; padding: .6em 1.2em; }
.mf-header__phone { display: none; }

.mf-mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(6px);
  width: min(920px, 92vw);
  background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-lg);
  padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--mf-ease), visibility 0s .18s;
}
.mf-nav__item.is-open > .mf-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mf-mega__title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mf-gold-600); margin: 0 0 10px; }
.mf-mega ul { list-style: none; margin: 0; padding: 0; }
.mf-mega a { display: block; padding: 7px 8px; margin: 0 -8px; border-radius: var(--mf-radius-sm); color: var(--mf-ink); text-decoration: none; font-size: .93rem; line-height: 1.35; font-weight: 500; }
.mf-mega a:hover, .mf-mega a[aria-current="page"] { background: var(--mf-surface); color: var(--mf-navy-700); }
.mf-mega__all { grid-column: 1 / -1; border-top: 1px solid var(--mf-line); padding-top: 14px; font-weight: 600; }

.mf-burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--mf-radius-sm);
  border: 1px solid var(--mf-line); background: #fff; color: var(--mf-ink); cursor: pointer; align-items: center; justify-content: center;
}
.mf-burger svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  :root { --mf-header-h: 64px; }
  .mf-header { backdrop-filter: none; background: #fff; }
  .mf-logo img { height: 38px; }
  .mf-burger { display: inline-flex; }
  .mf-header__phone { display: inline-flex; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--mf-radius-sm); background: var(--mf-navy-700); color: #fff !important; }
  .mf-header__phone svg { width: 20px; height: 20px; }
  .mf-header__phone + .mf-burger { margin-left: 8px; }
  .mf-nav {
    position: fixed; inset: var(--mf-header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto;
    padding: 12px var(--mf-gutter) 120px; display: none;
  }
  .admin-bar .mf-nav { top: calc(var(--mf-header-h) + 46px); }
  .mf-nav.is-open { display: block; }
  .mf-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mf-nav__item { border-bottom: 1px solid var(--mf-line); }
  .mf-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .mf-nav__link:hover { background: none; }
  .mf-mega { position: static; transform: none !important; width: auto; box-shadow: none; border: 0; padding: 0 4px 16px; display: none; grid-template-columns: 1fr; gap: 16px; opacity: 1; visibility: visible; }
  .mf-nav__item.is-open > .mf-mega { display: grid; }
  .mf-header__cta { margin: 20px 0 0; }
  .mf-header__cta .mf-btn { width: 100%; }
  body.mf-nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.mf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--mf-navy-800);
  color: #e8ecf5;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
}
.mf-hero::before { /* fotoğraf */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--mf-hero-sm, none); background-size: cover; background-position: var(--mf-hero-pos, center);
}
@media (min-width: 769px) { .mf-hero::before { background-image: var(--mf-hero, none); } }
.mf-hero::after { /* lacivert örtü + teknik çizim ızgarası */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 23, 53, .94) 0%, rgba(17, 23, 53, .86) 45%, rgba(19, 68, 134, .62) 100%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px;
}
.mf-hero--plain::after {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(29, 88, 168, .55), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, var(--mf-navy-900), var(--mf-navy-800) 55%, var(--mf-navy-700));
}
.mf-hero--compact { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); }
.mf-hero--home { padding: clamp(72px, 11vw, 150px) 0 clamp(72px, 10vw, 136px); }
.mf-hero h1 { color: #fff; max-width: 21ch; margin-bottom: .45em; }
.mf-hero--compact h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); max-width: 26ch; }
.mf-hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #d5dcea; max-width: 60ch; margin: 0; }
.mf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mf-gold); margin: 0 0 16px;
}
.mf-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--mf-gold); }
.mf-breadcrumb { font-size: .85rem; margin: 0 0 22px; color: #b9c3d8; }
.mf-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mf-breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.mf-breadcrumb a { color: #dfe6f3 !important; text-decoration: none; }
.mf-breadcrumb a:hover { text-decoration: underline; }
.mf-breadcrumb [aria-current] { color: #fff; font-weight: 600; }

.mf-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .95rem; color: #dfe6f3; }
.mf-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.mf-hero__points svg { width: 18px; height: 18px; color: var(--mf-gold); flex: none; }

/* ---------- Bölümler ---------- */
.mf-section { padding: clamp(56px, 7vw, 96px) 0; }
.mf-section--alt { background: var(--mf-surface); }
.mf-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.mf-section + .mf-section:not(.mf-section--alt):not(.mf-cta) { border-top: 1px solid var(--mf-line); }
.mf-section--alt + .mf-section, .mf-section + .mf-section--alt { border-top: 0; }
.mf-section__title { margin-bottom: .35em; }
.mf-section__intro { max-width: 70ch; color: var(--mf-muted); font-size: 1.08rem; margin: 0 0 32px; }
.mf-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.mf-section__head .mf-section__intro { margin-bottom: 0; }
.mf-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mf-gold-600); margin: 0 0 10px; }

/* ---------- Izgara ve kartlar ---------- */
.mf-grid { display: grid; gap: 20px; margin-top: 28px; }
.mf-section__title + .mf-grid, .mf-section__intro + .mf-grid, .mf-section__head + .mf-grid { margin-top: 0; }
.mf-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mf-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mf-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mf-card {
  position: relative; background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius);
  padding: 26px 24px 24px; box-shadow: 0 1px 2px rgba(17, 23, 53, .04);
}
.mf-section:not(.mf-section--alt) .mf-card { background: var(--mf-surface); border-color: transparent; }
.mf-card::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 3px; background: var(--mf-gold); border-radius: 0 0 3px 3px; }
.mf-card h3 { margin-bottom: .45em; font-size: 1.1rem; }
.mf-card p { margin: 0; font-size: .98rem; }
.mf-card ul { margin: .6em 0 0; padding-left: 1.1em; font-size: .95rem; }

.mf-link-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius);
  padding: 24px; text-decoration: none !important; color: var(--mf-text) !important;
  transition: transform .25s var(--mf-ease), box-shadow .25s, border-color .25s;
}
.mf-link-card:hover { transform: translateY(-3px); box-shadow: var(--mf-shadow-lg); border-color: #c9d3e3; }
.mf-link-card__icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--mf-surface-2); color: var(--mf-navy-700); margin-bottom: 18px; }
.mf-link-card__icon svg { width: 26px; height: 26px; }
.mf-link-card h3 { font-size: 1.12rem; margin-bottom: .45em; }
.mf-link-card p { font-size: .96rem; margin: 0 0 18px; }
.mf-link-card__more { margin-top: auto; font-weight: 650; font-size: .93rem; color: var(--mf-navy-700); display: inline-flex; align-items: center; gap: 6px; }
.mf-link-card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.mf-link-card:hover .mf-link-card__more svg { transform: translateX(4px); }

.mf-group { margin-top: 48px; }
.mf-group:first-of-type { margin-top: 0; }
.mf-group__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--mf-line); }
.mf-group__head h2 { font-size: 1.45rem; margin: 0; }
.mf-group__count { font-size: .85rem; color: var(--mf-muted); font-weight: 600; }

/* ---------- Projeler ---------- */
.mf-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mf-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid #d5e0ee; color: var(--mf-navy-800) !important; font-weight: 600; font-size: .92rem;
  line-height: 1.3; text-decoration: none !important; transition: border-color .2s, box-shadow .2s;
}
.mf-chips a:hover { border-color: var(--mf-navy-600); box-shadow: var(--mf-shadow); }
.mf-chips span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--mf-surface-2); color: var(--mf-navy-700); font-size: .8rem; text-align: center; }
.mf-grid--projects { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mf-project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); overflow: hidden; scroll-margin-top: calc(var(--mf-header-h) + 24px); }
.mf-section:not(.mf-section--alt) .mf-project { background: var(--mf-surface); border-color: transparent; }
.mf-project:target { outline: 3px solid var(--mf-gold); outline-offset: 2px; }
.mf-project__media { margin: 0; aspect-ratio: 16 / 10; background: var(--mf-surface-2); }
.mf-project__media img { width: 100%; height: 100%; object-fit: cover; }
.mf-project__body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 20px; }
.mf-project__body::before { content: ""; position: absolute; left: 22px; top: 0; width: 36px; height: 3px; background: var(--mf-gold); border-radius: 0 0 3px 3px; }
.mf-project h3 { font-size: 1.08rem; line-height: 1.4; margin: 0; }
.mf-project p { margin: 0; font-size: .95rem; line-height: 1.6; }
.mf-project .mf-project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: .86rem; font-weight: 600; color: var(--mf-muted); }
.mf-project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.mf-project__meta svg { width: 15px; height: 15px; color: var(--mf-gold-600); flex: none; }
.mf-project__meta .mf-project__status { padding: 2px 10px; border-radius: 999px; background: #fbf7ee; border: 1px solid #ecdcb4; color: #6b5214; font-size: .78rem; }
.mf-project__meta .mf-project__belge { padding: 2px 10px; border-radius: 999px; background: #eef2fb; border: 1px solid #cfd9f0; color: #1e3a78; font-size: .78rem; }
.mf-project__meta .mf-project__belge svg { width: 13px; height: 13px; color: #1e3a78; }
.mf-project .mf-project__scale { font-size: .9rem; color: var(--mf-ink); }
.mf-project__roles { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mf-project__roles li { padding: 4px 10px; border-radius: 999px; background: var(--mf-surface-2); color: var(--mf-navy-800); font-size: .8rem; font-weight: 600; line-height: 1.35; }
.mf-section:not(.mf-section--alt) .mf-project__roles li { background: #fff; }
.mf-project__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 650; }
.mf-project__link svg { width: 16px; height: 16px; transition: transform .2s; }
.mf-project__link:hover svg { transform: translateX(4px); }
.mf-project-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mf-project-list a {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: var(--mf-radius-sm);
  background: var(--mf-surface); border-left: 3px solid var(--mf-gold); text-decoration: none !important; color: var(--mf-text) !important;
}
.mf-project-list a:hover { background: var(--mf-surface-2); }
.mf-project-list strong { color: var(--mf-ink); font-weight: 650; line-height: 1.4; }
.mf-project-list span { font-size: .86rem; color: var(--mf-muted); font-weight: 600; }

/* ---------- Süreç ---------- */
.mf-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); counter-reset: mf-step; }
.mf-section__title + .mf-steps, .mf-section__intro + .mf-steps { margin-top: 0; }
.mf-steps li { counter-increment: mf-step; position: relative; padding: 58px 22px 22px; background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); }
.mf-section:not(.mf-section--alt) .mf-steps li { background: var(--mf-surface); border-color: transparent; }
.mf-steps li::before {
  content: counter(mf-step, decimal-leading-zero); position: absolute; left: 22px; top: 18px;
  font-weight: 800; font-size: 1.05rem; color: var(--mf-navy-700); letter-spacing: .04em;
}
.mf-steps li::after { content: ""; position: absolute; left: 58px; right: 22px; top: 30px; height: 1px; background: linear-gradient(90deg, var(--mf-gold), transparent); }
.mf-steps h3 { font-size: 1.04rem; margin-bottom: .4em; }
.mf-steps p { margin: 0; font-size: .95rem; }
@media (max-width: 520px) { .mf-steps { grid-template-columns: 1fr; } .mf-steps li { padding: 50px 20px 18px; } }

/* ---------- Listeler ---------- */
.mf-checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.mf-section__title + .mf-checklist, .mf-section__intro + .mf-checklist { margin-top: 0; }
.mf-checklist li { position: relative; padding: 12px 14px 12px 46px; background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius-sm); font-size: .98rem; line-height: 1.5; }
.mf-section:not(.mf-section--alt) .mf-checklist li { background: var(--mf-surface); border-color: transparent; }
.mf-checklist li::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mf-navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.mf-tags { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mf-section__title + .mf-tags { margin-top: 4px; }
.mf-tags li { padding: 8px 14px; border-radius: 999px; background: var(--mf-surface-2); color: var(--mf-navy-800); font-weight: 600; font-size: .9rem; line-height: 1.3; border: 1px solid #d5e0ee; }
.mf-section--alt .mf-tags li { background: #fff; }
.mf-note { border-left: 4px solid var(--mf-gold); background: #fbf7ee; padding: 18px 22px; border-radius: 0 var(--mf-radius-sm) var(--mf-radius-sm) 0; margin: 24px 0; color: #4a3f22; }
.mf-note p:last-child { margin: 0; }
.mf-note strong { color: #3a2f12; }

/* ---------- SSS ---------- */
.mf-faq { margin-top: 24px; border-top: 1px solid var(--mf-line); max-width: 860px; }
.mf-section__title + .mf-faq { margin-top: 8px; }
.mf-faq details { border-bottom: 1px solid var(--mf-line); }
.mf-faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 650; color: var(--mf-ink); font-size: 1.04rem; line-height: 1.45;
}
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134486' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--mf-ease);
}
.mf-faq details[open] summary::after { transform: rotate(45deg); }
.mf-faq summary:hover { color: var(--mf-navy-700); }
.mf-faq details > div { padding: 0 44px 20px 0; }
.mf-faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Tablo ---------- */
.mf-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: .93rem; }
.mf-table th, .mf-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mf-line); vertical-align: top; }
.mf-table th { background: var(--mf-surface); color: var(--mf-ink); font-weight: 650; }
.mf-table-wrap { overflow-x: auto; }

/* ---------- İlgili hizmetler ve CTA ---------- */
.mf-related .mf-link-card { padding: 22px; }
.mf-cta { background: var(--mf-navy-800); color: #dfe6f3; position: relative; overflow: hidden; isolation: isolate; }
.mf-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 300px at 100% 0, rgba(29, 88, 168, .6), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 32px 32px;
}
.mf-cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.mf-cta h2 { color: #fff; margin-bottom: .35em; }
.mf-cta p { margin: 0; color: #c9d2e4; font-size: 1.08rem; }
.mf-cta .mf-actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .mf-cta__inner { grid-template-columns: 1fr; } .mf-cta .mf-actions { justify-content: flex-start; } }

/* ---------- Ana sayfa ---------- */
.mf-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .mf-intro-grid { grid-template-columns: 1fr; } }
.mf-panel { background: var(--mf-navy-800); color: #dfe6f3; border-radius: var(--mf-radius); padding: 30px; box-shadow: var(--mf-shadow-lg); }
.mf-panel h3 { color: #fff; }
.mf-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mf-panel li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.mf-panel li svg { width: 22px; height: 22px; color: var(--mf-gold); margin-top: 2px; }
.mf-panel strong { color: #fff; display: block; }
.mf-area { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.mf-area li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--mf-line); font-size: .9rem; font-weight: 600; color: var(--mf-ink); }

/* ---------- İletişim ---------- */
.mf-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .mf-contact { grid-template-columns: 1fr; } }
.mf-contact__info h2, .mf-contact__info h3 { margin-top: 0; }
.mf-contact__form { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--mf-shadow); }
.mf-contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.mf-contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.mf-contact-list__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--mf-surface-2); color: var(--mf-navy-700); display: grid; place-items: center; }
.mf-contact-list__icon svg { width: 22px; height: 22px; }
.mf-contact-list small { display: block; color: var(--mf-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.mf-contact-list a { font-weight: 650; text-decoration: none; }
.mf-map { margin-top: 40px; border-radius: var(--mf-radius); overflow: hidden; border: 1px solid var(--mf-line); background: var(--mf-surface); }
.mf-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.mf-map__placeholder { padding: 28px; text-align: center; color: var(--mf-muted); }

/* ---------- Form ---------- */
.mf-form { display: grid; gap: 16px; }
.mf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .mf-form__row { grid-template-columns: 1fr; } }
.mf-field label { display: block; font-weight: 600; font-size: .92rem; color: var(--mf-ink); margin-bottom: 6px; }
.mf-field .mf-req { color: #b3261e; }
.mf-field input, .mf-field select, .mf-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--mf-ink);
  padding: 12px 14px; border: 1px solid #c6cfdd; border-radius: var(--mf-radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.mf-field textarea { min-height: 140px; resize: vertical; }
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus { outline: none; border-color: var(--mf-navy-700); box-shadow: 0 0 0 3px rgba(19, 68, 134, .18); }
.mf-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9rem; line-height: 1.5; align-items: start; }
.mf-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--mf-navy-700); }
.mf-hp { position: absolute !important; left: -9999px !important; }
.mf-alert { padding: 14px 18px; border-radius: var(--mf-radius-sm); margin: 0 0 18px; font-weight: 600; }
.mf-alert--ok { background: #e7f5ec; color: #185c34; border: 1px solid #b9e0c8; }
.mf-alert--err { background: #fdecea; color: #8c1d18; border: 1px solid #f5c2bd; }
.mf-form .mf-btn { justify-self: start; }

/* ---------- Footer ---------- */
.mf-footer { background: var(--mf-navy-900); color: #b9c3d8; font-size: .95rem; padding: 64px 0 0; }
.mf-footer a { color: #dfe6f3; text-decoration: none; }
.mf-footer a:hover { color: #fff; text-decoration: underline; }
.mf-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 960px) { .mf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mf-footer__grid { grid-template-columns: 1fr; } }
.mf-footer__logo img { height: 56px; width: auto; margin-bottom: 18px; }
.mf-footer__about { max-width: 34ch; margin: 0 0 18px; }
.mf-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.mf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mf-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.mf-footer__contact svg { width: 18px; height: 18px; color: var(--mf-gold); margin-top: 3px; }
.mf-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; color: #97a3bd; }
.mf-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mf-footer__legal button { background: none; border: 0; padding: 0; color: #dfe6f3; font: inherit; cursor: pointer; }
.mf-footer__legal button:hover { color: #fff; text-decoration: underline; }
.mf-kunye { font-size: .82rem; color: #8995ae; margin-top: 6px; }

/* ---------- Mobil eylem çubuğu ---------- */
.mf-actionbar { display: none; }
@media (max-width: 768px) {
  .mf-actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--mf-line); box-shadow: 0 -6px 20px rgba(17, 23, 53, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mf-actionbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font-size: .75rem; font-weight: 650; color: var(--mf-ink) !important; text-decoration: none !important; }
  .mf-actionbar a + a { border-left: 1px solid var(--mf-line); }
  .mf-actionbar svg { width: 22px; height: 22px; color: var(--mf-navy-700); }
  .mf-actionbar a.is-wa svg { color: #1a8d4f; }
  body.mf-site { padding-bottom: 64px; }
}

/* ---------- Çerez bildirimi ---------- */
.mf-consent {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
  background: #fff; color: var(--mf-text); border: 1px solid var(--mf-line); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-lg);
  padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; font-size: .92rem; line-height: 1.55;
}
.mf-consent[hidden] { display: none; }
.mf-consent p { margin: 0; }
.mf-consent strong { color: var(--mf-ink); display: block; margin-bottom: 4px; font-size: 1rem; }
.mf-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mf-consent .mf-btn { min-height: 42px; padding: .55em 1.1em; font-size: .92rem; }
@media (max-width: 640px) { .mf-consent { grid-template-columns: 1fr; bottom: 76px; } .mf-consent__actions .mf-btn { flex: 1; } }

/* ---------- 404 ---------- */
.mf-404 { text-align: center; }
.mf-404 .mf-hero h1, .mf-404 .mf-hero__lead { margin-inline: auto; }
.mf-404 .mf-actions { justify-content: center; }

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .mf-header, .mf-footer, .mf-actionbar, .mf-consent, .mf-cta { display: none !important; }
  .mf-hero { background: none !important; color: #000; padding: 0 0 16px; }
  .mf-hero::before, .mf-hero::after { display: none; }
  .mf-hero h1 { color: #000; }
}

/* ---------- Eklenti bileşenleri ---------- */
.mf-form__title { font-size: 1.35rem; margin: 0; }
.mf-map__placeholder .mf-actions { justify-content: center; margin-top: 12px; }

/* ---------- Dil seçici ---------- */
.mf-lang__btn .mf-lang__globe { width: 17px; height: 17px; transform: none !important; }
.mf-lang__ad { display: none; }
.mf-lang__list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; min-width: 190px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); box-shadow: var(--mf-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--mf-ease), visibility 0s .18s;
}
.mf-nav__item.is-open > .mf-lang__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mf-lang__list a { display: block; padding: 8px 12px; border-radius: var(--mf-radius-sm); color: var(--mf-ink); text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.mf-lang__list a:hover, .mf-lang__list a[aria-current] { background: var(--mf-surface); color: var(--mf-navy-700); }
.mf-lang__list a[aria-current] { font-weight: 700; }
@media (max-width: 1080px) {
  .mf-lang__kisa { display: none; }
  .mf-lang__ad { display: inline; margin-right: auto; }
  .mf-lang__btn { gap: 10px; }
  .mf-lang__list { position: static; display: none; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mf-nav__item.is-open > .mf-lang__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
}
.mf-footer__langs { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.mf-footer__langs svg { width: 18px; height: 18px; color: var(--mf-gold); flex: none; }
.mf-footer__langs ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mf-footer__langs a[aria-current] { color: #fff; font-weight: 700; }
.mf-footer__langs + .mf-footer__legal { margin-top: 20px; }

/* ---------- Çince ve Hintçe yazı: sistemin yazı tipleri (Montserrat bu alfabeleri içermez) ---------- */
html:lang(zh) { --mf-font: "Montserrat", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif; }
html:lang(hi) { --mf-font: "Montserrat", "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; }
html:lang(hi) body.mf-site { line-height: 1.85; }
html:lang(zh) .mf-site h1, html:lang(zh) .mf-site h2, html:lang(zh) .mf-site h3, html:lang(zh) .mf-site h4 { line-height: 1.35; letter-spacing: 0; }
html:lang(hi) .mf-site h1, html:lang(hi) .mf-site h2, html:lang(hi) .mf-site h3, html:lang(hi) .mf-site h4 { line-height: 1.45; letter-spacing: 0; }
html:lang(zh) .mf-eyebrow, html:lang(zh) .mf-kicker, html:lang(zh) .mf-mega__title, html:lang(zh) .mf-footer h2, html:lang(zh) .mf-contact-list small,
html:lang(hi) .mf-eyebrow, html:lang(hi) .mf-kicker, html:lang(hi) .mf-mega__title, html:lang(hi) .mf-footer h2, html:lang(hi) .mf-contact-list small { letter-spacing: 0; }

/* Menü etiketleri masaüstünde tek satır; dar masaüstünde (uzun çeviri etiketleri için) aralıklar daralır. */
@media (min-width: 1081px) {
  .mf-nav__link { white-space: nowrap; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .mf-header__inner { gap: 16px; }
  .mf-nav__link { padding: 10px 8px; font-size: .94rem; }
  .mf-header__cta { margin-left: 4px; }
  .mf-header__cta .mf-btn { padding: .6em .9em; }
}
/* Teklif düğmesi tek satır (uzun çeviri etiketleri dar masaüstünde ikiye bölünmesin). */
@media (min-width: 1081px) {
  .mf-header__cta .mf-btn { white-space: nowrap; }
}
