/* ARD GARAGE · genel site. Renkler alan adlarıyla tanımlı; Vermilyon yalnızca CTA, seçili durum ve küçük vurgular için. */
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --graphite: #121416;
  --paper: #F1F2F0;
  --titanium: #848B91;
  --vermilion: #D94C36;

  --background: var(--paper);
  --surface: #FFFFFF;
  --text: #121416;
  --muted: #555C62;          /* titanyumun açık zeminde 4.5:1 geçen koyu ara tonu */
  --border: rgba(18, 20, 22, .16);
  --accent: var(--vermilion);
  --action: #B93B27;         /* beyaz yazıyla 4.5:1 geçen eylem tonu */
  --action-hover: #A23120;

  --on-dark: var(--paper);
  --on-dark-muted: #A4AAAF;
  --border-dark: rgba(241, 242, 240, .16);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --header-h: 76px;
  --bar-h: 68px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 17px/1.6 var(--font-body); color: var(--text); background: var(--background); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }   /* hiçbir bağlantıda alt çizgi yok; ayrım "Etkileşim dili" bölümünde */
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 3px; }
main:focus { outline: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--graphite); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Tipografi ---- */
.display, .h1, .h2, .h2--lg, .brand-text, .footer-brand, .svc-title, .step-no, .notfound-code { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; line-height: .95; }
.display { font-size: clamp(3.4rem, 11vw, 7rem); line-height: .9; }
.h1 { font-size: clamp(2.25rem, 8.4vw, 5rem); overflow-wrap: break-word; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; }
.h2--lg { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.h2--sm { font-size: 1.75rem; margin-bottom: 20px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 62ch; color: inherit; margin-top: 20px; }
.eyebrow { font: 500 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.prose { max-width: 66ch; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
/* Yasal metinler (Aydınlatma, Gizlilik, Çerez): uzun, listeli metin; madde işareti ve ferah satır aralığı yalnızca burada. */
.prose--legal { max-width: 72ch; }
.prose--legal h2 { font-size: 1.5rem; line-height: 1.1; margin: 34px 0 0; }
.prose--legal p, .prose--legal ul { margin-top: 12px; }
.prose--legal ul { padding-left: 1.25em; list-style: disc; }
.prose--legal li + li { margin-top: 8px; }
.prose--legal li::marker { color: var(--vermilion); }

/* ---- Düğmeler (hover davranışı "Etkileşim dili" bölümünde) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--action); color: #fff; font: 500 1rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; border: 1px solid var(--action); border-radius: 4px; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--border-dark); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--border); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-weight: 500; text-decoration: none; }
.text-link--lg { font-size: 1.1rem; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); color: var(--on-dark); border-bottom: 1px solid var(--border-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand-text { font-size: 1.7rem; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-toggle { display: none; min-height: 44px; min-width: 44px; padding: 0 14px; background: transparent; color: var(--on-dark); border: 1px solid var(--border-dark); border-radius: 4px; font: 500 .95rem var(--font-body); cursor: pointer; }

/* ---- Hero ---- */
.hero { position: relative; background: var(--graphite); color: var(--on-dark); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,22,.62) 0%, rgba(18,20,22,.18) 55%, rgba(18,20,22,0) 100%); }
.hero-inner { position: relative; z-index: 1; min-height: min(78svh, 760px); display: flex; align-items: flex-end; padding-block: clamp(48px, 10vh, 120px) clamp(40px, 8vh, 96px); }
.hero-copy { max-width: 640px; }
.hero-lead { font: 500 clamp(1.25rem, 2.6vw, 1.7rem)/1.2 var(--font-body); margin-top: 28px; }
.hero-sub { color: var(--on-dark-muted); margin-top: 8px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--on-dark-muted); }
.hero-pending { position: absolute; right: var(--gutter); bottom: 40px; z-index: 1; text-align: right; font: 500 .75rem/1.5 var(--font-body); letter-spacing: .1em; color: var(--titanium); border-right: 2px solid var(--vermilion); padding-right: 12px; }

/* ---- Bölümler ---- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--paper { background: var(--background); }
.section--dark { background: var(--graphite); color: var(--on-dark); }
.section--line { background: var(--background); border-top: 1px solid var(--border); padding-block: clamp(40px, 6vw, 80px); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.section-cta { margin-top: 40px; }
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 80px); }
.page-head--dark { background: var(--graphite); color: var(--on-dark); }
.page-head .btn { margin-top: 28px; }

.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; opacity: .6; }
.crumbs [aria-current] { color: var(--on-dark); }

/* ---- Hizmet listesi ---- */
.svc-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-layout--full { grid-template-columns: 1fr; }
.svc-list { border-top: 1px solid var(--border); }
.svc-row { border-bottom: 1px solid var(--border); }
.svc-link { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 20px; align-items: baseline; padding: 24px 0; }   /* satırın tamamı tek bağlantı */
.svc-no { font: 500 .85rem/1 var(--font-body); color: var(--muted); letter-spacing: .08em; }
.svc-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.svc-body p { color: var(--muted); margin-top: 6px; max-width: 52ch; }
.svc-more { display: inline-flex; align-items: center; align-self: center; gap: 12px; font-weight: 500; }
.svc-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.svc-list--full .svc-link { padding-block: 28px; }

/* ---- Medya ---- */
.media { margin: 0; overflow: hidden; background: #1c1f22; border-radius: 4px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--pending { display: grid; place-items: center; text-align: center; border: 1px dashed var(--titanium); background: repeating-linear-gradient(135deg, rgba(132,139,145,.08) 0 12px, transparent 12px 24px); color: var(--muted); font: 500 .8rem/1.5 var(--font-body); letter-spacing: .1em; }
.media--pending small { display: block; margin-top: 6px; letter-spacing: .02em; font-weight: 400; text-transform: none; }
.pending { font: 500 .8rem/1.5 var(--font-body); letter-spacing: .06em; color: var(--vermilion); }
.section--paper .pending, .page-head .pending { color: #A23120; }

/* ---- Süreç ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); }
.steps li { padding: 28px 24px 8px 0; border-right: 1px solid var(--border); padding-left: 24px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.step-no { display: block; font-size: 3.4rem; color: var(--accent); margin-bottom: 16px; }
.steps h3 { font: 500 1.15rem/1.3 var(--font-body); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ---- Marine: daha yatay, ferah, açık zemin ---- */
.section--marine { background: #E3E6E7; padding-block: clamp(72px, 10vw, 150px); }
.marine-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.marine-copy .h2 { margin-bottom: 20px; }
.marine-lead { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.marine-copy p { max-width: 44ch; }
.marine-copy .text-link { margin-top: 24px; }
.marine-media { width: 100%; }

/* ---- SSS ---- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { font: inherit; }
.faq-q button { width: 100%; text-align: left; background: none; border: 0; padding: 22px 48px 22px 0; font: 500 1.15rem/1.35 var(--font-body); color: inherit; cursor: pointer; position: relative; min-height: 56px; }
.faq-q button::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq-q button[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 48px 24px 0; color: var(--muted); max-width: 68ch; }
.js .faq-a[hidden] { display: none; }

/* ---- CTA / İletişim ---- */
.cta-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.section--cta p { color: var(--on-dark-muted); max-width: 48ch; margin: 18px 0 28px; }
.section--cta .h2 { margin-bottom: 0; }
.contact-facts { display: grid; gap: 18px; }
.contact-facts dt { font: 500 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.contact-facts dd { font-size: 1.1rem; }
.contact-facts--light dt { color: var(--muted); }
.contact-facts--light { margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid .btn { margin-right: 10px; margin-top: 10px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 400; font-variant-numeric: tabular-nums; }
.hours th { color: var(--muted); }
.map { margin-top: 28px; }
.map iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 4px; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---- Detay sayfaları ---- */
.detail-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.related li { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.related li:last-child { border-right: 0; }
.related a { display: block; padding: 22px 24px 22px 0; text-decoration: none; }
.related li + li a { padding-left: 24px; }
.related strong { display: block; font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; margin-bottom: 6px; }
.related span { color: var(--muted); font-size: .95rem; }

/* ---- 404 ---- */
.notfound { background: var(--graphite); color: var(--on-dark); padding-block: clamp(64px, 14vw, 180px); }
.notfound-code { font-size: clamp(6rem, 22vw, 14rem); color: var(--titanium); line-height: .8; margin-bottom: 24px; }
.notfound-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* ---- Form ---- */
.form-shell { max-width: 760px; }
.form-grid { display: grid; gap: 28px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .legend, fieldset > legend { font-weight: 500; font-size: .98rem; }
.hint { color: var(--muted); font-size: .9rem; }
.req { color: var(--action); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--text); background: #fff; border: 1px solid #8a9096; border-radius: 4px; }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--action); border-width: 2px; }
.error-text { color: #A23120; font-weight: 500; font-size: .92rem; }
.error-summary { border: 2px solid var(--action); padding: 16px 20px; border-radius: 4px; background: #fff; }
.error-summary ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-list { display: grid; gap: 4px; margin-top: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; cursor: pointer; }
.choice input { width: 22px; height: 22px; accent-color: var(--action); flex: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
/* Form içindeki KVKK/pazarlama onay alanı. Sınıf adı bilerek .consent DEĞİL: .consent çerez bannerının sabit konumlu kutusudur
   ve aynı ad formdaki onay kutularını ekrana sabitleyip (mobilde kapatılamayan, gönder düğmesini örten bir kart) bozuyordu. */
.consent-field { border-top: 1px solid var(--border); padding-top: 20px; }
.file-list { font-size: .9rem; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: var(--graphite); color: var(--on-dark); padding-top: clamp(48px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-size: 2rem; }
.footer-claim { color: var(--on-dark-muted); margin-top: 10px; }
.footer-links { display: grid; gap: 2px; }
.footer-links a, .footer-contact a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-contact p + p { margin-top: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--border-dark); color: var(--on-dark-muted); font-size: .9rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-credit { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--border-dark); font-size: .85rem; }

/* ---- Mobil sabit şerit ---- */
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .svc-layout, .marine-grid, .faq-grid, .cta-grid, .detail-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .svc-visual { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--border); padding-left: 0; padding-bottom: 24px; }
  .related { grid-template-columns: 1fr; }
  .related li { border-right: 0; }
  .related li + li a { padding-left: 0; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--graphite); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--border-dark); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border-dark); }
  .site-nav .nav-cta { margin-top: 16px; }
  .hero-inner { min-height: min(72svh, 620px); }
  .hero-pending { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--graphite); border-top: 1px solid var(--border-dark); }
  .mobile-bar--single { grid-template-columns: 1fr; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  body.no-bar { padding-bottom: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .svc-link { grid-template-columns: 36px 1fr; }
  .svc-more { grid-column: 2; justify-self: start; }
  .faq-q button { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- CMS görselleri, proje arşivi, galeri, önizleme ---- */
.cms-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }
@media (max-width: 700px) { .cms-img { object-position: var(--mfx, 50%) var(--mfy, 50%); } }
.hero .hero-img.cms-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { display: contents; }
.preview-bar { position: sticky; top: 0; z-index: 90; background: var(--vermilion); color: #fff; text-align: center; padding: 8px var(--gutter); font-weight: 500; }
.preview-bar a { color: #fff; }
.muted { color: var(--muted); }
.section--projects .section-head .h2 { color: var(--on-dark); }
.proj-strip { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.proj { display: block; text-decoration: none; }
.proj .media { aspect-ratio: 4 / 5; }
.proj--wide .media { aspect-ratio: 4 / 3; }
.proj h3 { font: 700 1.5rem/1.1 var(--font-display); text-transform: uppercase; margin-top: 14px; }
.muted-d { color: var(--on-dark-muted); font-size: .95rem; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; font-weight: 500; }
.chip.is-on, .chip:hover { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.proj-grid li a { display: block; text-decoration: none; }
.proj-grid .proj-wide { grid-column: 1 / -1; }
.proj-grid .media { aspect-ratio: 4 / 3; }
.proj-grid .proj-wide .media { aspect-ratio: 16 / 7; }
.proj-grid h2 { font: 700 1.7rem/1.1 var(--font-display); text-transform: uppercase; margin: 14px 0 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display: block; }
.gallery .media { aspect-ratio: 4 / 3; position: relative; }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding-top: 6px; background: transparent; }
@media (max-width: 960px) { .proj-strip, .gallery { grid-template-columns: 1fr 1fr; } .proj-strip .proj--wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .proj-strip, .gallery, .proj-grid { grid-template-columns: 1fr; } }

/* ---- Çerez tercihi ve ölçüm hata ayıklama ---- */
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--graphite); color: var(--on-dark); border: 1px solid var(--border-dark); border-radius: 6px; padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.consent[hidden] { display: none; }
.consent:focus { outline: 3px solid var(--vermilion); outline-offset: 2px; }
.consent-title { font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; }
.consent-text { font-size: .95rem; line-height: 1.5; color: var(--on-dark); }
.consent-text a { color: var(--on-dark); }
.consent-opts { display: grid; gap: 12px; margin-top: 14px; }
.consent-opt { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; line-height: 1.4; cursor: pointer; }
.consent-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vermilion); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.consent-actions .btn { flex: 1 1 140px; }
.consent-actions .btn[hidden] { display: none; }
.consent-manage { background: none; border: 0; color: var(--on-dark); font: inherit; cursor: pointer; min-height: 44px; padding: 0 6px; }
@media (max-width: 700px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 6px 6px 0 0; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); max-height: 82vh; }
}
#measure-debug { position: fixed; right: 8px; top: 8px; z-index: 95; max-width: min(560px, calc(100vw - 16px)); max-height: 60vh; overflow: auto; margin: 0; padding: 10px 12px; background: #0b0c0d; color: #d6ffd9; font: 12px/1.45 ui-monospace, Consolas, monospace; white-space: pre-wrap; border: 1px solid #2c8a3a; border-radius: 4px; }
.consent [hidden] { display: none !important; }

/* =====================================================================================================================
   Hareket ve derinlik katmanı
   İlkeler: yalnızca transform/translate/scale ve opacity animasyonu (yerleşimi tetikleyen özellik yok); özel yavaşlama eğrileri;
   her giriş hareketi tek seferlik ve hafif; hover/focus 160–240 ms. JS yoksa içerik hiç gizlenmez (gizleme yalnızca site.js'den gelir).
   prefers-reduced-motion'da her şey kapanır. Brief gereği: kayan yazı, noise, fare izleyen ışık, scroll hijacking YOK.
   ===================================================================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);       /* ağır, yumuşak duruş */
  --ease-spring: cubic-bezier(.32, .72, 0, 1);   /* fiziksel his: düğme, kart, menü */
  --ring-a: rgba(18, 20, 22, .05);
  --ring-b: rgba(18, 20, 22, .13);
}
.section--dark, .page-head--dark, .notfound { --ring-a: rgba(241, 242, 240, .05); --ring-b: rgba(241, 242, 240, .15); }

@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes line-up { from { translate: 0 108%; } to { translate: 0 0; } }
@keyframes hero-settle { from { scale: 1.26; } to { scale: 1.12; } }
@keyframes hero-drift { from { translate: 0 0; } to { translate: 0 6%; } }
@keyframes px-drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
@keyframes progress { to { transform: scaleX(1); } }

/* ---- Başlık: kaydırınca cam yüzey ---- */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; visibility: hidden; }
.site-header { transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out); }
.site-header.is-scrolled { background: rgba(18, 20, 22, .96); border-bottom-color: rgba(241, 242, 240, .1); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(18, 20, 22, .78); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
}

/* ---- Hero: açılışta ağır bir oturma; satır maskesi ile başlık; kaydırınca hafif paralaks ---- */
.hero-img { transform-origin: 70% 50%; scale: 1.12; animation: hero-settle 2.4s var(--ease-out) both; will-change: scale; }
.display .line { display: block; overflow: hidden; padding: .1em 0 .06em; margin: -.1em 0 -.06em; }
.display .line > span { display: block; animation: line-up 1.2s var(--ease-out) both; }
.display .line:nth-child(1) > span { animation-delay: .1s; }
.display .line:nth-child(2) > span { animation-delay: .24s; }
.display .line:nth-child(3) > span { animation-delay: .38s; }
.hero-lead { animation: rise 1s var(--ease-out) .5s both; }
.hero-sub { animation: rise 1s var(--ease-out) .62s both; }
.hero-actions { animation: rise 1s var(--ease-out) .76s both; }
.hero-note { animation: rise 1s var(--ease-out) .9s both; }
.page-head .wrap > * { animation: rise .95s var(--ease-out) both; }
.page-head .wrap > :nth-child(2) { animation-delay: .08s; }
.page-head .wrap > :nth-child(3) { animation-delay: .18s; }
.page-head .wrap > :nth-child(n+4) { animation-delay: .28s; }
.notfound .wrap > * { animation: rise .95s var(--ease-out) both; }
.notfound .wrap > :nth-child(2) { animation-delay: .1s; }
.notfound .wrap > :nth-child(n+3) { animation-delay: .2s; }

@supports (animation-timeline: scroll()) {
  .hero-img { animation: hero-settle 2.4s var(--ease-out) both, hero-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0px 90vh; }
  body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--vermilion); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; animation: progress linear both; animation-timeline: scroll(root); }
}
@supports (animation-timeline: view()) {
  .marine-media img, .detail-media .media img { transform: scale(1.14); animation: px-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

/* ---- Girişler: aşağı indikçe bir kez, hafifçe yükselerek belirir (site.js yalnızca ekran altındakilere .rv ekler) ---- */
.rv { opacity: 0; translate: 0 38px; transition: opacity .9s var(--ease-out), translate 1.15s var(--ease-out); transition-delay: var(--d, 0ms); }
.rv.is-in { opacity: 1; translate: 0 0; }
.rv .media img, .rv.media img { scale: 1.16; transition: scale 1.8s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms), 0ms; }
.rv.is-in .media img, .rv.media.is-in img { scale: 1; }

/* ---- Derinlik: çift çerçeve (dış kabuk + iç çekirdek, eşmerkezli köşeler) ---- */
.media { position: relative; border-radius: 6px; box-shadow: 0 0 0 5px var(--ring-a), 0 0 0 6px var(--ring-b); }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.media--pending { box-shadow: none; }
.media--pending::after { display: none; }
.proj .media img, .proj-grid .media img, .gallery .media img { transition: transform 1.1s var(--ease-out); }

/* ---- Bölüm başlığı: küçük etiket ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border: 1px solid var(--border); border-radius: 4px; line-height: 1; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.section--dark .eyebrow, .page-head--dark .eyebrow { border-color: var(--border-dark); color: var(--on-dark-muted); }

.svc-visual img { transition: opacity .2s var(--ease); }
.svc-visual img.is-swap { opacity: 0; }

/* ---- Süreç: üst çizgi çizilir, adımlar sırayla gelir ---- */
.steps { border-top: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--graphite); opacity: .55; transform-origin: 0 50%; transition: transform 1.5s var(--ease-out); }
.steps.rv-line::before { transform: scaleX(0); }
.steps.rv-line.is-in::before { transform: scaleX(1); }

/* ---- SSS: gerçek yükseklik animasyonu yerine satır oranı (grid 0fr→1fr); kapalı cevap odaklanamaz ---- */
.js .faq-a { display: grid; grid-template-rows: 0fr; padding: 0; visibility: hidden; transition: grid-template-rows .55s var(--ease-out), visibility 0s linear .55s; }
.js .faq-a > * { overflow: hidden; min-height: 0; padding: 0 48px 0 0; opacity: 0; transition: opacity .4s var(--ease); }
.js .faq-a > *::after { content: ""; display: block; height: 24px; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.js .faq-item.is-open .faq-a > * { opacity: 1; transition-delay: .12s; }
.faq-q button::after { transition: transform .5s var(--ease-spring), color .2s var(--ease); }
@media (hover: hover) { .faq-q button:hover::after { color: var(--action); } }

/* ---- Son çağrı: sağ altta çok hafif sıcak ışık (statik, fare izlemez) ---- */
.section--cta { background: radial-gradient(70% 95% at 90% 115%, rgba(217, 76, 54, .2), transparent 64%), var(--graphite); }

/* ---- Mobil menü: çizgiler X'e dönüşür, panel yumuşak açılır, bağlantılar sırayla gelir ---- */
@media (max-width: 820px) {
  .nav-toggle { position: relative; padding: 0 44px 0 14px; transition: background-color .22s var(--ease); }
  .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; right: 14px; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .5s var(--ease-spring); }
  .nav-toggle::before { top: calc(50% - 5px); }
  .nav-toggle::after { top: calc(50% + 3px); }
  .nav-toggle[aria-expanded="true"]::before { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"]::after { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { display: flex; visibility: hidden; opacity: 0; translate: 0 -12px; pointer-events: none; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); transition: opacity .35s var(--ease-out), translate .6s var(--ease-out), visibility 0s linear .6s; }
  .site-nav.is-open { visibility: visible; opacity: 1; translate: 0 0; pointer-events: auto; transition-delay: 0s; }
  .site-nav > * { opacity: 0; translate: 0 18px; transition: opacity .5s var(--ease-out), translate .65s var(--ease-out); }
  .site-nav.is-open > * { opacity: 1; translate: 0 0; }
  .site-nav.is-open > :nth-child(1) { transition-delay: .06s; }
  .site-nav.is-open > :nth-child(2) { transition-delay: .11s; }
  .site-nav.is-open > :nth-child(3) { transition-delay: .16s; }
  .site-nav.is-open > :nth-child(4) { transition-delay: .21s; }
  .site-nav.is-open > :nth-child(5) { transition-delay: .26s; }
  /* JS yoksa menü düğmesi çalışmaz: bağlantılar akışta görünür kalır */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; translate: none; pointer-events: auto; box-shadow: none; width: 100%; }
  html:not(.js) .site-nav > * { opacity: 1; translate: none; }
}

@media print { .rv, .rv.is-in { opacity: 1; translate: none; } body::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.is-in, .site-nav > *, .js .faq-a > * { opacity: 1 !important; translate: none !important; }
  .hero-img { scale: 1; }
  body::before { display: none; }
}

/* =====================================================================================================================
   Etkileşim dili — hiçbir bağlantıda alt çizgi yok; üç ayrı hover ailesi:
   1) DÜĞME    (.btn)                  dolgu soldan süpürür, ok rozeti çapraz yer değiştirir, basınca küçülür
   2) BAĞLANTI (menü, alt menü, yol izi, .text-link, satır/kart oku)  işaret karesi + renk; ok rozeti dolar
   3) METİN    (kart başlıkları; gövde içi bağlantılar)   başlıkta renk süpürmesi, gövde içinde vurgu zemini süpürmesi
   Hover yalnızca fare/trackpad'de (hover: hover); klavye odağı :focus-visible ile aynı animasyonu alır.
   Yalnızca transform/translate/scale, opacity ve renk animasyonlanır. prefers-reduced-motion'da hepsi anlıktır.
   ===================================================================================================================== */
:root {
  --action-deep: #8E2918;                    /* beyaz yazıyla ~9:1; düğme dolgusu ve gövde içi bağlantı hover metni */
  --lk: var(--action);                       /* gövde içi bağlantı rengi: krem zeminde 5:1 */
  --lk-h: var(--action-deep);
  --lk-tint: rgba(185, 59, 39, .13);
  --lk-line: rgba(18, 20, 22, .3);
  --lk-fill: var(--action);
  --sw-a: var(--text);                       /* metin süpürmesi: dinlenme rengi */
  --sw-b: var(--action);                     /* ... ve hover rengi */
  --row-tint: rgba(18, 20, 22, .045);
}
.section--dark, .page-head--dark, .hero, .notfound, .site-footer, #consent {
  --lk: #F2907F; --lk-h: #F7A99A; --lk-tint: rgba(242, 144, 127, .16); --lk-line: rgba(241, 242, 240, .34); --lk-fill: var(--accent);
  --sw-a: var(--on-dark); --sw-b: var(--accent); --row-tint: rgba(241, 242, 240, .06);
}
.preview-bar { --lk: #fff; --lk-h: #fff; --lk-tint: rgba(255, 255, 255, .24); }

/* ---- Ok rozeti: iki ok; hover'da ilki sağ üste çıkar, ikincisi sol alttan girer ---- */
.btn-ico, .lk-ico, .go { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; border-radius: 6px; }
.btn-ico svg, .lk-ico svg, .go svg { grid-area: 1 / 1; display: block; transition: translate .65s var(--ease-spring); }
.btn-ico svg + svg, .lk-ico svg + svg, .go svg + svg { translate: -190% 190%; }
.btn-ico { width: 36px; height: 36px; margin: 0 -24px 0 20px; background: rgba(255, 255, 255, .18); background: color-mix(in srgb, currentColor 18%, transparent); transition: background-color .35s var(--ease-out); }
.lk-ico { width: 30px; height: 30px; border: 1px solid var(--lk-line); transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), color .4s var(--ease-out); }
.go { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; background: var(--graphite); color: var(--paper); border: 1px solid rgba(241, 242, 240, .22); transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), color .4s var(--ease-out); }
.go--inline { position: static; z-index: auto; display: grid; width: 34px; height: 34px; margin-top: 16px; background: transparent; color: inherit; border-color: var(--lk-line); }

/* ---- 1) DÜĞME ---- */
.btn { position: relative; isolation: isolate; overflow: hidden; --fill: var(--action-deep); transition: color .4s var(--ease-out), border-color .4s var(--ease-out), transform .4s var(--ease-spring); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .65s var(--ease-out); }
.btn-ghost { --fill: var(--on-dark); }
.btn-ghost-dark { --fill: var(--graphite); }
.btn:active { transform: scale(.975); }

/* ---- 2) BAĞLANTI: menü ---- */
.site-nav a:not(.btn) { position: relative; color: var(--on-dark-muted); transition: color .35s var(--ease-out); }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--accent); scale: 0; transition: scale .5s var(--ease-spring); }
.site-nav a[aria-current="page"], .site-nav a:not(.btn):focus-visible { color: var(--on-dark); }
.site-nav a[aria-current="page"]::after, .site-nav a:not(.btn):focus-visible::after { scale: 1; }
@media (max-width: 820px) {
  .site-nav a:not(.btn) { color: var(--on-dark); }
  .site-nav a:not(.btn)::after { left: auto; right: 2px; bottom: auto; top: 50%; margin: -2.5px 0 0; }
}

/* ---- 2) BAĞLANTI: alt menü ve yol izi ---- */
.footer-links a, .footer-contact a, .footer-legal li a { position: relative; transition: translate .55s var(--ease-spring), color .3s var(--ease-out); }
.footer-links a::before, .footer-contact a::before, .footer-legal li a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--accent); scale: 0; transition: scale .45s var(--ease-spring); }
.crumbs a { transition: color .3s var(--ease-out); }

/* ---- 3) METİN: gövde içi bağlantılar — renkli, alt çizgisiz; hover'da vurgu zemini soldan dolar ---- */
.prose a, .faq-a a, .contact-facts a, .consent-text a, .form-shell a:not(.btn), .error-summary a, .footer-credit a, .map-note a, .preview-bar a, .link-btn, .consent-manage {
  color: var(--lk); font-weight: 500; text-decoration: none;
  padding: 0 .18em; margin: 0 -.18em; border-radius: 3px;
  background: linear-gradient(var(--lk-tint), var(--lk-tint)) 0 0 / 0% 100% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .6s var(--ease-out), color .3s var(--ease-out);
}

/* ---- 3) METİN: kart başlıkları — renk soldan süpürülür ---- */
.proj h3, .proj-grid h2, .related strong { transition: translate .55s var(--ease-spring); }
.svc-body { transition: translate .6s var(--ease-spring); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .svc-title, .proj h3, .proj-grid h2, .related strong {
    color: transparent;
    background-image: linear-gradient(90deg, var(--sw-b) 0 50%, var(--sw-a) 50% 100%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
  }
  .svc-title { transition: background-position .7s var(--ease-out); }
  .proj h3, .proj-grid h2, .related strong { transition: background-position .7s var(--ease-out), translate .55s var(--ease-spring); }
}
@media (forced-colors: active) { .svc-title, .proj h3, .proj-grid h2, .related strong { color: CanvasText; background: none; } }
@media print { .svc-title, .proj h3, .proj-grid h2, .related strong { color: #000; background: none; } }

/* ---- Kartlar: hizmet satırı (tamamı bağlantı) ---- */
.svc-row { position: relative; isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 4px; background: var(--row-tint); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .75s var(--ease-out); pointer-events: none; }
.svc-no { transition: color .35s var(--ease-out); }

/* ---- Hover / odak (yalnızca fare ve klavye) ---- */
@media (hover: hover) {
  /* düğme */
  .btn:not(:disabled):is(:hover, :focus-visible)::before { transform: scaleX(1); transform-origin: 0 50%; }
  .btn:not(:disabled):is(:hover, :focus-visible) { border-color: var(--fill); }
  .btn-ghost:not(:disabled):is(:hover, :focus-visible) { color: var(--graphite); }
  .btn-ghost-dark:not(:disabled):is(:hover, :focus-visible) { color: var(--paper); }
  .btn:is(:hover, :focus-visible) .btn-ico { background: rgba(255, 255, 255, .26); background: color-mix(in srgb, currentColor 26%, transparent); }

  /* ok rozetleri: eski ok çıkar, yeni ok girer */
  :is(.btn, .text-link, .svc-link, .proj, .proj-grid li > a, .related a):is(:hover, :focus-visible) :is(.btn-ico, .lk-ico, .go) svg:first-child { translate: 190% -190%; }
  :is(.btn, .text-link, .svc-link, .proj, .proj-grid li > a, .related a):is(:hover, :focus-visible) :is(.btn-ico, .lk-ico, .go) svg:last-child { translate: 0 0; }
  :is(.text-link, .svc-link):is(:hover, :focus-visible) .lk-ico,
  .related a:is(:hover, :focus-visible) .go--inline { background: var(--lk-fill); border-color: var(--lk-fill); color: #fff; }
  :is(.proj, .proj-grid li > a):is(:hover, :focus-visible) .go { background: var(--action); border-color: var(--action); color: #fff; }

  /* menü */
  .site-nav a:not(.btn):hover { color: var(--on-dark); }
  .site-nav a:not(.btn):hover::after { scale: 1; }
  /* alt menü ve yol izi */
  .footer-links a:is(:hover, :focus-visible), .footer-contact a:is(:hover, :focus-visible), .footer-legal li a:is(:hover, :focus-visible) { translate: 14px 0; color: var(--on-dark); }
  .footer-links a:is(:hover, :focus-visible)::before, .footer-contact a:is(:hover, :focus-visible)::before, .footer-legal li a:is(:hover, :focus-visible)::before { scale: 1; }
  .crumbs a:is(:hover, :focus-visible) { color: var(--on-dark); }

  /* gövde içi bağlantı */
  .prose a:is(:hover, :focus-visible), .faq-a a:is(:hover, :focus-visible), .contact-facts a:is(:hover, :focus-visible), .consent-text a:is(:hover, :focus-visible),
  .form-shell a:not(.btn):is(:hover, :focus-visible), .error-summary a:is(:hover, :focus-visible), .footer-credit a:is(:hover, :focus-visible), .map-note a:is(:hover, :focus-visible),
  .preview-bar a:is(:hover, :focus-visible), .link-btn:is(:hover, :focus-visible), .consent-manage:is(:hover, :focus-visible) { background-size: 100% 100%; color: var(--lk-h); }

  /* kart başlıkları ve görseller */
  .svc-link:is(:hover, :focus-visible) .svc-title, .proj:is(:hover, :focus-visible) h3, .proj-grid li > a:is(:hover, :focus-visible) h2, .related a:is(:hover, :focus-visible) strong { background-position: 0 0; }
  .proj:is(:hover, :focus-visible) h3, .proj-grid li > a:is(:hover, :focus-visible) h2, .related a:is(:hover, :focus-visible) strong { translate: 6px 0; }
  .proj:is(:hover, :focus-visible) .media img, .proj-grid li > a:is(:hover, :focus-visible) .media img, .gallery a:is(:hover, :focus-visible) .media img { transform: scale(1.05); }

  /* hizmet satırı */
  .svc-row:is(:hover, :focus-within)::before { transform: scaleX(1); transform-origin: 0 50%; }
  .svc-link:is(:hover, :focus-visible) .svc-body { translate: 10px 0; }
  .svc-link:is(:hover, :focus-visible) .svc-no { color: var(--action); }

  /* filtre çipleri */
  .chip { transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out); }
}
