/* VIA PORTAL — aday sitesi. Sade, açık görünüm (Apple tarzı): açık gri zemin, beyaz kutular, koyu yazı,
   logonun kendi rengi (#1D3C51) düğmelerde, robotun petrol yeşili (#2C5D5B) küçük vurgularda. */
:root {
  --bg: #F5F5F7;
  --tile: #FFFFFF;
  --ink: #1D1D1F;
  --body: #424245;
  --muted: #6E6E73;
  --faint: #86868B;
  --line: #D2D2D7;
  --accent: #1D3C51;
  --accent-dark: #142C3C;
  --accent-2: #2C5D5B;
  --radius: 32px;
  --margin: 48px;
  --nav-h: 52px;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--body); font-family: var(--text); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: 'cv11', 'ss01';
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(29, 60, 81, 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.ph { border: 1px dashed var(--faint); border-radius: 6px; padding: 0 6px; white-space: nowrap; color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }
.nt { text-transform: none; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── Üst menü: buzlu cam ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(245, 245, 247, 0.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; transition: opacity 0.3s ease, visibility 0.3s; }
.logo img { height: 26px; width: auto; }
.site-header.logo-hidden .logo { opacity: 0; visibility: hidden; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--ink); text-decoration: none; opacity: 0.78; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; }
.lang:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); font: 500 13px var(--text); cursor: pointer; align-items: center; gap: 10px; padding: 8px 0; }
.menu-btn .bars { width: 18px; height: 10px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); border-radius: 2px; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; flex-direction: column;
  padding: 0 24px 32px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.mobile-menu ul { list-style: none; margin-top: 24px; }
.mobile-menu li a { display: block; padding: 10px 0; font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.mobile-menu .mm-bottom { margin-top: auto; padding-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Düğmeler ve bağlantılar ── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 980px; font: 500 15px/1.2 var(--text); color: var(--ink);
  background: var(--tile); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { border-color: var(--ink); }
.pill.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.pill.sm { padding: 6px 14px; font-size: 13px; }
.pill.lg { padding: 13px 26px; font-size: 17px; }
.btns { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; }
.more { color: var(--accent); font-size: 17px; text-decoration: none; white-space: nowrap; }
.more span { display: inline-block; transition: transform 0.2s ease; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover span { transform: translateX(3px); }

/* ── Ana sayfa: ilk görünüm. Solda beyaz kutuda logo + robot yan yana, sağda içerik ── */
.hero { padding: calc(var(--nav-h) + 12px) 0 16px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: 64px; align-items: center; }
.hero-visual {
  position: relative; background: var(--tile); border-radius: var(--radius); overflow: hidden;
  height: clamp(500px, calc(100vh - var(--nav-h) - 28px), 920px); height: clamp(500px, calc(100svh - var(--nav-h) - 28px), 920px);
  container-type: size;
}
.hero-pair { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; padding: 0 4cqw 7cqh; }
.hero-logo { align-self: center; flex-shrink: 0; width: min(25cqw, 240px); height: auto; margin-bottom: 4cqh; animation: fade-in 0.8s ease both; }
/* robotun boyu: kutu yüksekliğinin %84'ü, ama logo ile yan yana kutunun genişliğine sığacak kadar (--hr = video boy/en) */
.hero-character { height: min(84cqh, calc(64cqw * var(--hr, 1.5))); display: flex; align-items: flex-end; pointer-events: none; }
.hero-robot-box { position: relative; height: 100%; animation: fade-in 1s ease 0.1s both; }
.hero-robot-box::before {     /* ayak gölgesi */
  content: ''; position: absolute; left: 14%; right: 14%; bottom: -2.4%; height: 5%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}
/* belden yukarı klip: logo sol üstte, robot büyük ve kutunun alt kenarından yükseliyor */
.hero-pair.bust { display: block; padding: 0; }
.hero-pair.bust .hero-logo { position: absolute; left: 7cqw; top: 7cqh; width: min(25cqw, 230px); margin: 0; }
.hero-pair.bust .hero-character { position: absolute; right: 0; bottom: 0; height: min(84cqh, calc(80cqw * var(--hr, 1))); }
.hero-pair.bust .hero-robot-box::before { display: none; }
.hero-robot, .hero-robot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.35s ease; }
.hero-robot-canvas { opacity: 0; }
.hero-robot-box.video-ready .hero-robot-canvas { opacity: 1; }
.hero-robot-box.video-ready .hero-robot { opacity: 0; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes robot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-robot-box, .hero-logo { animation: none; } }

.hero-content { padding: 24px 0; }
.hero-eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-2); margin-bottom: 16px; }
.hero-title { font-weight: 700; font-size: clamp(40px, 3.9vw, 66px); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); max-width: 13ch; }
.hero-text { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.45; color: var(--muted); margin: 22px 0 30px; max-width: 34em; }
.hero-services { margin-top: 48px; }
.hs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.hs-head h2 { font-size: 15px; font-weight: 600; color: var(--muted); }
.hs-head .more { font-size: 15px; }
.hero-services ol { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-services li a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 100%;
  background: var(--tile); border-radius: 18px; padding: 18px 20px; text-decoration: none; color: var(--ink);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hero-services li a:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.hs-n { grid-column: 1; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.hs-t { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.hs-a { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; line-height: 1; color: var(--faint); }

/* Robot bölümleri (ana sayfa): beyaz kutular; dar robot sütunu, geniş metin sütunu; sıra dönüşümlü */
.rsec {
  background: var(--tile); border-radius: var(--radius); margin: 16px 0; overflow: hidden;
  min-height: 80vh; min-height: 80svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
}
.rsec--right { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rsec--right .rsec-robot { order: 2; }
.rsec-robot { height: 100%; min-height: 56vh; display: flex; align-items: center; justify-content: center; position: relative; }
.rsec-img { height: 54vh; width: auto; max-width: 100%; object-fit: contain; animation: robot-float 4.5s ease-in-out infinite; }
.rsec-img.flip { transform: scaleX(-1); animation: robot-float-flip 4.5s ease-in-out infinite; }
@keyframes robot-float-flip { 0%, 100% { transform: scaleX(-1) translateY(0); } 50% { transform: scaleX(-1) translateY(-10px); } }
/* bölümün kendi videosu: poster resim → video ilk kareyi çizince tuval */
.rsec-video { position: relative; height: 68vh; height: 68svh; max-width: 100%; }
.rsec-video .vposter, .rsec-video .vcanvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.35s ease; }
.rsec-video .vcanvas { opacity: 0; }
.rsec-video.video-ready .vcanvas { opacity: 1; }
.rsec-video.video-ready .vposter { opacity: 0; }
.rsec-robot.head { overflow: hidden; height: 80vh; height: 80svh; }
.rsec-robot.head .rsec-img { height: 120vh; align-self: flex-start; margin-top: 7vh; }
.rsec-text { padding: 80px 72px 80px 24px; }
.rsec--right .rsec-text { padding: 80px 24px 80px 72px; }
.rsec-text .para { margin-bottom: 14px; max-width: 560px; font-size: 19px; color: var(--muted); }
.rsec-text .sec-title { margin-bottom: 24px; }
.rsec-text .btns { margin-top: 28px; }

/* Masaüstünde uçan robot katmanı (JS açar: html.rb-on) */
.rb-layer { display: none; position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.rb { position: absolute; left: 0; top: 0; width: 600px; height: 1000px; transform-origin: 0 0; will-change: transform, opacity; }
.rb-shadow { position: absolute; left: 50%; bottom: -16px; width: 320px; height: 48px; margin-left: -160px; opacity: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0)); }
.rb-tilt { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.rb-tilt img { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; }
.rb-tilt img.flip { transform: translateX(-50%) scaleX(-1); }
.rb-tilt canvas { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; }
html.rb-on .rb-layer { display: block; }
html.rb-on .hero-robot-box:not(.static), html.rb-on .rsec-img { visibility: hidden; }

/* ── İç sayfa başlığı ── */
.page-head { padding: calc(var(--nav-h) + 96px) 0 72px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 14px; display: block; }
.page-head .eyebrow { color: var(--accent-2); font-size: 17px; }
.page-title { font-weight: 700; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.03; letter-spacing: -0.035em; color: var(--ink); max-width: 18ch; }
.page-intro { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 700px; margin-top: 24px; color: var(--muted); }

/* ── Bölüm (iki sütun) ── */
.section { border-top: 1px solid var(--line); padding: 96px 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.page-head + .wrap > .section:first-child, .rsec + .section { border-top: 0; }
.section-head { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.sec-num { font-size: 15px; font-weight: 600; color: var(--accent-2); margin-bottom: 12px; }
.sec-title { font-weight: 700; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.section-body > * + * { margin-top: 32px; }
.para { max-width: 680px; }
.para + .para { margin-top: 16px; }

/* ızgara */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-item { background: var(--tile); border-radius: 20px; padding: 24px 26px 28px; }
.grid-item .n { font-size: 13px; font-weight: 600; color: var(--accent-2); }
.grid-item h3, .row h3, .step h3 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 8px 0 8px; }
.grid-item p, .row p, .step p { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* satırlar */
.rows { list-style: none; }
.row { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.row.numbered { grid-template-columns: 56px minmax(0, 1fr); }
.row .rn { font-weight: 600; font-size: 15px; color: var(--accent-2); padding-top: 3px; }
.row h3 { margin-top: 0; }
.rows .row:last-child { border-bottom: 1px solid var(--line); }

/* adımlar */
.steps { list-style: none; }
.step { border-top: 1px solid var(--line); padding: 36px 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.step .sn { font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: var(--accent-2); }
.step h3 { margin-top: 0; font-size: clamp(21px, 2vw, 28px); }
.steps.compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps.compact .step { display: block; padding: 24px 22px 22px; border: 0; background: var(--tile); border-radius: 20px; }
.steps.compact .sn { font-size: 32px; margin-bottom: 14px; }
.steps.compact h3 { font-size: 18px; }
.steps.compact p { font-size: 16px; }

/* etiketler */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { background: var(--tile); border-radius: 980px; padding: 10px 18px; font-size: 15px; line-height: 1.3; color: var(--ink); }
.chips.muted .chip { color: var(--muted); background: none; border: 1px solid var(--line); font-size: 14px; }

/* madde listesi */
.bullets { list-style: none; }
.bullets li { border-top: 1px solid var(--line); padding: 18px 0 18px 30px; position: relative; max-width: 760px; }
.bullets li::before { content: ''; position: absolute; left: 4px; top: 30px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* not */
.note { background: var(--tile); border-radius: 20px; padding: 24px 28px; max-width: 720px; }
.note p { color: var(--ink); font-size: 18px; margin-bottom: 16px; }

/* tablo */
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 0 16px 14px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { color: var(--ink); width: 55%; }

/* sık sorulanlar */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative;
  font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 56px 28px 0; max-width: 820px; font-size: 17px; color: var(--muted); }

/* iletişim */
.contact-list { list-style: none; }
.contact-list li { border-top: 1px solid var(--line); padding: 20px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: baseline; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 14px; color: var(--muted); }
.contact-list .v { font-size: 19px; color: var(--ink); }

/* boş durum */
.empty { background: var(--tile); border-radius: var(--radius); padding: 72px 64px; margin-bottom: 96px; }
.empty p.big { font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); max-width: 24ch; margin-bottom: 28px; }
.empty .fields-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 48px 0 14px; }

/* form */
.form-wrap { background: var(--tile); border-radius: var(--radius); padding: 56px 64px 64px; margin-bottom: 96px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; max-width: 980px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .req { color: var(--faint); font-size: 12px; font-weight: 400; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font: 400 16px/1.4 var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29, 60, 81, 0.14); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #1D1D1F 50%), linear-gradient(135deg, #1D1D1F 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="file"] { padding: 10px; font-size: 14px; color: var(--muted); }
.field input[type="file"]::file-selector-button { font: 500 13px var(--text); color: #fff; background: var(--accent); border: 0; border-radius: 980px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
.field input[type="date"] { color-scheme: light; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15px; line-height: 1.6; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-msg { grid-column: 1 / -1; background: var(--bg); border-radius: 14px; padding: 14px 18px; color: var(--ink); display: none; }
.form-msg.show { display: block; }

/* künye */
.imprint h2 { font-weight: 700; font-size: 22px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 18px; }
.imprint p { margin-bottom: 14px; max-width: 680px; }

/* son çağrı */
.final { background: var(--tile); border-radius: var(--radius); padding: 104px 48px; margin: 16px 0 96px; text-align: center; }
.final-title { font-weight: 700; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); max-width: 16ch; margin: 0 auto; }
.final p { font-size: clamp(18px, 1.4vw, 21px); margin: 20px auto 32px; max-width: 560px; color: var(--muted); }
.final .btns { justify-content: center; }

/* alt bilgi */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; }
.foot-grid h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.foot-grid ul { list-style: none; }
.foot-grid li { padding: 3px 0; }
.foot-grid a { text-decoration: none; color: var(--body); }
.foot-grid .logo img { height: 30px; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.disclaimer { margin-top: 20px; max-width: 460px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
.foot-bottom a { color: var(--muted); text-decoration: none; margin-right: 20px; }
.foot-bottom a:hover { color: var(--ink); }
.foot-contact li { display: flex; gap: 12px; }
.foot-contact .k { color: var(--faint); min-width: 120px; }

/* yavaşça görünme */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Duyarlı düzen ── */
@media (max-width: 1240px) {
  .hero-grid { gap: 40px; }
  .nav-links { gap: 20px; }
  .nav { gap: 24px; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
  :root { --margin: 24px; --radius: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-visual { height: 58vh; height: 58svh; min-height: 380px; }
  .hero-content { padding: 32px 0 24px; }
  .hero-title { max-width: 16ch; }
  .section, .step { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rsec, .rsec--right { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 40px 0 8px; margin: 12px 0; }
  .rsec--right .rsec-robot { order: 0; }
  .rsec-robot { min-height: 0; height: auto; }
  .rsec-img { height: 44vh; }
  .rsec-video { height: 52vh; height: 52svh; }
  .rsec-robot.head { height: 34vh; height: 34svh; }
  .rsec-robot.head .rsec-img { height: 100vh; margin-top: 2vh; }
  .rsec-text, .rsec--right .rsec-text { padding: 32px 32px 40px; }
  .section-head { position: static; }
  .steps.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final { padding: 72px 32px; }
  .empty, .form-wrap { padding: 48px 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --margin: 16px; --nav-h: 48px; --radius: 22px; }
  body { font-size: 16px; }
  .site-header .nav-tools .pill { display: none; }
  .logo img { height: 22px; }
  .hero { padding-top: calc(var(--nav-h) + 8px); }
  .hero-visual { height: 50vh; height: 50svh; min-height: 340px; }
  .hero-pair { padding: 0 4cqw 7cqh; }
  .hero-logo { width: 30cqw; }
  .hero-character { height: min(84cqh, calc(59cqw * var(--hr, 1.5))); }
  .hero-pair.bust .hero-logo { width: 27cqw; top: 6cqh; }
  .hero-title { font-size: clamp(32px, 9vw, 42px); }
  .hero-text { font-size: 17px; margin: 16px 0 24px; }
  .hero-services { margin-top: 36px; }
  .hero-services ol { gap: 8px; }
  .hero-services li a { padding: 14px 14px; border-radius: 16px; }
  .hs-t { font-size: 15px; }
  .hs-a { display: none; }
  .page-head { padding: calc(var(--nav-h) + 48px) 0 40px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .steps.compact { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 28px 0; gap: 12px; }
  .step .sn { font-size: 34px; }
  .grid-item p, .row p, .step p { font-size: 16px; }
  .row.numbered { grid-template-columns: 40px minmax(0, 1fr); }
  .rsec-text, .rsec--right .rsec-text { padding: 24px 22px 32px; }
  .rsec-text .para { font-size: 17px; }
  .table { font-size: 15px; }
  .faq summary { font-size: 17px; padding: 20px 44px 20px 0; }
  .faq .answer { padding-right: 0; font-size: 16px; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .form-wrap, .empty { padding: 32px 20px; margin-bottom: 64px; }
  .final { padding: 56px 20px; margin-bottom: 64px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
