/* Alt sayfaların ortak kabuğu: üst menü, sayfa başlığı, kapanış, alt bilgi.
   Anasayfa (css/anasayfa.css) ile aynı renk, yazı tipi ve hareket dili; sayfa içerikleri Tailwind sınıflarıyla. */
:root {
  --bg: #080d12; --bg-2: #0c141c; --ivory: #f3ecdf; --card: #101b26; --card-2: #142231;
  --line: rgba(255, 255, 255, .09); --ink: #eef3f5; --muted: #8b9ba7; --dim: #5d6d79;
  --accent: #0f8279; --accent-2: #2fb0a4; --accent-ink: #ffffff;
  --display: "Manrope", system-ui, sans-serif; --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: min(1320px, 100% - 2 * var(--gut)); --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { background: var(--bg); color-scheme: dark; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; overflow-x: clip; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.14em; letter-spacing: -.02em; color: var(--accent-2); }
.s-wrap { width: var(--wrap); margin-inline: auto; }
.s-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.s-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* içerik başlıkları anasayfanın sıkı, orta kalınlıktaki başlık diline çekilir */
main .font-heading { font-family: var(--display); letter-spacing: -.03em; }
main h1.font-heading, main h2.font-heading { font-weight: 600; }
main .bg-card { background-image: linear-gradient(180deg, var(--card-2), var(--card)); }

/* ---------- yazı tipi tablosu (kullanıcının belirlediği) ----------
   Başlıklar ve kart başlıkları: Manrope 600 · italik vurgu: Cormorant Garamond Italic 500
   Menü ve butonlar: Manrope 500 · açıklama metinleri: Manrope 400 · kayan tedavi isimleri: Manrope 500 */
b, strong { font-weight: 600; }
.label, .s-label { font-weight: 500; }
.foot nav { font-weight: 500; }
main .font-bold, main .font-extrabold, main .font-black { font-weight: 600; }
main :is(h1, h2, h3, h4, h5), main :is(h1, h2, h3, h4, h5)[class] { font-weight: 600; }
:is(a, button, summary, label, select)[class*="font-"], main :is(a, button)[class*="bg-fill"] { font-weight: 500; }
main [class*="bg-fill"] { font-weight: 500; }
main a :is(.font-semibold, .font-bold), main a:is(.font-semibold, .font-bold) { font-weight: 500; }

/* ---------- butonlar ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--accent); color: var(--accent-ink); }
.btn--main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn--main:hover::before { transform: none; }
.btn--main:hover { color: var(--bg); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); }
.btn .ok { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .ok { transform: translateX(4px); }

/* ---------- üst menü ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .35s, transform .45s var(--ease-out), border-color .35s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(8, 13, 18, .8); backdrop-filter: blur(14px); border-color: var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__bar { width: var(--wrap); margin-inline: auto; height: 84px; display: flex; align-items: center; gap: 28px; }
.top__logo img { height: 52px; width: auto; max-width: none; }
.top__links { display: flex; gap: 6px; margin-left: auto; }
.top__links a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: rgba(238, 243, 245, .78); transition: color .2s; }
.top__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.top__links a:hover, .top__links a[aria-current] { color: var(--ink); }
.top__links a:hover::after, .top__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.top__act { display: flex; gap: 10px; align-items: center; }
.top__act .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.top__menu { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.top__menu span { display: block; width: 26px; height: 2px; margin: 6px auto; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.menu-open .top__menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .top__menu span:nth-child(2) { opacity: 0; }
.menu-open .top__menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out), visibility .6s; visibility: hidden; overflow-y: auto; }
.menu-open .drawer { clip-path: inset(0); visibility: visible; }
.drawer a.big { font-size: clamp(30px, 9vw, 40px); font-weight: 500; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease-out); }
.drawer a.big[aria-current] { color: var(--accent-2); }
.menu-open .drawer a.big { opacity: 1; transform: none; }
.menu-open .drawer a.big:nth-child(2) { transition-delay: .05s; } .menu-open .drawer a.big:nth-child(3) { transition-delay: .1s; }
.menu-open .drawer a.big:nth-child(4) { transition-delay: .15s; } .menu-open .drawer a.big:nth-child(5) { transition-delay: .2s; }
.drawer .btn { margin-top: 24px; justify-content: center; flex: none; }
.drawer .btn + .btn { margin-top: 10px; }
@media (max-width: 1023px) { .top__links, .top__act { display: none; } .top__menu { display: block; } .top__bar { height: 72px; } .top__logo img { height: 46px; } }
@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------- sayfa başlığı ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(140px, 17vw, 230px) 0 clamp(48px, 7vw, 96px); }
.phero::before { content: ""; position: absolute; right: -10vw; top: -30%; width: 70vw; height: 120%; background: radial-gradient(closest-side, rgba(24, 150, 140, .15), transparent); pointer-events: none; }
.phero__in { position: relative; width: var(--wrap); margin-inline: auto; }
.phero__crumbs { font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.phero__crumbs a { transition: color .2s; } .phero__crumbs a:hover { color: var(--accent-2); }
.phero h1 { margin-top: 22px; font-weight: 600; font-size: clamp(42px, 7.6vw, 118px); line-height: .96; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; }
.phero h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.phero h1 .ln > span { display: inline-block; animation: s-rise 1.1s var(--ease-out) both; }
.phero h1 .ln:nth-child(2) > span { animation-delay: .1s; }
.phero__p { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 56ch; margin-top: 28px; animation: s-fade 1s .35s var(--ease-out) both; }
.phero .s-label, .phero__crumbs { animation: s-fade .9s var(--ease-out) both; }
.phero__rule { position: relative; width: var(--wrap); margin: clamp(40px, 6vw, 72px) auto 0; height: 1px; background: var(--line); transform-origin: left; animation: s-draw 1.4s .3s var(--ease-out) both; }
@keyframes s-rise { from { transform: translateY(105%); } }
@keyframes s-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes s-draw { from { transform: scaleX(0); } }

/* ---------- kapanış ---------- */
.end { position: relative; padding: clamp(90px, 13vw, 180px) 0 clamp(60px, 8vw, 100px); overflow: hidden; text-align: center; }
.end::before { content: ""; position: absolute; left: 50%; top: 40%; width: 120vw; height: 90vw; max-height: 1100px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(24, 150, 140, .18), transparent); pointer-events: none; }
.end__big { position: relative; font-weight: 600; font-size: clamp(44px, 9vw, 150px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.end__p { position: relative; color: var(--muted); max-width: 46ch; margin: 26px auto 0; font-size: clamp(16px, 1.3vw, 19px); }
.end__go { position: relative; display: inline-grid; place-items: center; width: clamp(140px, 14vw, 190px); aspect-ratio: 1; margin-top: clamp(36px, 4.5vw, 60px); border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 17px; transition: background-color .3s, transform .5s var(--ease-out); }
.end__go:hover { background: var(--ink); color: var(--bg); transform: scale(1.06); }
.end__go span { display: grid; justify-items: center; gap: 8px; }
.end__go svg { width: 26px; transform: rotate(-45deg); }
.contact { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(44px, 6vw, 72px); }
.contact a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); color: rgba(238, 243, 245, .85); transition: border-color .25s, background-color .25s, color .25s; }
.contact a:hover { border-color: var(--accent); color: var(--ink); background: rgba(24, 150, 140, .08); }
.contact svg { width: 18px; height: 18px; flex: none; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__in { width: var(--wrap); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.foot img { height: 64px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--muted); }
.foot nav a { padding: 10px 0; transition: color .2s; } .foot nav a:hover { color: var(--ink); }
.foot small { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot small a { padding: 10px 0; } .foot small a:hover { color: var(--ink); }

/* whatsapp */
.wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--ease-out); }
.wa:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .phero h1 .ln > span, .phero__p, .phero .s-label, .phero__crumbs, .phero__rule { animation: none; }
  .top, .drawer, .drawer a.big, .btn, .btn--main::before, .end__go { transition-duration: .01ms; }
}

/* telefon: altta uygulama gibi sekme çubuğu (anasayfa ile aynı) */
.tab { display: none; }
@media (max-width: 767px) {
  .tab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(8, 13, 18, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tab a { display: grid; justify-items: center; gap: 4px; min-height: 48px; padding-top: 4px; font-size: 11px; font-weight: 500; color: rgba(238, 243, 245, .7); transition: color .2s, transform .15s; }
  .tab a:active { transform: scale(.94); color: var(--ink); }
  .tab a[aria-current] { color: var(--accent-2); }
  .tab svg { width: 22px; height: 22px; }
  .tab .tab__ana { color: var(--ink); }
  .tab__ana span { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 26px -8px rgba(15, 130, 121, .9), 0 0 0 5px var(--bg); }
  .wa { display: none; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .menu-open .tab { display: none; }
}
