/* =========================================================
   Dr. Elif Aydın · İç Hastalıkları
   Tasarım tokenları
   ========================================================= */
@font-face {
  font-family: "Urbanist"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/urbanist-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Urbanist"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/urbanist-latin.woff2") format("woff2");
  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 {
  /* Referans paleti (#D2D4D3 #BCC1B9 #09171E #572C19 #445153 #7E816E) üzerine kurulu */
  --ink: #09171E;
  --ink-2: #2B383C;
  --slate: #445153;
  --olive: #6D705F;          /* #7E816E, küçük metinde kontrast için koyulaştırıldı */
  --sage: #BCC1B9;
  --mist: #D2D4D3;
  --line: #E4E6E3;
  --canvas: #FBFBFA;
  --paper: #FFFFFF;
  --soft: #F3F4F2;

  --mint: #B9E0C7;
  --mint-hover: #A3D5B5;
  --mint-deep: #9FD1B4;
  --mint-tint: #DFF1E5;
  --stone-tint: #E6E7E8;
  --sand-tint: #FCEEDF;
  --sky-tint: #DCEBF3;
  --earth: #572C19;          /* nadir vurgu: odak halkası, küçük detaylar */

  --mega-from: #E4E7E3;
  --mega-to: #8B9488;

  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(16px, 3.4vw, 48px);
  --radius-lg: clamp(18px, 1.8vw, 28px);
  --radius: clamp(14px, 1.3vw, 20px);
  --nav-h: clamp(68px, 6vw, 84px);
}

/* =========================================================
   Temel
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  overflow-x: hidden; overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--earth); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  transform: translateY(-160%); transition: transform .4s var(--ease-out);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--olive); letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); }

.h2 {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.12; font-weight: 500; letter-spacing: -.02em;
}

/* =========================================================
   Linkler ve butonlar
   ========================================================= */
.link { position: relative; display: inline-block; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .55s var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn::before { /* hover dolgusu: alttan yükselen daire */
  content: ""; position: absolute; left: 50%; top: 100%; z-index: -1;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--fill, var(--ink));
  transform: translate(-50%, 0) scale(.2);
  transition: transform .7s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -62%) scale(1); }
.btn:active { transform: scale(.97); }

/* metin rulosu: aynı etiket alttan gelir */
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; padding: .08em 0; }
.btn__label::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; text-align: center;
  padding: .08em 0;
}
.btn__label, .btn__label::after { transition: transform .6s var(--ease-out); }
.btn:hover .btn__label, .btn:focus-visible .btn__label { transform: translateY(-100%); }
.btn:hover .btn__label::after, .btn:focus-visible .btn__label::after { transform: translateY(0); }

.btn--mint { --bg: var(--mint); --fill: var(--ink); }
.btn--mint:hover, .btn--mint:focus-visible { color: #fff; }
.btn--ghost { --bd: var(--ink); --fill: var(--ink); height: 46px; padding: 0 24px; font-size: 14px; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; }
.btn--outline { --bd: var(--ink); --fill: var(--ink); }
.btn--outline:hover, .btn--outline:focus-visible { color: #fff; }
.btn--sm { height: 44px; padding: 0 24px; font-size: 14px; }
.btn--xs { height: 38px; padding: 0 18px; font-size: 13px; }

.btn--arrow { padding-right: 6px; gap: 18px; }
.btn__dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); color: var(--ink);
  transition: transform .6s var(--ease-out), background-color .5s var(--ease-out);
}
.btn__dot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.btn--arrow:hover .btn__dot { transform: rotate(-45deg); background: #fff; }

.round {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), transform .45s var(--ease-out), opacity .3s;
}
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.round:hover, .round:focus-visible { background: var(--ink); color: #fff; }
.round:active { transform: scale(.92); }
.round[disabled] { opacity: .3; pointer-events: none; }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: transform .7s var(--ease-out), background-color .5s, box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(251, 251, 250, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(9, 23, 30, .06);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: var(--mint);
  transition: transform .8s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.brand__name sup { font-size: 10px; font-weight: 500; color: var(--olive); margin-left: 3px; letter-spacing: .06em; }

.nav__links { display: flex; gap: clamp(20px, 2.4vw, 40px); font-size: 15px; color: var(--ink-2); }
.burger { display: none; }

/* =========================================================
   Mobil menü
   ========================================================= */
.mmenu { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; }
.mmenu.is-open { pointer-events: auto; visibility: visible; }
.mmenu__bg {
  position: absolute; inset: 0; background: var(--ink);
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .9s var(--ease-io);
}
.mmenu.is-open .mmenu__bg { clip-path: circle(150% at calc(100% - 40px) 36px); }
.mmenu__inner {
  position: relative; height: 100%; padding: calc(var(--nav-h) + 32px) 24px 32px;
  display: flex; flex-direction: column; gap: 6px;
}
.mmenu__link {
  display: flex; align-items: baseline; gap: 14px; color: #fff;
  font-size: clamp(34px, 9vw, 52px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2;
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.mmenu__link span { font-size: 13px; color: var(--mint); letter-spacing: .06em; }
.mmenu.is-open .mmenu__link { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__link:nth-child(1) { transition-delay: .25s; }
.mmenu.is-open .mmenu__link:nth-child(2) { transition-delay: .31s; }
.mmenu.is-open .mmenu__link:nth-child(3) { transition-delay: .37s; }
.mmenu.is-open .mmenu__link:nth-child(4) { transition-delay: .43s; }
.mmenu.is-open .mmenu__link:nth-child(5) { transition-delay: .49s; }
.mmenu__foot {
  margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--sage); font-size: 15px;
  opacity: 0; transition: opacity .6s .55s;
}
.mmenu.is-open .mmenu__foot { opacity: 1; }
.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .brand, .menu-open .nav .burger { color: #fff; }
.menu-open .nav .brand__mark { background: var(--mint); color: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: var(--nav-h) calc(var(--gutter) * .5) 0; }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - var(--nav-h) - clamp(10px, 1.6vw, 24px));
  min-height: 560px; max-height: 980px;
  border-radius: var(--radius-lg);
  background: #DCE1DD;
  transform-origin: 50% 0;
}
.hero__media { position: absolute; inset: -6% 0; will-change: transform; }
.hero__media img {
  position: absolute; top: 0; height: 100%; width: 128%; max-width: none; left: -2%;
  object-fit: cover; object-position: 50% 30%;
}
/* Referanstaki puslu, aydınlık sol alan: blur + açık yeşil-gri sis */
.hero__mist {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(236, 240, 237, .95) 0%, rgba(236, 240, 237, .86) 30%, rgba(236, 240, 237, .45) 46%, rgba(236, 240, 237, 0) 60%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 56%);
  mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 56%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 4vw, 64px) clamp(24px, 4.4vw, 72px) clamp(28px, 3.4vw, 52px);
}
.hero__people { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid #EEF1EE; margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }
.hero__people p { display: flex; flex-direction: column; line-height: 1.25; }
.hero__people strong { font-size: 22px; font-weight: 500; }
.hero__people p span:last-child { font-size: 14px; color: var(--slate); }

.hero__title {
  margin-top: auto; max-width: 13.5ch;
  font-size: clamp(40px, 4.7vw, 76px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em;
}
.hero__btn { margin-top: clamp(24px, 2.6vw, 40px); }
.hero__stats {
  margin-top: auto; padding-top: 40px;
  display: flex; gap: clamp(40px, 6vw, 110px);
}
.hero__stats dt { font-size: clamp(34px, 3vw, 48px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.hero__stats dt small { font-size: .45em; margin-left: 4px; color: var(--slate); }
.hero__stats dd { margin-top: 10px; font-size: 14px; color: var(--slate); max-width: 16ch; }
.hero__explore {
  position: absolute; z-index: 2; right: clamp(24px, 3vw, 48px); bottom: clamp(24px, 3vw, 44px);
  color: #fff; font-size: 15px; font-weight: 500;
}
.hero__explore span { display: inline-block; animation: nudge 2.4s var(--ease-io) -1.2s infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =========================================================
   Hakkımda + istatistik
   ========================================================= */
.about { padding: clamp(96px, 11vw, 180px) 0 clamp(64px, 6vw, 96px); }
.mega {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  column-gap: .22em; row-gap: .05em;
  font-size: clamp(42px, 7.2vw, 118px); line-height: 1; font-weight: 400;
  letter-spacing: -.035em; text-transform: uppercase; color: var(--mega-to);
  text-align: center;
}
.mega__w { display: inline-block; }
.mega__pill {
  display: inline-block; width: 1.75em; height: .82em; border-radius: 999px; overflow: hidden;
  vertical-align: middle; transform: translateY(-.02em);
}
.mega__pill img { width: 100%; height: 100%; object-fit: cover; }
.about__lead {
  max-width: 34ch; margin: clamp(36px, 4vw, 60px) auto 0; text-align: center;
  font-size: clamp(19px, 1.65vw, 26px); line-height: 1.45; color: var(--ink-2);
}
.about__cta { display: flex; justify-content: center; margin-top: 32px; }

.stats {
  margin-top: clamp(56px, 6vw, 96px);
  display: grid; grid-template-columns: 1.7fr 1fr 1.3fr 1fr; gap: clamp(10px, 1vw, 16px);
}
.stat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(280px, 26vw, 400px); padding: clamp(20px, 2vw, 32px);
  border-radius: var(--radius); overflow: hidden;
}
.stat--mint { background: var(--mint-tint); }
.stat--stone { background: var(--stone-tint); }
.stat--sand { background: var(--sand-tint); }
.stat--sky { background: var(--sky-tint); }
.stat__num { font-size: clamp(44px, 4.4vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -.03em; }
.stat__num small { font-size: .38em; margin-left: 6px; letter-spacing: 0; color: var(--slate); }
.stat__foot p { font-size: 15px; line-height: 1.4; color: var(--ink-2); max-width: 24ch; }
.stat__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .7); margin-bottom: 14px;
}
.stat__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Yaklaşım (sabitlenen bölüm)
   ========================================================= */
.approach { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-lg); margin: 0 calc(var(--gutter) * .5); }
.approach__pin { min-height: 100svh; display: flex; align-items: center; padding: clamp(80px, 8vw, 120px) 0; }
.approach__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.approach .eyebrow { color: var(--sage); }
.approach__title {
  margin-top: 18px; font-size: clamp(36px, 4vw, 62px); line-height: 1.06; font-weight: 400; letter-spacing: -.03em; max-width: 12ch;
}
.approach__steps { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  opacity: .38; transition: opacity .6s var(--ease-out);
}
.step.is-active { opacity: 1; }
.step__num { font-size: 13px; color: var(--mint); padding-top: 6px; letter-spacing: .06em; }
.step h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.01em; }
.step p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: #C9D0CD; max-width: 42ch; }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
.approach__progress { margin-top: 18px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.approach__progress span { display: block; height: 100%; background: var(--mint); transform-origin: left; transform: scaleX(.33); }

.approach__visual { position: relative; aspect-ratio: 4 / 3.3; }
.approach__img {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
}
.approach__img img { width: 100%; height: 100%; object-fit: cover; }
.approach__img:nth-child(1) img { object-position: 30% 50%; }
.approach__img:nth-child(2) img { object-position: 62% 50%; }
.approach__img:nth-child(3) img { object-position: 55% 50%; }
.approach__badge {
  position: absolute; left: clamp(-36px, -2.4vw, -16px); bottom: clamp(20px, 3vw, 40px); z-index: 5;
  display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px;
  background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
}
.approach__badge img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.approach__badge div { display: flex; flex-direction: column; line-height: 1.25; }
.approach__badge strong { font-weight: 600; font-size: 15px; }
.approach__badge span { font-size: 13px; color: var(--slate); }

/* =========================================================
   Hizmetler
   ========================================================= */
.services { padding: clamp(110px, 11vw, 180px) 0 clamp(80px, 8vw, 130px); }
.services__head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.services__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.services__lead {
  font-size: clamp(26px, 2.7vw, 42px); line-height: 1.22; font-weight: 500; letter-spacing: -.02em; max-width: 24ch;
}

.slider { position: relative; }
.services .slider { margin-top: clamp(48px, 5vw, 80px); padding: 0 var(--gutter); max-width: 1440px; margin-left: auto; margin-right: auto; }
.slider__track {
  display: flex; gap: clamp(12px, 1.2vw, 18px);
  will-change: transform; touch-action: pan-y; cursor: grab;
}
.slider__track.is-dragging { cursor: grabbing; }
.slider__track.is-dragging a, .slider__track.is-dragging img { pointer-events: none; }
.slider__nav { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }

.svc {
  position: relative; flex: 0 0 calc((100% - 2 * clamp(12px, 1.2vw, 18px)) / 3);
  aspect-ratio: 1 / .92; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  user-select: none; -webkit-user-select: none;
}
.svc__img { position: absolute; inset: 0; z-index: -1; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__chips {
  position: absolute; top: 16px; right: 16px; left: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
}
.svc__chips li {
  padding: 7px 13px; border-radius: 999px; font-size: 13px; color: #fff;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(9, 23, 30, .35);
  transition: transform .6s var(--ease-out), background-color .4s;
}
.svc:hover .svc__chips li { background: rgba(255, 255, 255, .32); }
.svc:hover .svc__chips li:nth-child(1) { transform: translate(-6px, 2px); }
.svc:hover .svc__chips li:nth-child(2) { transform: translate(4px, -3px); }
.svc:hover .svc__chips li:nth-child(3) { transform: translate(-3px, 4px); }
.svc__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 20px;
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .72) 40%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px); mask-image: linear-gradient(180deg, transparent 0, #000 28px);
}

/* =========================================================
   Muayene süreci (referanstaki yorum düzeni)
   ========================================================= */
.process { padding: clamp(40px, 4vw, 60px) 0 clamp(100px, 10vw, 160px); }
.process__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 3vw, 48px); align-items: stretch; }
.process__portrait { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; }
.process__portrait img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 30% 50%; }
.process__body { display: flex; flex-direction: column; padding-top: clamp(8px, 1.4vw, 24px); min-width: 0; }
.process__body .h2 { max-width: 15ch; }
.process__lead { margin-top: 22px; max-width: 46ch; font-size: 16px; color: var(--slate); }
.slider--cards { margin-top: auto; padding-top: 40px; overflow: hidden; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.slider__nav--top { justify-content: flex-end; margin: 0 0 20px; }
.pcard {
  flex: 0 0 min(400px, 78%); display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: var(--radius); background: var(--soft);
  user-select: none; -webkit-user-select: none;
  transition: background-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.pcard:hover { background: var(--mint-tint); transform: translateY(-4px); }
.pcard header { display: flex; align-items: center; gap: 14px; }
.pcard__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; }
.pcard__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pcard h3 { font-size: 20px; font-weight: 500; }
.pcard header p { font-size: 13px; color: var(--olive); }
.pcard > p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pcard footer { margin-top: auto; text-align: right; font-size: 14px; font-weight: 500; color: var(--olive); }

/* =========================================================
   Sağlık rehberi
   ========================================================= */
.journal { padding: 0 0 clamp(100px, 10vw, 160px); }
.journal__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.journal__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.journal__head .h2 { max-width: 17ch; }
.journal__lead { max-width: 44ch; font-size: 17px; color: var(--slate); justify-self: end; }
.posts { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.2vw, 18px); }
.post__link {
  display: flex; flex-direction: column; height: 100%; padding: 12px 12px 18px; border-radius: var(--radius); background: var(--soft);
  transition: background-color .5s var(--ease-out), transform .7s var(--ease-out);
}
.post__link:hover { background: #ECEEEA; transform: translateY(-6px); }
.post__img { position: relative; aspect-ratio: 1.25; border-radius: 12px; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post__link:hover .post__img img { transform: scale(1.07); }
.post__tag {
  position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 500;
}
.post h3 { margin: 18px 6px 0; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.post p { margin: 10px 6px 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.post footer { margin: auto 6px 0; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13.5px; }
.post footer .link { font-weight: 500; }
.post__link:hover footer .link::after { transform: scaleX(1); transform-origin: left center; }
.post time { color: var(--olive); }

/* =========================================================
   Randevu CTA
   ========================================================= */
.cta { padding: 0 0 clamp(100px, 10vw, 160px); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 46vw, 700px); border-radius: var(--radius-lg);
  background: var(--mint);
  padding: clamp(32px, 4.2vw, 64px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.cta__card::before { /* yavaş nefes alan ışık: bölümün tek yaşayan öğesi */
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -10%; top: -40%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .45), transparent);
  animation: breathe 9s var(--ease-io) -3s infinite;
}
@keyframes breathe { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .8; } 50% { transform: translate(6%, 8%) scale(1.12); opacity: 1; } }
.cta__title {
  display: flex; flex-direction: column; gap: .02em;
  font-size: clamp(40px, 5.6vw, 92px); line-height: 1.02; font-weight: 400; letter-spacing: -.035em;
  text-transform: uppercase; color: #fff; max-width: 64%;
}
.cta__line { display: flex; flex-wrap: wrap; align-items: center; column-gap: .24em; }
.cta__line:nth-child(2) { padding-left: .9em; }
.cta__w { display: inline-block; }
.mega__pill--sm { width: 1.7em; height: .8em; }
.cta__chip {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 14.5px; font-weight: 500;
}
.cta__chip-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint-tint); }
.cta__chip-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.offer {
  margin-top: 14px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: center;
  width: min(520px, 100%); padding: 10px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 30px 60px -30px rgba(9, 23, 30, .3);
}
.offer__img { aspect-ratio: 1.15; border-radius: 12px; overflow: hidden; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.offer__body { padding: 6px 8px 6px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.offer__num { font-size: 30px; line-height: 1; font-weight: 500; letter-spacing: -.02em; }
.offer h3 { margin-top: 6px; font-size: 19px; font-weight: 500; }
.offer__body > p:not(.offer__num) { font-size: 14px; line-height: 1.45; color: var(--slate); margin-bottom: 8px; }
.cta__person {
  position: absolute; z-index: -1; right: clamp(24px, 5vw, 80px); bottom: 0;
  width: clamp(280px, 30vw, 460px); height: 88%;
  border-radius: 999px 999px 0 0; overflow: hidden;
  background: #B5BDB8;
}
.cta__person img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 15%; }

/* =========================================================
   İletişim
   ========================================================= */
.contact { padding: 0 0 clamp(80px, 7vw, 110px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 120px); }
.contact__side { display: flex; flex-direction: column; align-items: flex-start; }
.contact__title { font-size: clamp(44px, 5vw, 80px); line-height: 1.02; font-weight: 400; letter-spacing: -.035em; max-width: 7ch; }
.contact__info { margin-top: 40px; display: grid; gap: 16px; font-size: 16px; }
.contact__info li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact__info span { color: var(--olive); font-size: 14px; padding-top: 2px; }
.support {
  margin-top: 40px; display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px;
  border-radius: 16px; background: var(--soft);
}
.support img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; object-position: 50% 15%; }
.support p { font-size: 18px; font-weight: 500; line-height: 1.2; }
.support__status {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--mint-tint); font-size: 12.5px; color: var(--ink-2);
}
.support__status i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #3FA16A; }
.support__status i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #3FA16A;
  animation: ping 2.6s var(--ease-out) -1s infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.form { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 2.4vw, 36px); row-gap: 34px; align-content: start; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; border: 0; background: transparent; padding: 8px 0 12px; font: inherit; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid #A9B0AA; border-radius: 0; resize: none; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #8E958F; }
.field::after { /* odakta çizilen çizgi */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid::after { background: #B4442C; transform: scaleX(1); }
.field.is-invalid label { color: #B4442C; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form__foot::after { display: none; }
.form__note { font-size: 13px; color: var(--olive); max-width: 40ch; }
.form__success { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
.form__success[data-state="success"] { color: #2C7A4E; }
.form__success[data-state="error"] { color: #B4442C; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* KVKK onay kutusu */
.field--check::after { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  border: 1px solid #A9B0AA; background: #fff; transition: background-color .3s var(--ease-out), border-color .3s;
}
.check__box svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .45s var(--ease-out); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--earth); outline-offset: 3px; }
.field--check.is-invalid .check__box { border-color: #B4442C; }
.field--check.is-invalid .check { color: #B4442C; }

/* Gönderiliyor durumu */
.form__submit .spinner {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; opacity: 0;
  transition: opacity .3s;
}
.form.is-sending .form__submit .btn__label { opacity: 0; }
.form.is-sending .form__submit .spinner { opacity: 1; animation: spin .8s linear infinite; }
.form.is-sending .form__submit { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 0 calc(var(--gutter) * .5) calc(var(--gutter) * .5); }
.footer__inner {
  background: var(--soft); border-radius: var(--radius-lg); overflow: hidden;
  padding-top: clamp(40px, 4vw, 64px); padding-bottom: 28px;
}
.footer__top { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(32px, 5vw, 96px); align-items: start; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(28px, 4vw, 64px); }
.footer__cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--slate); }
.footer__cols h3 { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.footer__social { display: flex; gap: 10px; }
.footer__word {
  margin: clamp(32px, 4vw, 64px) 0 0 -.04em; padding-bottom: .16em; overflow: hidden;
  font-size: clamp(64px, 25.5vw, 400px); line-height: .9; font-weight: 500;
  letter-spacing: -.055em; color: #E3E6E2; white-space: nowrap; user-select: none;
}
.footer__bottom {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--slate);
}
.footer__bottom .sep { margin: 0 8px; color: var(--sage); }
.footer__bottom a.link { color: var(--ink); font-weight: 500; }
.footer__disclaimer { max-width: 46ch; }

/* =========================================================
   Hareket katmanı başlangıç durumları (yalnızca .motion)
   Bitiş durumları JS (GSAP) tarafından yazılır.
   ========================================================= */
.motion [data-hero-media] { opacity: 0; }
.motion [data-hero-people], .motion [data-hero-btn], .motion [data-hero-stats], .motion [data-hero-explore] { opacity: 0; }
.motion .hero__title { visibility: hidden; }
.motion .nav__inner > * { opacity: 0; }

/* Bölünmüş metin */
.split-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.split-word { display: inline-block; will-change: transform; }
.scrub-word { transition: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 240px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .svc { flex-basis: calc((100% - clamp(12px, 1.2vw, 18px)) / 2); }
  .footer__top { grid-template-columns: 1fr auto; }
  .footer__social { grid-column: 2; grid-row: 1; }
  .footer__cols { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger {
    position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid currentColor;
  }
  .burger span {
    position: absolute; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform .6s var(--ease-out);
  }
  .burger span:first-child { transform: translateY(-3.5px); }
  .burger span:last-child { transform: translateY(3.5px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  /* Mobil hero: metin üstte sisli alanda, doktor altta görünür */
  .hero__frame { height: auto; min-height: calc(100svh - var(--nav-h) - 12px); max-height: none; display: flex; flex-direction: column; }
  .hero__content { flex: 1; height: auto; }
  .hero__media { inset: 30% 0 -4% 0; }
  .hero__media img { width: 100%; left: 0; object-position: 52% 18%; }
  .hero__mist {
    background: linear-gradient(180deg, #DCE1DD 0%, #DCE1DD 30%, rgba(220, 225, 221, .7) 42%, rgba(220, 225, 221, 0) 56%);
    -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none;
  }
  .hero__title { margin-top: 28px; }
  .hero__stats {
    margin-top: auto; padding: 18px 22px; gap: 32px; border-radius: 16px;
    background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .hero__explore { display: none; }

  .approach { margin: 0; border-radius: 0; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__visual { order: -1; aspect-ratio: auto; display: grid; gap: 12px; }
  .approach__img { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .approach__img:not(:first-child) { display: none; }
  .approach__badge { left: 12px; bottom: 12px; }
  .approach__progress { display: none; }
  .step { opacity: 1; }

  .services__head { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__portrait { min-height: 0; aspect-ratio: 4 / 3.4; }
  .journal__head { grid-template-columns: 1fr; align-items: start; }
  .journal__lead { justify-self: start; }

  .cta__title { max-width: 100%; }
  .cta__card { padding-bottom: 0; }
  .cta__chip { margin-top: 40px; }
  .cta__person { position: relative; right: auto; align-self: flex-end; margin-top: -60px; width: 62%; height: auto; aspect-ratio: .8; }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-left: 8px; padding-right: 8px; }
  .hero__content { padding: 22px 20px 20px; }
  .avatars img { width: 36px; height: 36px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__stats { gap: 24px; width: 100%; padding: 16px 18px; }
  .hero__stats dd { font-size: 13px; }

  .mega { font-size: clamp(34px, 11vw, 54px); }
  .about__lead { font-size: 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 200px; }

  .svc { flex-basis: 84%; }
  .svc__chips li { font-size: 12px; padding: 6px 11px; }
  .posts { grid-template-columns: 1fr; }
  .post__img { aspect-ratio: 1.6; }

  .cta__title { font-size: clamp(32px, 10vw, 46px); }
  .offer { grid-template-columns: 1fr; }
  .offer__img { aspect-ratio: 1.8; }
  .cta__person { width: 80%; margin-top: -30px; }

  .form { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .contact__info li { grid-template-columns: 1fr; gap: 2px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__word { font-size: 22.5vw; }
  .footer__social { grid-column: auto; grid-row: auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (pointer: coarse) {
  .btn--xs { min-height: 44px; }
  .round { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  .mmenu__bg { transition: none; }
}
