/* ============================================
   Kl. Psk. Çağla İribaş Bayram — Site Stili
   ============================================ */
:root {
  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --primary-light: #EFF6FF;
  --accent: #F59E0B;
  --dark: #0F172A;
  --text: #1E293B;
  --muted: #64748B;
  --bg: #F8FAFC;
  --bg-alt: #EEF2F7;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --primary: #3B82F6;
  --primary-dark: #60A5FA;
  --primary-light: #1E3A5F;
  --accent: #FBBF24;
  --dark: #F1F5F9;
  --text: #C7D2E2;
  --muted: #8CA3BE;
  --bg: #0F172A;
  --bg-alt: #111C33;
  --white: #16233F;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .btn-primary { color: #0F172A; }
[data-theme="dark"] .btn-whatsapp { color: #0F172A; }
[data-theme="dark"] .hero { background: linear-gradient(160deg, var(--bg) 55%, var(--primary-light) 100%); }
[data-theme="dark"] .badge { background: var(--white); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .step-num { color: #0F172A; }
[data-theme="dark"] .svc-cta .btn { color: #0F172A; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--dark);
  line-height: 1.2;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-whatsapp { background: #25D366; color: #fff; width: 100%; text-align: center; margin-top: 20px; }
.btn-whatsapp:hover { background: #1eb856; transform: translateY(-2px); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: var(--dark); }
.logo-title { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.92rem; transition: color .2s, transform .2s, text-shadow .2s; display: inline-block; }
.nav-links a:hover { color: var(--primary); transform: translateY(-2px) scale(1.08); text-shadow: 0 0 14px rgba(37, 99, 235, .45); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== Hero — animasyonlu arka plan ===== */
.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg) 55%, var(--primary-light) 100%);
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%);
  top: -160px; right: -120px;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, .28), transparent 70%);
  bottom: -140px; left: -100px;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}
.hero .container { position: relative; z-index: 1; }

/* ===== Sosyal kanıt bandı ===== */
.proof-band {
  border-block: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--white);
  overflow: hidden;
  padding: 16px 0;
}
.proof-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.proof-track span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof-track span::before { content: '✦'; color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Tema toggle ===== */
.theme-toggle {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-size: 1.25rem;
  z-index: 210;
  transition: transform .25s;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { transform: scale(1.1) rotate(15deg); }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .proof-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--primary); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; margin-bottom: 22px; }
.hero h1 em { color: var(--primary); font-style: italic; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  background: var(--white);
  border: 1px solid rgba(30,51,46,.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.hero-photo-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 2px solid var(--accent);
  border-radius: 24px;
  z-index: -1;
}
.hero-trust { font-size: 0.86rem; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; font-weight: 500; }
.hero-trust::before { content: '🛡️'; font-size: 1rem; }

.hero-chip {
  position: absolute;
  display: flex; gap: 10px; align-items: center;
  background: var(--white);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(37, 99, 235, .15);
  animation: chipFloat 6s ease-in-out infinite;
}
.hero-chip-rating { top: -18px; right: 14px; }
.hero-chip-online { bottom: -20px; left: 16px; animation-delay: 3s; }
.hero-chip-stars { color: var(--accent); font-size: 0.95rem; letter-spacing: 2px; white-space: nowrap; }
.hero-chip-text { font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
.hero-chip-text strong { display: block; color: var(--dark); font-size: 0.88rem; }
.hero-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); flex-shrink: 0; animation: pulseDot 2.4s ease-in-out infinite; }

@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); } 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, .06); } }

/* ===== Ayrıca çalışma alanları grid ===== */
.also-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.also-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--white);
  border: 1px solid var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.also-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.also-icon { font-size: 1.45rem; line-height: 1; }
.also-title { font-weight: 700; color: var(--dark); font-size: 0.96rem; }
.also-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

[data-theme="dark"] .also-card { border-color: rgba(255, 255, 255, .08); }

@media (max-width: 900px) {
  .hero-chip-rating { top: -14px; right: 6px; }
  .hero-chip-online { bottom: -16px; left: 6px; }
  .hero-chip { padding: 9px 12px; }
  .hero-chip-text { font-size: 0.68rem; }
  .hero-chip-text strong { font-size: 0.8rem; }
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 22px; }
.about-grid p { margin-bottom: 16px; }
.about-facts { display: grid; gap: 16px; }
.fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.fact-num { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 600; color: var(--primary); }
.fact-label { font-size: 0.88rem; color: var(--muted); }

/* ===== Cards (Çalışma Alanları) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.card-link { color: var(--primary); font-weight: 600; font-size: 0.88rem; margin-top: 18px; }
.also-list { margin-top: 34px; padding: 22px 28px; background: var(--white); border-radius: var(--radius); color: var(--muted); font-size: 0.92rem; }
.also-list strong { color: var(--dark); }

/* ===== Approach ===== */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.approach-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 30px;
  box-shadow: var(--shadow);
}
.approach-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.approach-item p { font-size: 0.94rem; color: var(--muted); }

/* ===== Steps (Süreç) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 44px; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); text-align: center; }
.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); }
.cta-center { text-align: center; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-size: 0.94rem; margin-bottom: 14px; }
.review-meta { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.review-note { margin-top: 28px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ===== Bugün Kendin İçin ===== */
.selfcare-card {
  background: var(--white);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow);
  border: 1px solid var(--bg-alt);
  padding: 44px 40px;
  text-align: center;
}
.selfcare-card h2 { margin-bottom: 12px; }
.selfcare-sub { color: var(--muted); max-width: 460px; margin: 0 auto 26px; font-size: 0.98rem; }
.selfcare-box {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, .02));
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: left;
  transition: opacity .45s ease, transform .45s ease;
  max-width: 560px;
  margin: 0 auto;
}
.selfcare-box.selfcare-fade { opacity: 0; transform: translateY(6px); }
.selfcare-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.selfcare-text { font-size: 1.02rem; color: var(--dark); font-weight: 500; line-height: 1.5; }
.selfcare-actions { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.selfcare-btn {
  border: 1.5px solid var(--primary); background: transparent; color: var(--primary);
  border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: background .2s, color .2s, transform .15s;
  font-family: inherit;
}
.selfcare-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.selfcare-hint { font-size: 0.8rem; color: var(--muted); }
.selfcare-note { margin-top: 24px; font-size: 0.95rem; color: var(--muted); }
.selfcare-note a { color: var(--primary); font-weight: 600; }

[data-theme="dark"] .selfcare-card { border-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .selfcare-text { color: var(--text); }

/* ===== FAQ ===== */
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--dark);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 0.94rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item strong { color: var(--dark); }
.contact-item p { font-size: 0.94rem; color: var(--muted); }
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer { background: #0F172A; color: #CBD5E1; padding: 56px 0 30px; }
[data-theme="dark"] .footer { background: #0B1220; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .logo-name { color: #fff; }
.footer .logo-title { color: #94A3B8; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #CBD5E1; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-contact a { color: #CBD5E1; font-size: 0.9rem; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: #94A3B8; }
.disclaimer { max-width: 640px; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }

/* ===== Service pages ===== */
.svc-hero { background: linear-gradient(160deg, var(--primary-light) 0%, var(--bg) 100%); padding: 60px 0 70px; }
.svc-hero .eyebrow { margin-bottom: 12px; }
.svc-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.svc-hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.svc-body { max-width: 760px; }
.svc-body h2 { font-size: 1.5rem; margin: 44px 0 16px; }
.svc-body h3 { font-size: 1.15rem; margin: 30px 0 12px; }
.svc-body p { margin-bottom: 16px; }
.svc-body ul { margin: 0 0 16px 22px; }
.svc-body li { margin-bottom: 8px; }
.svc-signs {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 30px;
  box-shadow: var(--shadow);
  margin: 26px 0;
}
.svc-signs h3 { margin-top: 0; }
.svc-cta {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 44px 40px;
  margin: 60px auto 0;
  text-align: center;
  color: #fff;
}
.svc-cta h2 { color: #fff; margin-bottom: 10px; }
.svc-cta p { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.svc-cta .btn { background: #fff; color: var(--primary-dark); }
.svc-cta .btn:hover { transform: translateY(-2px); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { align-items: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ============================================
   Online Testler
   ============================================ */
.test-intro { margin-bottom: 26px; }
.test-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 18px; font-weight: 600;
}
.test-intro p { color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.test-intro h2 { font-size: 1.4rem; margin-bottom: 14px; }

.q-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.q-progress {
  height: 8px; background: var(--bg-alt);
  border-radius: 99px; overflow: hidden; margin-bottom: 26px;
}
.q-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 99px; transition: width .35s ease;
}
.q-num { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.q-text { font-size: 1.22rem; font-weight: 600; margin-bottom: 24px; line-height: 1.5; }
.opts { display: grid; gap: 12px; }
.opt {
  text-align: left; padding: 15px 18px;
  border: 1.5px solid var(--bg-alt); background: var(--bg);
  border-radius: 10px; cursor: pointer; font-size: 0.98rem;
  color: var(--text); font-family: inherit;
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--primary); background: var(--primary-light); }
.opt.selected { border-color: var(--primary); background: var(--primary-light); font-weight: 600; }
.q-back {
  margin-top: 22px; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 0.9rem; font-family: inherit;
}
.q-back:hover { color: var(--primary); }

.result-title { text-align: center; font-size: 1.6rem; margin-bottom: 26px; }
.result-score {
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 22px; color: #fff;
}
.score-val { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.score-cap { font-size: 0.75rem; opacity: .9; margin-top: 4px; }
.result-band { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.result-text { text-align: center; color: var(--muted); margin-bottom: 26px; line-height: 1.7; }

.tone-bg-ok { background: #059669; }
.tone-bg-mild { background: #D97706; }
.tone-bg-mid { background: #EA580C; }
.tone-bg-high { background: #DC2626; }
.tone-ok { color: #059669; }
.tone-mild { color: #D97706; }
.tone-mid { color: #EA580C; }
.tone-high { color: #DC2626; }

.result-critical {
  background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B;
  padding: 16px 18px; border-radius: 10px; margin-bottom: 24px;
  font-size: 0.92rem; line-height: 1.6;
}
.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.test-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 26px; line-height: 1.6; }

.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.test-card-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }

[data-theme="dark"] .opt { border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .result-critical { background: rgba(220, 38, 38, .12); border-color: rgba(220, 38, 38, .4); color: #FCA5A5; }

@media (max-width: 640px) {
  .q-card { padding: 26px 20px; }
}

/* ============================================
   Blog
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.post-card-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 14px;
}
.post-cat {
  background: var(--primary-light); color: var(--primary-dark);
  padding: 4px 12px; border-radius: 99px; font-weight: 600; font-size: 0.75rem;
}
[data-theme="dark"] .post-cat { color: #60A5FA; }

.post-meta {
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 14px; font-weight: 600; letter-spacing: .3px;
}
.post-author {
  margin-top: 44px; padding: 24px 26px;
  background: var(--primary-light); border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.post-author-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.post-author-title { font-size: 0.88rem; color: var(--muted); }

/* ============================================
   Randevu Ajandası
   ============================================ */
[hidden] { display: none !important; }

.agenda-hero {
  padding: 56px 0 38px;
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .agenda-hero {
  background: linear-gradient(160deg, rgba(59, 130, 246, .12) 0%, var(--bg) 100%);
}
.agenda-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.agenda-hero h1 em { color: var(--primary); font-style: italic; }
.agenda-hero .lead { color: var(--muted); max-width: 680px; font-size: 1.04rem; }
.agenda-page { padding: 36px 0 84px; }

.agenda-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.week-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.week-label {
  font-weight: 700;
  color: var(--dark);
  min-width: 190px;
  text-align: center;
  font-size: 0.98rem;
}
.week-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--bg-alt);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.week-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.week-today { font-size: 0.82rem; font-weight: 600; }

.agenda-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}
.agenda-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.legend-dot.free { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.legend-dot.busy { background: #F43F5E; box-shadow: 0 0 0 3px rgba(244,63,94,.16); }
.legend-dot.closed { background: #94A3B8; box-shadow: 0 0 0 3px rgba(148,163,184,.18); }

.agenda-summary { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }

.agenda-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.agenda-day {
  background: var(--white);
  border: 1px solid var(--bg-alt);
  border-radius: 14px;
  padding: 10px 9px 12px;
  min-height: 170px;
  transition: border-color .2s, box-shadow .2s;
}
.agenda-day.is-today {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
.agenda-day-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 3px 9px;
  border-bottom: 1px solid var(--bg-alt);
}
.ad-name {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
}
.ad-num {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}
.ad-month { font-size: 0.7rem; color: var(--muted); }

.agenda-slots { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; }
.agenda-day-empty { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 10px 0; }

.slot {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  text-align: left;
  border-radius: 9px;
  border: 1px solid transparent;
  padding: 7px 9px;
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.3;
  transition: background .18s, border-color .18s, transform .18s;
}
.slot-time { font-weight: 700; font-size: 0.76rem; letter-spacing: .1px; }
.slot-status { font-size: 0.7rem; font-weight: 600; opacity: .85; }
.slot-main {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-sub {
  font-size: 0.69rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-free {
  background: rgba(34, 197, 94, .12);
  border-color: rgba(34, 197, 94, .38);
  color: #15803D;
  cursor: pointer;
}
.slot-free:hover { background: rgba(34, 197, 94, .20); border-color: #22C55E; transform: translateY(-2px); }
.slot-free .slot-main { color: #15803D; }

.slot-busy {
  background: rgba(148, 163, 184, .14);
  border-color: rgba(148, 163, 184, .32);
  color: var(--muted);
  cursor: default;
}
.slot-client {
  background: rgba(244, 63, 94, .09);
  border-color: rgba(244, 63, 94, .28);
  color: #BE123C;
}
.slot-client .slot-main { color: #BE123C; }
.slot-admin { cursor: pointer; }
.slot-admin:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.slot-past { opacity: .45; filter: grayscale(.35); }
.slot-past:hover { transform: none; }

[data-theme="dark"] .slot-free { color: #4ADE80; background: rgba(34, 197, 94, .14); }
[data-theme="dark"] .slot-free .slot-main { color: #4ADE80; }
[data-theme="dark"] .slot-client { color: #FDA4AF; background: rgba(244, 63, 94, .13); }
[data-theme="dark"] .slot-client .slot-main { color: #FDA4AF; }
[data-theme="dark"] .agenda-day { border-color: rgba(255, 255, 255, .07); }
[data-theme="dark"] .week-btn { border-color: rgba(255, 255, 255, .10); }

.agenda-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 22px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed rgba(148, 163, 184, .45);
  border-radius: 14px;
  font-size: 0.94rem;
}

/* ---- Danışan bilgi kartları ---- */
.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 22px;
}
.privacy-note strong { color: var(--dark); }
.agenda-cta { margin-top: 26px; }

/* ---- Yönetici: giriş ---- */
.login-wrap {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 70px;
}
.login-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 36px 34px;
  width: 100%;
  max-width: 430px;
  border: 1px solid var(--bg-alt);
}
.login-card h1 { font-size: 1.65rem; margin: 4px 0 10px; }
.login-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.login-error {
  background: rgba(225, 29, 72, .10);
  border: 1px solid rgba(225, 29, 72, .28);
  color: #BE123C;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
[data-theme="dark"] .login-error { color: #FDA4AF; }
.login-hint { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 14px; }
.login-hint code { background: var(--bg-alt); padding: 2px 7px; border-radius: 5px; color: var(--text); }

/* ---- Yönetici: üst bölüm ---- */
.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2px 0 6px; }
.admin-sub { font-size: 0.9rem; color: var(--muted); max-width: 560px; }
.admin-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-user {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 6px 12px;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--bg-alt);
  border-radius: 12px;
  padding: 13px 16px;
}
.stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.stat span { font-size: 0.76rem; color: var(--muted); font-weight: 600; }

.admin-toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.input-search { min-width: 180px; padding: 9px 13px; font-size: 0.88rem; }

.admin-note {
  margin-top: 24px;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}
.admin-note strong { color: var(--dark); }

/* ---- Form alanları ---- */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.input, .select, .textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 9px;
  border: 1.5px solid var(--bg-alt);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color .18s, box-shadow .18s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.textarea { resize: vertical; min-height: 78px; }
[data-theme="dark"] .input, [data-theme="dark"] .select, [data-theme="dark"] .textarea { color-scheme: dark; }
.field-hint { font-size: 0.76rem; color: var(--muted); margin-top: 5px; }

.day-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.day-chip { position: relative; display: inline-flex; cursor: pointer; }
.day-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day-chip span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--bg-alt);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all .18s;
}
.day-chip input:checked + span {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}
[data-theme="dark"] .day-chip input:checked + span { color: #93C5FD; }
.day-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.status-toggle { display: flex; gap: 8px; }
.status-opt {
  flex: 1;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--bg-alt);
  background: var(--bg);
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all .18s;
}
.status-opt.active[data-status="free"] {
  border-color: #22C55E;
  background: rgba(34, 197, 94, .12);
  color: #15803D;
}
.status-opt.active[data-status="busy"] {
  border-color: #F43F5E;
  background: rgba(244, 63, 94, .10);
  color: #BE123C;
}
[data-theme="dark"] .status-opt.active[data-status="free"] { color: #4ADE80; }
[data-theme="dark"] .status-opt.active[data-status="busy"] { color: #FDA4AF; }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, .66);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 24px;
  width: 100%;
  max-width: 470px;
  max-height: 91vh;
  overflow-y: auto;
  border: 1px solid var(--bg-alt);
  animation: modalIn .18s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.modal-head h3 { font-size: 1.25rem; line-height: 1.3; }
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
}
.modal-close:hover { color: var(--dark); background: var(--bg-alt); }
.modal-text { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.modal-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-alt);
}
.modal-actions .btn { margin: 0; }
.modal-wide { max-width: 620px; }

.template-group {
  background: var(--bg);
  border: 1.5px solid var(--bg-alt);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: opacity .18s, border-color .18s;
}
.template-group.is-disabled { opacity: .52; }
.template-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.template-group-head input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.template-group-title { display: flex; flex-direction: column; gap: 1px; }
.template-group-title strong { font-size: .87rem; color: var(--dark); }
.template-group-title small { font-size: .75rem; color: var(--muted); }
.template-group-times { margin-top: 10px; }
.template-group-times .field { margin-bottom: 0; }
.template-start-note {
  padding: 10px 13px;
  border-radius: 9px;
  border: 1.5px solid var(--bg-alt);
  background: var(--bg);
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
}
.template-preview {
  margin: 12px 0 0;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}
.template-preview.is-warning { background: #FEF3C7; color: #92400E; }
[data-theme="dark"] .template-preview { color: #93C5FD; }
[data-theme="dark"] .template-preview.is-warning { background: rgba(245, 158, 11, .14); color: #FCD34D; }

.btn-danger { background: #E11D48; color: #fff; }
.btn-danger:hover { background: #BE123C; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--bg-alt);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Demo / bildirim ---- */
.demo-banner {
  background: #FEF3C7;
  color: #92400E;
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  border-bottom: 1px solid #FDE68A;
  line-height: 1.5;
}
.demo-banner strong { letter-spacing: .5px; }
.demo-banner code { background: rgba(146, 64, 14, .10); padding: 2px 6px; border-radius: 4px; }
[data-theme="dark"] .demo-banner {
  background: rgba(245, 158, 11, .14);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, .30);
}

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--dark);
  color: var(--bg);
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s;
  max-width: 92vw;
  text-align: center;
}

.is-hidden { display: none !important; }

/* ---- Ajanda duyarlılık ---- */
@media (max-width: 1050px) {
  .agenda-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .agenda-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agenda-stats { grid-template-columns: repeat(2, 1fr); }
  .agenda-toolbar { align-items: flex-start; }
  .week-label { min-width: 0; flex: 1; text-align: left; }
  .admin-toolbar-right { width: 100%; }
  .input-search { flex: 1; }
}
@media (max-width: 480px) {
  .agenda-week { grid-template-columns: 1fr; }
  .agenda-day { min-height: 0; }
  .modal { padding: 22px 18px; }
  .login-card { padding: 28px 22px; }
}
