/* Allis Health tanıtım + yasal sitesi.
   Palet, Alis_mobil/assets/images/allis_slider_logo.png üzerinden örneklendi. */

:root {
  color-scheme: light dark; /* kaydırma çubuğu ve form ögeleri temaya uysun */

  --teal-900: #0b4a56;
  --teal-800: #0e6172;
  --teal-700: #147e92;
  --teal-600: #1590a0;
  --teal-500: #17a3aa;
  --teal-400: #16b8b8;
  --cyan: #00b0f0;
  --green: #00d0a0;

  --ink: #13232b;
  --ink-soft: #4b6570;
  --line: #dfeaec;
  --bg: #ffffff;
  --bg-soft: #f2f8f9;
  --bg-card: #ffffff;
  --icon-bg: #e3f4f5;
  --shadow: 0 1px 2px rgba(14, 97, 114, .05), 0 10px 30px rgba(14, 97, 114, .08);
  --shadow-lift: 0 2px 4px rgba(14, 97, 114, .06), 0 18px 44px rgba(14, 97, 114, .14);

  --radius: 18px;
  --wrap: 64rem;
  --prose: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9f2f4;
    --ink-soft: #a7bfc7;
    --line: #23404a;
    --bg: #0c1b21;
    --bg-soft: #10242c;
    --bg-card: #122831;
    --icon-bg: #143843;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 44px rgba(0, 0, 0, .45);
    --teal-700: #3cb6c2;
    --teal-800: #59c7d0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Yapışkan başlık, çapaya atlanınca hedefin üstünü örter. Başlık yüksekliği ~64px. */
[id] { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.35rem; }
.prose { max-width: var(--prose); }

.skip {
  position: absolute; left: -9999px;
  background: var(--bg-card); color: var(--ink);
  padding: .6rem 1rem; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Başlık ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 5;
}
.site-head .wrap {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px; flex-wrap: wrap; padding-top: .4rem; padding-bottom: .4rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.site-nav {
  margin-left: auto; display: flex; gap: .25rem; flex-wrap: wrap;
  font-size: .93rem; align-items: center;
}
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 550;
  padding: .35rem .7rem; border-radius: 999px;
}
.site-nav a:hover { color: var(--teal-800); background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--teal-800); background: var(--icon-bg); }
.site-nav .lang {
  border: 1px solid var(--line); margin-left: .35rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--teal-900) 0%, #128d9c 55%, var(--teal-400) 120%);
  color: #fff;
  padding: 4.5rem 0 5rem;
}
/* Dekoratif ışık lekeleri + EKG çizgisi (değer taşımaz, süslemedir). */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38rem 24rem at 85% -10%, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(30rem 20rem at -10% 110%, rgba(0, 208, 160, .18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1.1rem; height: 80px;
  pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 80'><polyline points='0,52 66,52 84,52 93,22 103,70 113,38 121,52 260,52' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: repeat-x; background-size: 260px 80px; background-position: bottom;
}
.hero .wrap { position: relative; }
.hero .tagline {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
  opacity: .85; margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5.6vw, 3.2rem); line-height: 1.12;
  letter-spacing: -.02em; font-weight: 800; margin: 0 0 1.1rem;
}
.hero p { font-size: 1.14rem; line-height: 1.65; margin: 0; max-width: 36rem; opacity: .94; }
.hero .cta { margin-top: 2.1rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-block; padding: .8rem 1.5rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: #fff; color: var(--teal-900); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn--solid:hover { background: #eefafb; color: var(--teal-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--brand {
  background: var(--teal-600); color: #fff;
  box-shadow: 0 8px 22px rgba(21, 144, 160, .35);
}
.btn--brand:hover { background: var(--teal-800); color: #fff; }

/* Mağaza düğmeleri — her mağaza için ayrı düğme. */
.btn--store {
  display: inline-flex; align-items: baseline; gap: .45rem;
  background: #fff; color: var(--teal-900);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.btn--store:hover { background: #eefafb; color: var(--teal-900); }
.store-note { font-size: .78rem; font-weight: 600; opacity: .7; }

/* Mağaza adresi henüz yok: düğme görünür ama tıklanamaz (href yer tutucu).
   Yayında `data-soon` ve `.store-note` birlikte silinir — check-site ikisinin
   gerçek adresle tutarlı olmasını denetler, yani ölü mağaza bağlantısı yayınlanamaz. */
.btn--store[data-soon] {
  pointer-events: none; transform: none; box-shadow: none;
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .45); border-style: dashed;
}

/* ---------- Bölümler ---------- */

section { padding: 4rem 0; }
section.alt { background: var(--bg-soft); }
h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.1rem); line-height: 1.2;
  letter-spacing: -.015em; font-weight: 750; margin: 0 0 1rem;
}
h3 { font-size: 1.14rem; font-weight: 700; margin: 0 0 .45rem; }
.lead { color: var(--ink-soft); font-size: 1.06rem; max-width: var(--prose); margin: 0 0 2.25rem; }

.grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; line-height: 1.65; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--icon-bg); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 1.05rem;
}
.card-icon svg { width: 24px; height: 24px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.15rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: s; position: relative;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.4rem 1.5rem 4rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 1.25rem; top: 1.4rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; line-height: 1.65; }

/* Ekran görüntüsü yer tutucuları — görseller çekilince değişir.
   .shot telefon oranında (mobil uygulama), .screen tarayıcı oranında (hekim paneli). */
.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.shot { aspect-ratio: 9 / 19.5; border-radius: 24px; }

.screens { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .screens { grid-template-columns: repeat(2, 1fr); } }
.screen { aspect-ratio: 16 / 10; border-radius: var(--radius); }

.shot, .screen {
  border: 2px dashed var(--line);
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); font-size: .85rem; padding: 1rem;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg-card));
}

/* ---------- Metin sayfaları ---------- */

.page-head {
  border-bottom: 1px solid var(--line); padding: 3rem 0 2.4rem;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
}
.page-head h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.5rem); letter-spacing: -.02em;
  font-weight: 800; margin: 0 0 .6rem; line-height: 1.15;
}
.page-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; max-width: var(--prose); }

.doc { padding: 2.5rem 0 4rem; }
.doc h1 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); letter-spacing: -.02em; font-weight: 800; line-height: 1.15; }
.doc h2 { font-size: 1.3rem; margin: 2.4rem 0 .6rem; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.05rem; margin: 1.5rem 0 .35rem; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.35rem; }
.doc li { margin: .35rem 0; }
.doc li::marker { color: var(--teal-500); }
.doc dl { margin: 0; }
.doc dt { font-weight: 700; margin-top: 1.1rem; }
.doc dd { margin: .15rem 0 0; color: var(--ink-soft); }

.note {
  border-left: 4px solid var(--teal-500); background: var(--bg-soft);
  padding: 1rem 1.2rem; border-radius: 0 14px 14px 0;
  margin: 1.6rem 0; font-size: .97rem;
}
.note strong { color: var(--teal-800); }
.warn { border-left-color: #d9822b; background: rgba(217, 130, 43, .07); }
.warn strong { color: #b06316; }
@media (prefers-color-scheme: dark) { .warn strong { color: #f0a35a; } }
.draft {
  border: 1px dashed #d9822b; background: rgba(217, 130, 43, .08);
  color: var(--ink); padding: 1rem 1.2rem; border-radius: 14px;
  margin: 0 0 1.9rem; font-size: .95rem;
}

/* İletişim kutusu: Apple Guideline 1.5 — telefonda ilk ekranda görünmeli. */
.contact {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--teal-500);
  margin: 0 0 2rem;
}
.contact .mail {
  font-size: clamp(1.1rem, 3.8vw, 1.4rem); font-weight: 800;
  display: inline-block; margin: .3rem 0 .8rem; word-break: break-all;
  letter-spacing: -.01em;
}
.contact p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Doldurulmaya hazır boş bölüm (anlaşmalı klinik listesi). */
.empty {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; color: var(--ink-soft);
  background: linear-gradient(160deg, var(--bg-soft), var(--bg-card));
}

/* ---------- SSS ---------- */

details {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.2rem; margin: 0 0 .8rem; background: var(--bg-card);
  box-shadow: var(--shadow);
}
summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--icon-bg); color: var(--teal-700);
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 600; line-height: 1;
  transition: transform .18s ease;
}
details[open] summary::after { content: "−"; transform: rotate(180deg); }
details p { color: var(--ink-soft); margin: .7rem 0 0; }

/* ---------- Altlık ---------- */

.site-foot {
  background: #0c2b33; color: #9dc0c9;
  padding: 2.75rem 0; font-size: .93rem;
}
.site-foot nav { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.site-foot a { color: #d4e8ec; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot p { margin: .35rem 0; }
