/* Dilterapi — hareket katmanı (Cuberto tarzı, sağlık sitesine göre ölçülü). Yalnız transform/opacity/clip-path. */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --teal: #2c6d82;
}

/* ---------- Özel imleç (yalnız fare) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.has-cursor .cursor.on { opacity: 1; }
.cursor-ring {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 1.5px solid rgba(23, 50, 77, .45);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s ease, border-color .3s ease;
}
.cursor-dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--navy); transition: transform .3s var(--ease-out); }
.cursor-label { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .45s var(--ease-out); white-space: nowrap; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(79, 159, 189, .12); border-color: rgba(79, 159, 189, .6); }
.cursor.is-link .cursor-dot { transform: scale(0); }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--navy); border-color: var(--navy); }
.cursor.is-label .cursor-dot { transform: scale(0); }
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-text .cursor-ring { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--navy); border-color: var(--navy); }
.cursor.is-text .cursor-dot { transform: scale(0); }
.cursor.is-down .cursor-ring { transform: scale(.82); }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

/* ---------- Dolgulu + yazı kaydıran butonlar ---------- */
.mx .button, .mx .nav-cta { position: relative; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-out), color .45s var(--ease-out), border-color .45s ease, box-shadow .3s ease; }
.btn-fill { position: absolute; left: 50%; top: 100%; width: 160%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0) scale(.2); z-index: -1; transition: transform .7s var(--ease-out); pointer-events: none; background: var(--teal); }
.button.secondary .btn-fill { background: var(--navy); }
.mx .button:hover .btn-fill, .mx .nav-cta:hover .btn-fill, .mx .button:focus-visible .btn-fill { transform: translate(-50%, -55%) scale(1); }
.mx .button.secondary:hover { color: #fff; border-color: var(--navy); }
.btn-roll { position: relative; display: inline-flex; overflow: hidden; line-height: 1.25; }
.btn-roll > span { display: block; transition: transform .6s var(--ease-out); }
.btn-roll > span + span { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.mx a:hover > .btn-roll > span:first-child, .mx button:hover > .btn-roll > span:first-child { transform: translateY(-110%); }
.mx a:hover > .btn-roll > span + span, .mx button:hover > .btn-roll > span + span { transform: translateY(0); }
.magnet-inner { display: inline-flex; align-items: center; justify-content: center; transition: transform .6s var(--ease-out); }

/* ---------- Maskeli tipografi ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw-i { display: inline-block; }
.mx .tx-split .sw-i { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.mx .tx-split.in .sw-i { transform: none; }
.mx .hero h1.tx-split .sw-i { transition-duration: 1.2s; transition-delay: calc(var(--i) * 80ms + 150ms); }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); letter-spacing: -.02em; }
h2 { letter-spacing: -.01em; }

/* ---------- Kaydırınca beliren öğeler ---------- */
.mx .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.mx .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero görseli: perde açılışı + kaydırmada ölçek ---------- */
.hero-media { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.hero-media img { box-shadow: none; transform: scale(var(--hs, 1)); will-change: transform; }
.mx .hero-media { clip-path: inset(18% 10% 18% 10% round 160px); transition: clip-path 1.5s var(--ease-io) .25s; }
.mx .hero-media.in { clip-path: inset(0 0 0 0 round 8px); }

/* ---------- Kayan yazı (kaydırma hızına duyarlı, iki sıra) ---------- */
.marquee { overflow: hidden; padding: 26px 0 22px; background: #fff; border-block: 1px solid var(--line); }
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; font-size: clamp(30px, 5.4vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.marquee-track span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--blue-strong); opacity: .7; flex: none; }
.marquee-row.is-outline span { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee-row.is-outline span::after { background: transparent; border: 2px solid var(--blue-strong); }
.marquee-row + .marquee-row { margin-top: 4px; }

/* ---------- Hover listesi (çalışma alanları) ---------- */
@media (min-width: 921px) {
  .hover-list { display: block; border-top: 1px solid var(--line); counter-reset: hl; }
  .hover-list .card { position: relative;
    counter-increment: hl; display: grid; grid-template-columns: 70px minmax(240px, 1.1fr) 1fr 48px; align-items: center; gap: 24px;
    min-height: 0; padding: 26px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none !important; transform: none !important; overflow: hidden; isolation: isolate;
  }
  .hover-list .card::before { content: counter(hl, decimal-leading-zero); color: var(--teal); font-weight: 800; font-size: 14px; }
  .hover-list .card::after {
    content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); opacity: 1;
  }
  .hover-list .card:hover::after { transform: scaleY(1); transform-origin: top; }
  .hover-list .card h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.01em; transition: transform .6s var(--ease-out); }
  .hover-list .card p { margin: 0; transition: transform .6s var(--ease-out), color .3s ease; }
  .hover-list .card:hover h3 { transform: translateX(14px); }
  .hover-list .card:hover p { transform: translateX(8px); color: #33485a; }
  .hover-list .card .hl-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #bfd7df; display: grid; place-items: center; color: var(--navy); font-weight: 800; transition: transform .6s var(--ease-out), background .3s ease, color .3s ease; }
  .hover-list .card:hover .hl-arrow { transform: rotate(-45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
}
@media (max-width: 920px) { .hl-arrow { display: none; } }

/* ---------- Kartlar: imleç ışığı + hafif eğim ---------- */
.finder-card, .blog-cards .card, .slide { position: relative; overflow: hidden; transform-style: preserve-3d; }
.finder-card::after, .slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 159, 189, .16), transparent 70%); }
.finder-card:hover::after, .slide:hover::after { opacity: 1; }
.mx .finder-card { transition: transform .6s var(--ease-out), box-shadow .3s ease, opacity .9s var(--ease-out); }
.mx .finder-card.in:hover { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* ---------- Sürüklenebilir slider ---------- */
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3.3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--blue-strong); outline-offset: 4px; border-radius: 8px; }
.slider-track.dragging { scroll-snap-type: none; user-select: none; }
.slider-track.dragging a { pointer-events: none; }
.slide { scroll-snap-align: start; min-height: 230px; display: flex !important; flex-direction: column; transform: skewX(var(--skew, 0deg)); transition: transform .5s var(--ease-out), box-shadow .3s ease; }
.slide h3 { margin-top: 10px; }
.slide p { margin-top: auto; padding-top: 14px; }
.slider-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.slider-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider-progress i { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--sp, .2)); transition: transform .2s linear; }
.slider-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #bfd7df; background: #fff; color: var(--navy); font-size: 18px; font-weight: 800; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease-out), opacity .3s ease; }
.slider-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .5s var(--ease-out); z-index: -1; }
.slider-btn:hover:not([disabled])::before { transform: scale(1); }
.slider-btn:hover:not([disabled]) { color: #fff; }
.slider-btn[disabled] { opacity: .3; cursor: default; }
.slider-all { color: #176b73; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Süreç adımları: kaydırmayla dolan çizgi ---------- */
.steps { position: relative; }
.mx .steps::before { content: ""; position: absolute; left: 35px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.mx .steps::after { content: ""; position: absolute; left: 35px; top: 20px; bottom: 20px; width: 2px; background: var(--teal); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.steps li { position: relative; z-index: 1; }
.steps li span { transition: background .4s ease, color .4s ease, transform .5s var(--ease-out); }
.steps li.on span { background: var(--navy); color: #fff; transform: scale(1.06); }

/* ---------- Alt bilgi: büyük çağrı alanı ---------- */
.footer-cta { padding: 64px 0 46px; margin-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-cta .eyebrow { color: #9ccbd9; }
.footer-cta-title { color: #fff; font-size: clamp(36px, 6vw, 78px); letter-spacing: -.025em; max-width: 900px; }
.footer-cta-row { display: flex; align-items: center; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.cta-circle { width: 168px; height: 168px; border-radius: 50%; background: var(--blue-strong); color: #fff !important; display: grid !important; place-items: center; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.25; margin: 0 !important; position: relative; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-out); }
.cta-circle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .6s var(--ease-out); z-index: -1; }
.cta-circle:hover::before { transform: scale(1); }
.cta-circle:hover { color: var(--navy) !important; }
.footer-cta-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-links a { margin: 0 !important; padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; font-weight: 700; position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease-out), border-color .3s ease; }
.footer-cta-links a::before { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease-out); z-index: -1; }
.footer-cta-links a:hover::before { transform: none; }
.footer-cta-links a:hover { color: var(--navy); border-color: #fff; }
.site-footer { padding-top: 0; }

/* ---------- Sayfa geçiş perdesi ---------- */
.curtain { position: fixed; inset: 0; z-index: 10002; background: var(--navy); pointer-events: none; transform: translateY(101%); }
.curtain.cover { transform: translateY(0); transition: transform .45s var(--ease-io); }
.curtain.leave { transform: translateY(-101%); transition: transform .7s var(--ease-io); }
.curtain.start { transform: translateY(0); transition: none; }

@media (max-width: 920px) {
  .slider-track { grid-auto-columns: calc((100% - 20px) / 1.8); }
  .footer-cta-row { gap: 24px; }
  .cta-circle { width: 136px; height: 136px; font-size: 15px; }
  .mx .steps::before, .mx .steps::after { left: 35px; }
}
@media (max-width: 640px) {
  .slider-track { grid-auto-columns: 84%; }
  .marquee { padding: 16px 0 14px; }
  .footer-cta { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transform: none; }
  .btn-fill, .curtain { display: none; }
  .hero-media img { transform: none; }
}

/* ---------- Fotoğrafsız profil düzeni ---------- */
.profile-grid.no-photo { grid-template-columns: 1fr; padding: clamp(24px, 4vw, 48px); }
.profile-grid.no-photo h2 { font-size: clamp(30px, 4.4vw, 52px); }
.about-intro { max-width: 980px; }
.slider-all-btn { min-height: 52px; }
.fixed-actions a { border: 1px solid rgba(255, 255, 255, .35); }
