/* ==========================================================================
   Diyetisyen Esin Uzun — ziyaretçi sitesi.

   TEK tasarım: Organik Avokado (<html data-theme="organic-avocado">). Üç temalı
   sistem kaldırıldı. Admin panelinden yalnızca hazır bir vurgu RENK PALETİ
   seçilir; palet <html data-accent="..."> üzerinden uygulanır ve tasarım
   jetonlarını (accent, başlık, çerçeve, blog/iletişim zemini vb.) birlikte
   değiştirir. Eski elegant-nutrition / modern-natural blokları geriye dönük
   uyumluluk için durur ancak data-theme daima organic-avocado olduğu için
   hiçbir zaman eşleşmez.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TEMA DEĞİŞKENLERİ
   -------------------------------------------------------------------------- */

:root {
  /* Ortak ölçüler */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(0.22, 0.75, 0.3, 1);
  --t-fast: 0.2s var(--ease);
  --t-slow: 0.45s var(--ease);

  /* Tema geçiş süresi; admin kapatırsa 0'a çekilir */
  --theme-anim: 0.4s;

  /* ---------------------------------------------------------------------
     YAZI STİLİ — bu değerler yönetim panelindeki "Görünüm ve Yazı Stili"
     sayfasından gelir ve main.js tarafından <html> üzerine yazılır.
     Buradakiler yalnızca güvenli varsayılanlardır.
     --------------------------------------------------------------------- */
  /* ---------------------------------------------------------------------
     YAZI BOYUTLARI — semantik degiskenler.
     Gercek degerler /api/site'tan gelen <style> ile masaustu/tablet/mobil
     kirilimlariyla yazilir (src/appearance.js). Buradakiler yalnizca guvenli
     varsayilanlardir; ayar sistemi calismasa bile site duzgun gorunur.
     --------------------------------------------------------------------- */
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --line-height-body: 1.82;
  --letter-spacing-body: 0;

  --font-size-header-brand: 20px;
  --font-size-header-subtitle: 11px;
  --font-size-nav: 16px;
  --font-size-header-cta: 16px;

  --font-size-hero-eyebrow: 12px;
  --font-size-hero-title: 54px;
  --font-size-hero-subtitle: 18px;
  --font-size-hero-tag: 14px;
  --font-size-hero-cta: 15px;

  --font-size-about-title: 40px;
  --font-size-about-body: 17px;
  --font-size-about-motivation-title: 22px;
  --font-size-about-motivation-text: 16px;

  --font-size-services-eyebrow: 12px;
  --font-size-services-section-title: 40px;
  --font-size-services-desc: 16px;
  --font-size-service-card-title: 18px;
  --font-size-service-card-description: 14px;
  --font-size-service-mode-tag: 12px;

  --font-size-online-eyebrow: 12px;
  --font-size-online-title: 40px;
  --font-size-online-body: 16px;
  --font-size-online-advantage: 15px;
  --font-size-online-cta: 15px;

  --font-size-faq-section-title: 40px;
  --font-size-faq-question: 17px;
  --font-size-faq-answer: 15px;

  --font-size-blog-section-title: 40px;
  --font-size-blog-section-desc: 16px;
  --font-size-blog-card-title: 19px;
  --font-size-blog-card-description: 15px;
  --font-size-blog-meta: 12px;
  --font-size-blog-more: 14px;

  --font-size-resources-section-title: 40px;
  --font-size-resources-section-desc: 16px;
  --font-size-resource-card-title: 19px;
  --font-size-resource-excerpt: 15px;
  --font-size-resource-source: 13px;
  --font-size-resource-link: 14px;

  --font-size-contact-section-title: 40px;
  --font-size-contact-section-desc: 16px;
  --font-size-contact-card-title: 12px;
  --font-size-contact-card-text: 16px;
  --font-size-contact-form-title: 21px;
  --font-size-contact-form-label: 14px;
  --font-size-contact-input: 16px;
  --font-size-contact-help: 13px;
  --font-size-contact-button: 15px;

  --font-size-footer-brand: 20px;
  --font-size-footer-area: 14px;
  --font-size-footer-text: 13px;
  --font-size-footer-social: 19px;

  /* Genel gövde metni (paragraflar) about-body ile aynı ölçek ailesinde */
  --font-size-body: 16.5px;
}

/* ---------- TEMA 1: ZARİF BESLENME (varsayılan) --------------------------- */

:root,
[data-theme="elegant-nutrition"] {
  --bg:            #fbf8f2;   /* sıcak kırık beyaz */
  --bg-soft:       #f4efe4;   /* açık krem */
  --bg-accent:     #eef0e2;   /* çok açık adaçayı */
  --surface:       #ffffff;
  --surface-2:     #fdfbf6;

  /* Blog ve iletişim bölümleri farklı zeminlerde durur (birbirine karışmasın) */
  --section-blog-bg:    #fbf8f2;
  --section-contact-bg: #eef1e4;

  --brand:         #4a5a30;   /* koyu zeytin yeşili */
  --brand-deep:    #37461f;
  --brand-soft:    #dfe4cf;
  --accent:        #5d6b3c;   /* vurgu (admin ayarıyla değişir) */
  --accent-2:      #c98a63;   /* sıcak şeftali */
  --accent-3:      #8a9b78;   /* adaçayı */

  --ink:           #2f2a24;   /* antrasit-kahve */
  --ink-soft:      #56504a;   /* sıcak kahverengi metin */
  --ink-muted:     #857c72;
  --line:          #e6ddcd;
  --line-strong:   #d6cab4;

  --heading-font:  Georgia, "Times New Roman", "Iowan Old Style", serif;
  --body-font:     "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --heading-weight: 400;
  --title-spacing: -0.015em;

  --radius-card:   18px;
  --radius-photo:  260px 260px 24px 24px;   /* kemerli çerçeve */
  --radius-pill:   999px;
  --radius-chip:   999px;

  --shadow-sm:     0 1px 2px rgba(47, 42, 36, 0.05);
  --shadow:        0 24px 60px -32px rgba(47, 42, 36, 0.35);
  --shadow-soft:   0 12px 32px -20px rgba(47, 42, 36, 0.3);

  --hero-bg:       linear-gradient(180deg, #fbf8f2 0%, #f6f1e6 100%);

  --deco-opacity:  0.4;
  --card-tilt:     0deg;
}

/* Vurgu rengi ön ayarları (admin panelinden seçilir) */
[data-theme="elegant-nutrition"][data-accent="olive"] { --accent: #5d6b3c; }
[data-theme="elegant-nutrition"][data-accent="sage"]  { --accent: #7c8f6b; }
[data-theme="elegant-nutrition"][data-accent="clay"]  { --accent: #a9714b; }
[data-theme="elegant-nutrition"][data-accent="peach"] { --accent: #c98a63; }

/* ---------- TEMA 2: ORGANİK AVOKADO -------------------------------------- */

[data-theme="organic-avocado"] {
  --bg:            #f7f8f1;
  --bg-soft:       #eef2e3;
  --bg-accent:     #e4ecd6;
  --surface:       #ffffff;
  --surface-2:     #f9fbf4;

  --section-blog-bg:    #f7f8f1;
  --section-contact-bg: #e4ecd6;

  --brand:         #4f6b33;
  --brand-deep:    #3b5325;
  --brand-soft:    #dbe4cd;
  --accent:        #6f8f4a;   /* avokado yeşili */
  --accent-2:      #b8763f;   /* tohum kahvesi */
  --accent-3:      #9bb08b;   /* adaçayı */

  --ink:           #23301f;
  --ink-soft:      #445039;
  --ink-muted:     #77836c;
  --line:          #dde5d0;
  --line-strong:   #c6d3b4;

  --heading-font:  "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body-font:     "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --heading-weight: 700;
  --title-spacing: -0.02em;

  --radius-card:   28px 8px 28px 8px;       /* organik / asimetrik kart */
  --radius-photo:  46% 54% 42% 58% / 52% 44% 56% 48%;  /* avokado formu */
  --radius-pill:   999px;
  --radius-chip:   14px 6px 14px 6px;

  --shadow-sm:     0 2px 4px rgba(35, 48, 31, 0.06);
  --shadow:        0 26px 55px -30px rgba(35, 48, 31, 0.42);
  --shadow-soft:   0 14px 34px -22px rgba(35, 48, 31, 0.38);

  --hero-bg:       radial-gradient(70vw 50vw at 88% -10%, #dbe4cd88, transparent 68%),
                   radial-gradient(60vw 46vw at -10% 105%, #f2e3d0aa, transparent 70%),
                   #f7f8f1;

  --deco-opacity:  0.85;
  --card-tilt:     -0.35deg;
}

/* --------------------------------------------------------------------------
   HAZIR VURGU RENK PALETLERİ
   Site tek tasarım (Organik Avokado) kullanır. Admin panelinden yalnızca hazır
   bir renk paleti seçilir; her palet sitenin gerçek tasarım jetonlarını birlikte
   değiştirir. data-accent <html> üzerine main.js/site-common tarafından yazılır.
   Bu bloklar organic-avocado temel bloğundan SONRA gelir; sıra ile kazanır.
   Ayrıca görev sözleşmesindeki isimli değişkenler (--accent-primary vb.) de
   birlikte tanımlanır.
   -------------------------------------------------------------------------- */

[data-accent="avocado"] {
  --accent-primary: #6f8f4a; --accent: #6f8f4a; --accent-dark: #3b5325; --accent-hover: #5f7d3d;
  --accent-light: #e4ecd6;   --accent-2: #b8763f;
  --heading-color: #3b5325;  --brand: #3b5325; --brand-deep: #2c4720; --brand-soft: #dbe4cd;
  --border-color: #c6d3b4;   --line: #dde5d0; --line-strong: #c6d3b4;
  --icon-bg: #e4ecd6; --badge-bg: #e4ecd6; --focus-color: #6f8f4a; --bg-accent: #e4ecd6;
  --section-blog-bg: #f7f8f1; --section-contact-bg: #e4ecd6;
}
[data-accent="sage"] {
  --accent-primary: #7c8f6b; --accent: #7c8f6b; --accent-dark: #46523a; --accent-hover: #6b7c5b;
  --accent-light: #e6ebdd;   --accent-2: #b08a5f;
  --heading-color: #42513a;  --brand: #42513a; --brand-deep: #333f2c; --brand-soft: #dde3d0;
  --border-color: #c9d1bc;   --line: #dfe4d5; --line-strong: #c9d1bc;
  --icon-bg: #e6ebdd; --badge-bg: #e6ebdd; --focus-color: #7c8f6b; --bg-accent: #e6ebdd;
  --section-blog-bg: #f6f8f0; --section-contact-bg: #e6ebdd;
}
[data-accent="olive"] {
  --accent-primary: #5d6b3c; --accent: #5d6b3c; --accent-dark: #333a1d; --accent-hover: #4e5b31;
  --accent-light: #e8ead4;   --accent-2: #b8763f;
  --heading-color: #333a1d;  --brand: #333a1d; --brand-deep: #262b15; --brand-soft: #dce0c8;
  --border-color: #cbd0af;   --line: #e0e2cd; --line-strong: #cbd0af;
  --icon-bg: #e8ead4; --badge-bg: #e8ead4; --focus-color: #5d6b3c; --bg-accent: #e8ead4;
  --section-blog-bg: #f8f8ef; --section-contact-bg: #e8ead4;
}
[data-accent="moss"] {
  --accent-primary: #4f7a3e; --accent: #4f7a3e; --accent-dark: #2c4724; --accent-hover: #426a33;
  --accent-light: #dcebcf;   --accent-2: #b8763f;
  --heading-color: #2c4724;  --brand: #2c4724; --brand-deep: #21391c; --brand-soft: #d5e5c6;
  --border-color: #bcd3aa;   --line: #d6e5c9; --line-strong: #bcd3aa;
  --icon-bg: #dcebcf; --badge-bg: #dcebcf; --focus-color: #4f7a3e; --bg-accent: #dcebcf;
  --section-blog-bg: #f5f9ee; --section-contact-bg: #dcebcf;
}
[data-accent="fresh"] {
  --accent-primary: #7ba046; --accent: #7ba046; --accent-dark: #3a5f2c; --accent-hover: #6d9040;
  --accent-light: #e6f0d6;   --accent-2: #c08a3c;
  --heading-color: #3a5f2c;  --brand: #3a5f2c; --brand-deep: #2d4b22; --brand-soft: #dcebc7;
  --border-color: #c4d8a6;   --line: #dcebc9; --line-strong: #c4d8a6;
  --icon-bg: #e6f0d6; --badge-bg: #e6f0d6; --focus-color: #7ba046; --bg-accent: #e6f0d6;
  --section-blog-bg: #f7faef; --section-contact-bg: #e6f0d6;
}
[data-accent="earth"] {
  --accent-primary: #6b7546; --accent: #6b7546; --accent-dark: #3a4226; --accent-hover: #5c6539;
  --accent-light: #eae9d5;   --accent-2: #ad7a45;
  --heading-color: #3a4226;  --brand: #3a4226; --brand-deep: #2d341d; --brand-soft: #dee0c9;
  --border-color: #ccceac;   --line: #e2e2cd; --line-strong: #ccceac;
  --icon-bg: #eae9d5; --badge-bg: #eae9d5; --focus-color: #6b7546; --bg-accent: #eae9d5;
  --section-blog-bg: #f8f7ec; --section-contact-bg: #eae9d5;
}
[data-accent="clay"] {
  --accent-primary: #9c6b3f; --accent: #9c6b3f; --accent-dark: #5a3f27; --accent-hover: #895b33;
  --accent-light: #ece1d0;   --accent-2: #6f8f4a;
  --heading-color: #4a4630;  --brand: #4a4630; --brand-deep: #383623; --brand-soft: #e3dccb;
  --border-color: #d8c6ac;   --line: #e6ddcd; --line-strong: #d8c6ac;
  --icon-bg: #ece1d0; --badge-bg: #ece1d0; --focus-color: #9c6b3f; --bg-accent: #ece1d0;
  --section-blog-bg: #f9f5ee; --section-contact-bg: #ece1d0;
}
[data-accent="sand"] {
  --accent-primary: #8a7048; --accent: #8a7048; --accent-dark: #4a4a2c; --accent-hover: #79603c;
  --accent-light: #ece5d3;   --accent-2: #6f8f4a;
  --heading-color: #4a4a2c;  --brand: #4a4a2c; --brand-deep: #383820; --brand-soft: #e4dcc7;
  --border-color: #d5c9a9;   --line: #e6ddc9; --line-strong: #d5c9a9;
  --icon-bg: #ece5d3; --badge-bg: #ece5d3; --focus-color: #8a7048; --bg-accent: #ece5d3;
  --section-blog-bg: #faf7ee; --section-contact-bg: #ece5d3;
}

/* ---------- TEMA 3: MODERN DOĞAL ----------------------------------------- */

[data-theme="modern-natural"] {
  --bg:            #f9f7f0;
  --bg-soft:       #f1f0e5;
  --bg-accent:     #e8eddd;
  --surface:       #ffffff;
  --surface-2:     #fcfbf5;

  --section-blog-bg:    #f9f7f0;
  --section-contact-bg: #e8eddd;

  --brand:         #3f5a3a;   /* koyu yeşil başlıklar */
  --brand-deep:    #2f4529;
  --brand-soft:    #dde5d0;
  --accent:        #3f5a3a;
  --accent-2:      #6f8f4a;   /* avokado vurgusu */
  --accent-3:      #93a684;

  --ink:           #2b2f28;
  --ink-soft:      #4d554a;
  --ink-muted:     #7e8578;
  --line:          #e2e0d2;
  --line-strong:   #cfccba;

  --heading-font:  Georgia, "Times New Roman", "Iowan Old Style", serif;
  --body-font:     "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --heading-weight: 400;
  --title-spacing: -0.015em;

  --radius-card:   24px 24px 24px 6px;      /* sade organik kart */
  --radius-photo:  50% 50% 32% 32% / 38% 38% 24% 24%;
  --radius-pill:   999px;
  --radius-chip:   999px;

  --shadow-sm:     0 1px 3px rgba(43, 47, 40, 0.06);
  --shadow:        0 24px 58px -32px rgba(43, 47, 40, 0.36);
  --shadow-soft:   0 13px 32px -21px rgba(43, 47, 40, 0.32);

  --hero-bg:       linear-gradient(175deg, #f9f7f0 0%, #eef1e4 100%);

  --deco-opacity:  0.6;
  --card-tilt:     0deg;
}

[data-theme="modern-natural"][data-accent="forest"]  { --accent: #3f5a3a; }
[data-theme="modern-natural"][data-accent="avocado"] { --accent: #6f8f4a; }
[data-theme="modern-natural"][data-accent="teal"]    { --accent: #3d6b63; }
[data-theme="modern-natural"][data-accent="sand"]    { --accent: #9c8560; }

/* Tema geçiş animasyonu admin panelinden kapatıldığında */
[data-theme-anim="off"] { --theme-anim: 0s; }

/* --------------------------------------------------------------------------
   2. TEMEL
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Sabit menünün altında kalmaması için bölüm hedeflerine üst boşluk */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  /* Ekran dışına taşan dekoratif öğeler yatay kaydırma çubuğu oluşturmasın. */
  overflow-x: clip;
}

/* Font ailesi ve punto: admin ayarı varsa o, yoksa temanın kendi fontu. */
body {
  margin: 0;
  font-family: var(--font-body, var(--body-font));
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--theme-anim) var(--ease), color var(--theme-anim) var(--ease);
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading, var(--heading-font));
  font-weight: var(--heading-weight);
  line-height: 1.18;
  letter-spacing: var(--title-spacing);
  color: var(--brand);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--wrap-narrow); }

/* Bot koruma alanı: ekranda görünmez */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   3. BUTONLAR
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;                 /* rahat dokunma alanı */
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: var(--btn-fg);
  text-decoration: none;
}
.btn:active { transform: none; }
.btn:disabled, .btn.is-loading { opacity: 0.65; pointer-events: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--accent); }

.btn--soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-deep); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.86rem; }
.btn--block { width: 100%; }

.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 17px; height: 17px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   4. MENÜ
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--theme-anim) var(--ease),
              box-shadow var(--t-fast);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(0, 0, 0, 0.5); }

/* Menü, ana içerikten daha geniş bir şerit kullanır: altı bağlantı ve
   büyük randevu butonu tek satıra rahatça sığsın. */
.nav .container { max-width: 1520px; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 84px;
  flex-wrap: nowrap;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand);
  flex: none;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand svg { width: 34px; height: 34px; flex: none; color: var(--accent); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand-text strong {
  font-family: var(--font-heading, var(--heading-font));
  font-weight: var(--heading-weight);
  font-size: var(--font-size-header-brand);
  letter-spacing: 0.01em;
}
.nav__brand-text small {
  font-size: var(--font-size-header-subtitle);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}

.nav__links { display: flex; align-items: center; gap: 0.2rem; flex-wrap: nowrap; }
.nav__links a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: var(--font-size-nav);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--brand); background: var(--bg-soft); text-decoration: none; }
.nav__links a.is-active { color: var(--accent); font-weight: 600; }

/* Menüdeki ana randevu butonu: büyük ve belirgin. */
.btn--nav {
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  font-size: var(--font-size-header-cta);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn--nav:hover { transform: translateY(-2px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 28, 22, 0.4);
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  background: var(--hero-bg);
  transition: background var(--theme-anim) var(--ease);
}

.hero__decor { position: absolute; inset: 0; pointer-events: none; opacity: var(--deco-opacity); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero__blob--1 {
  width: 42vw; height: 42vw; max-width: 520px; max-height: 520px;
  top: -14%; right: -8%;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}
.hero__blob--2 {
  width: 34vw; height: 34vw; max-width: 420px; max-height: 420px;
  bottom: -18%; left: -10%;
  background: color-mix(in srgb, var(--accent-2) 22%, transparent);
}
/* Yaprak detayı: yalnızca organik temalarda görünür */
.hero__leaf {
  position: absolute;
  top: 18%; left: 4%;
  width: 130px; height: 130px;
  border-radius: 0 100% 0 100%;
  border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(-18deg);
  display: none;
}
[data-theme="organic-avocado"] .hero__leaf,
[data-theme="modern-natural"] .hero__leaf { display: block; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--brand-deep);
  font-size: var(--font-size-hero-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 1.2rem;
  font-size: var(--font-size-hero-title);
  line-height: 1.14;
  color: var(--brand);
  text-wrap: balance;
}

.hero__lead {
  max-width: 54ch;
  margin: 0 0 1.9rem;
  font-size: var(--font-size-hero-subtitle);
  color: var(--ink-soft);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 2.1rem;
}
.hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-chip);
  background: var(--surface);
  font-size: var(--font-size-hero-tag);
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__tags svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__actions .btn { font-size: var(--font-size-hero-cta); }

.hero__socials { display: flex; gap: 0.55rem; margin-top: 2rem; }
.hero__socials a,
.contact__socials a,
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.hero__socials a:hover,
.contact__socials a:hover,
.footer__socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.hero__socials svg,
.contact__socials svg,
.footer__socials svg { width: 19px; height: 19px; }

/* --- Hero fotoğrafı ------------------------------------------------------ */

.hero__figure { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 460px; }

.hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-photo);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  transition: border-radius var(--theme-anim) var(--ease);
}
/* İnce dekoratif çerçeve çizgisi */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  pointer-events: none;
}
[data-theme="elegant-nutrition"] .hero__frame { outline: 1px solid var(--line-strong); outline-offset: 12px; }

.hero__photo {
  width: 100%;
  height: 100%;
  /* Odak noktası ve yakınlaştırma admin panelinden gelir; dosya bozulmaz. */
  object-fit: cover;
  object-position: var(--photo-x, center) var(--photo-y, center);
  transform: scale(var(--photo-zoom, 1));
  transform-origin: var(--photo-x, center) var(--photo-y, center);
  transition: transform var(--t-slow);
}

/* --------------------------------------------------------------------------
   6. BÖLÜM ORTAK
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section-y) 0;
  transition: background var(--theme-anim) var(--ease);
}
.section--soft { background: var(--bg-soft); }
.section--accent { background: var(--bg-accent); }

/* Blog ve iletişim bölümleri her temada farklı zemin renginde durur; böylece
   birbirine karışmaz. Aralarında ince, dekoratif bir geçiş çizgisi vardır. */
#blog { background: var(--section-blog-bg); }
#iletisim {
  position: relative;
  background: var(--section-contact-bg);
}
#iletisim::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(140px, 40%);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent,
    color-mix(in srgb, var(--accent) 45%, transparent), transparent);
}

.section__head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section__head--center .section__label { justify-content: center; }

.section__title {
  margin: 0 0 0.9rem;
  font-size: var(--font-size-services-section-title);
  color: var(--brand);
  text-wrap: balance;
}

/* Her bölümün başlık, etiket ve açıklaması bağımsız yazı boyutu kullanır. */
#danismanliklar .section__label { font-size: var(--font-size-services-eyebrow); }
#danismanliklar .section__title { font-size: var(--font-size-services-section-title); }
#danismanliklar .section__desc  { font-size: var(--font-size-services-desc); }
#online-danismanlik .section__label { font-size: var(--font-size-online-eyebrow); }
#online-danismanlik .section__title { font-size: var(--font-size-online-title); }
#sss .section__title { font-size: var(--font-size-faq-section-title); }
#blog .section__title { font-size: var(--font-size-blog-section-title); }
#blog .section__desc  { font-size: var(--font-size-blog-section-desc); }
#kaynaklar .section__title { font-size: var(--font-size-resources-section-title); }
#kaynaklar .section__desc  { font-size: var(--font-size-resources-section-desc); }
#iletisim .section__title { font-size: var(--font-size-contact-section-title); }
#iletisim .section__desc  { font-size: var(--font-size-contact-section-desc); }

.section__desc { margin: 0; color: var(--ink-muted); font-size: 1rem; }

/* Yumuşak beliriş */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   8. HAKKIMDA
   -------------------------------------------------------------------------- */

/* Masaüstü: fotoğraf ~%42 solda, metin ~%58 sağda. */
.about {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
/* Fotoğraf yüklenmemişse metin ortalanır: sağda boş alan kalmaz. */
.about.is-solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.about.is-solo .about__body { max-width: 74ch; }
.about.is-solo .about__text { max-width: none; }

.about__media { align-self: center; width: 100%; }

/* Varsayilan: yuvarlatilmis dikdortgen. Sekil/oran/odak degerleri fotograf
   gorunum ayarlarindan inline gelir; buradakiler yalnizca guvenli varsayilan.
   Boylece yatay fotografin onemli kismi artik kesilmez. */
.about__frame {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 26px;
  background: var(--bg-accent);
  box-shadow: var(--shadow-soft);
  transition: border-radius var(--theme-anim) var(--ease);
}
.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about__title { font-size: var(--font-size-about-title); }

.about__text { max-width: 62ch; }
.about__text p { margin-bottom: 1.15rem; font-size: var(--font-size-about-body); }
/* İlk paragrafı biraz büyüt: editoryal his */
.about__text p:first-child { color: var(--ink); }

/* --- Motivasyon alanı: ana metnin altında ayrı bir blok --- */
.about__motivation {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.about__motivation--center { text-align: center; }
.about__motivation-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading, var(--heading-font));
  font-size: var(--font-size-about-motivation-title);
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent);
}
.about__motivation-text {
  margin: 0;
  font-size: var(--font-size-about-motivation-text);
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   6b. HAKKIMDA VE EĞİTİM — resmi tanıtım + eğitim bilgi kartları
   Giriş / Tanışma alanının kopyası DEĞİLDİR: solda metin, sağda küçük düzenli
   bilgi kartları. Arka planı Giriş alanından hafif farklı bir ton kullanır.
   -------------------------------------------------------------------------- */
.edu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.8rem, 4.5vw, 3.5rem);
  align-items: start;
}
.edu__eyebrow {
  margin: 0 0 0.6rem;
  font-size: var(--font-size-services-eyebrow, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.edu__title { font-size: var(--font-size-about-title); margin-bottom: 0.9rem; }
.edu__text { max-width: 60ch; }
.edu__text p { margin-bottom: 1.1rem; font-size: var(--font-size-about-body); }

.edu__cards { display: grid; gap: 0.85rem; }
.edu-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.edu-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.edu-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--icon-bg, var(--bg-accent));
  color: var(--accent);
}
.edu-card__icon svg { width: 21px; height: 21px; }
.edu-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.edu-card__label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.edu-card__value { font-weight: 600; color: var(--brand); font-size: 15.5px; }

@media (max-width: 860px) {
  .edu { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   7. DANIŞMANLIK HİZMETLERİ — büyük yatay bloklar
   -------------------------------------------------------------------------- */

/* Sade, bilgi amaçlı küçük kutucuklar. Buton, görsel veya yönlendirme yok. */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service {
  /* Kompakt: gereksiz üst boşluk yok, içerik kadar yüksek. */
  padding: clamp(1.35rem, 1.8vw, 1.6rem);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
[data-theme="organic-avocado"] .service:nth-child(even) { border-radius: 8px 24px 8px 24px; }
[data-theme="modern-natural"] .service:nth-child(even) { border-radius: 22px 22px 6px 22px; }

/* İkon + başlık aynı yatay satırda, dikey ortalı. Uzun başlıklar ikonun
   altına düşmez; kalan genişlikte düzgün satır kırılır. */
.service__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.service__icon-inline {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
[data-theme="organic-avocado"] .service__icon-inline { border-radius: 50% 50% 50% 12px; }
.service__icon-inline svg { width: 22px; height: 22px; }

.service__title {
  margin: 0;
  font-size: var(--font-size-service-card-title);
  line-height: 1.25;
  color: var(--brand);
}
.service__text {
  margin: 12px 0 0;
  font-size: var(--font-size-service-card-description);
  color: var(--ink-soft);
}
/* "Tıklanınca aç" modunda açıklama accordion gibi açılır/kapanır. */
.service--toggle { cursor: pointer; }
.service--toggle .service__text {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), margin-top 0.3s var(--ease);
}
.service--toggle.is-open .service__text { max-height: 400px; opacity: 1; margin-top: 0.6rem; }
.service__toggle-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  font-size: var(--font-size-service-mode-tag);
  font-weight: 600;
  color: var(--accent);
}
.service__toggle-hint svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.service--toggle.is-open .service__toggle-hint svg { transform: rotate(180deg); }

.service__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.service__meta .tag { font-size: var(--font-size-service-mode-tag); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-chip);
  background: var(--bg-accent);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   8. ONLINE DANIŞMANLIK
   -------------------------------------------------------------------------- */

.online {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.online__text { max-width: 56ch; margin-bottom: 2rem; }

.online__list {
  display: grid;
  gap: 0.2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-radius var(--theme-anim) var(--ease);
}
.online__body > .online__text { font-size: var(--font-size-online-body); }
.online__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--font-size-online-advantage);
  color: var(--ink-soft);
}
#online-cta { font-size: var(--font-size-online-cta); }
.online__list li:last-child { border-bottom: 0; }
.online__list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   9. SIK SORULAN SORULAR
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.7rem; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item.is-open { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-sm); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.25rem;
  border: 0;
  background: none;
  color: var(--brand);
  font-family: var(--font-heading, var(--heading-font));
  font-size: var(--font-size-faq-question);
  font-weight: var(--heading-weight);
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--accent); }
.faq__q svg {
  width: 20px; height: 20px;
  margin-left: auto;
  flex: none;
  color: var(--accent);
  transition: transform var(--t-fast);
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }

/* Yalnızca max-height animasyonu yapılır. İç boşluk sabit bir iç katmanda
   durur; böylece açılırken ölçülen yükseklik her zaman doğru olur ve cevap
   metni kırpılmaz. */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__a-in { padding: 0 1.25rem 1.3rem; }
.faq__a p { font-size: var(--font-size-faq-answer); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   10. BLOG
   -------------------------------------------------------------------------- */

/* Masaüstünde en fazla üç sütun; kartlar daha büyük ve okunaklı. */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.1rem);
}
@media (min-width: 1100px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
}

.post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              border-radius var(--theme-anim) var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.post__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 18%, var(--bg-soft)),
    color-mix(in srgb, var(--accent-2) 16%, var(--bg-soft)));
}
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Kapak görseli yoksa dekoratif desen. Kartın sırasına göre dört farklı
   varyant kullanılır; böylece liste tekdüze görünmez. */
.post__cover--empty::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1.5px solid color-mix(in srgb, var(--accent) 42%, transparent);
  transform: rotate(-15deg);
  border-radius: 0 100% 0 100%;
}
.post__cover--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 25% 20%,
    color-mix(in srgb, var(--accent) 20%, transparent), transparent 72%);
}
/* Yaprak (varsayılan) · tohum · damla · halka */
.post:nth-child(4n+2) .post__cover--empty::after {
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: rotate(8deg);
  inset: 22% 26%;
}
.post:nth-child(4n+3) .post__cover--empty::after {
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  inset: 24%;
}
.post:nth-child(4n+4) .post__cover--empty::after {
  border-radius: 50%;
  inset: 24%;
  border-width: 2px;
  border-style: dashed;
  transform: none;
}

.post__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }

.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: var(--font-size-blog-meta);
  color: var(--ink-muted);
}
.post__meta .tag { font-size: var(--font-size-blog-meta); }
.post__meta time { white-space: nowrap; }

.post__title {
  margin: 0 0 0.65rem;
  font-size: var(--font-size-blog-card-title);
  line-height: 1.35;
  color: var(--brand);
}
.post__title a { color: inherit; }
.post__title a:hover { color: var(--accent); text-decoration: none; }
.post__excerpt { margin: 0 0 1.3rem; font-size: var(--font-size-blog-card-description); color: var(--ink-soft); flex: 1; }

.post__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  font-size: var(--font-size-blog-more);
  font-weight: 600;
  color: var(--accent);
}
.post__more svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.post__more:hover { text-decoration: none; }
.post__more:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   11. KAYNAKLARDAN SEÇİLEN YAZILAR (harici bağlantı + PDF)
   -------------------------------------------------------------------------- */

.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.7rem);
}
@media (min-width: 1100px) {
  .resources { grid-template-columns: repeat(3, 1fr); }
}

.resource {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              border-color var(--t-fast), border-radius var(--theme-anim) var(--ease);
}
.resource:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.resource__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 15%, var(--bg-soft)),
    color-mix(in srgb, var(--accent-2) 14%, var(--bg-soft)));
}
.resource__cover img { width: 100%; height: 100%; object-fit: cover; }
.resource__cover--empty { display: grid; place-items: center; color: var(--accent); }
.resource__cover--empty svg { width: 42px; height: 42px; opacity: 0.65; }

/* Kart üzerindeki tür rozeti: Web / PDF */
.resource__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.resource__badge svg { width: 13px; height: 13px; }

.resource__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }

.resource__title {
  margin: 0 0 0.55rem;
  font-size: var(--font-size-resource-card-title);
  line-height: 1.35;
  color: var(--brand);
}
.resource__excerpt { margin: 0 0 1.1rem; font-size: var(--font-size-resource-excerpt); color: var(--ink-soft); flex: 1; }

.resource__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-resource-source);
  color: var(--ink-muted);
}

/* Kaynak adı ve alan adı ASLA gizlenmez: içeriğin sahibi açıkça görünür. */
.resource__source {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: var(--font-size-resource-source);
  color: var(--ink-soft);
}
.resource__source svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.resource__source strong { color: var(--brand); font-weight: 600; word-break: break-word; }

.resource__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.7rem;
  font-size: var(--font-size-resource-link);
  font-weight: 600;
  color: var(--accent);
}
.resource__link svg { width: 15px; height: 15px; }
.resource__link:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   12. İLETİŞİM VE FORM
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.contact__list { display: grid; gap: 0.85rem; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.contact__list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.contact__list dl { margin: 0; min-width: 0; }
.contact__list dt {
  font-size: var(--font-size-contact-card-title);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}
.contact__list dd { margin: 0; font-size: var(--font-size-contact-card-text); font-weight: 500; color: var(--ink); word-break: break-word; }
.contact__list dd a { color: var(--ink); }
.contact__list dd a:hover { color: var(--accent); }
.contact__list .pre-line { white-space: pre-line; font-weight: 400; }

.contact__socials { display: flex; gap: 0.55rem; margin-top: 1.2rem; }

/* Fiyat bilgisi butonları */
.contact__cta { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.contact__cta .btn { width: 100%; }
.contact__cta svg { width: 18px; height: 18px; }

/* --- Form ---------------------------------------------------------------- */

.form {
  padding: clamp(1.5rem, 3.2vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-radius var(--theme-anim) var(--ease);
}
.form__title {
  margin: 0 0 0.8rem;
  font-size: var(--font-size-contact-form-title);
  color: var(--brand);
  scroll-margin-top: 110px;
}
.form__intro { margin: 0 0 1.5rem; font-size: var(--font-size-contact-help); color: var(--ink-muted); }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--choice { border: 0; padding: 0; margin: 0 0 1.1rem; }

.label {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: var(--font-size-contact-form-label);
  font-weight: 600;
  color: var(--ink);
}
.req { color: #b3392b; }

.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  /* En az 16px: iOS'ta odaklaninca yakinlasmayi onler. */
  font-size: max(16px, var(--font-size-contact-input));
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: #b3392b; }
.textarea { min-height: 120px; resize: vertical; }

.select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857c72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}

.field__error { margin: 0.35rem 0 0; font-size: var(--font-size-contact-help); color: #b3392b; }
#lead-form .btn { font-size: var(--font-size-contact-button); }

.choices { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 0.93rem;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--brand-deep);
  font-weight: 600;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }

.form .btn { margin-top: 1.3rem; }
.form__note { margin: 1rem 0 0; font-size: var(--font-size-contact-help); color: var(--ink-muted); line-height: 1.6; }

.alert {
  padding: 0.85rem 1.05rem;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9rem;
}
.alert--ok { background: #eef5e6; border-color: #cfe0b6; color: #3f5626; }
.alert--err { background: #fbeae8; border-color: #eec4bf; color: #8f2318; }

/* --------------------------------------------------------------------------
   16. HİZMET DETAY PENCERESİ
   -------------------------------------------------------------------------- */

.sheet { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(30, 28, 22, 0.55); }
.sheet__dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: sheetin 0.24s var(--ease);
}
@keyframes sheetin { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

.sheet__close {
  position: absolute;
  top: 0.9rem; right: 1rem;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.sheet__close:hover { background: var(--brand-soft); color: var(--brand-deep); }

.sheet__label {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sheet__title { margin: 0 0 1.2rem; font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem); padding-right: 2.5rem; }
.sheet__body { margin-bottom: 1.8rem; }
.sheet__body p { font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   17. ALT BİLGİ
   -------------------------------------------------------------------------- */

.footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--brand-deep);
  color: color-mix(in srgb, #fff 78%, var(--brand));
  transition: background var(--theme-anim) var(--ease);
}
.footer__inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.footer__brand { display: grid; gap: 0.3rem; }
.footer__brand strong {
  font-family: var(--font-heading, var(--heading-font));
  font-weight: var(--heading-weight);
  font-size: var(--font-size-footer-brand);
  color: #fff;
}
.footer__brand span { font-size: var(--font-size-footer-area); opacity: 0.8; }
.footer__socials { display: flex; gap: 0.55rem; }
.footer__socials a { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); color: inherit; }
.footer__socials a:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }
.footer__socials svg { width: var(--font-size-footer-social); height: var(--font-size-footer-social); }
.footer__copy { margin: 0; font-size: var(--font-size-footer-text); opacity: 0.7; }

/* --------------------------------------------------------------------------
   18. YAZI DETAY SAYFASI
   -------------------------------------------------------------------------- */

.article { padding: clamp(2rem, 5vw, 4rem) 0 var(--section-y); }

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.article__back svg { width: 17px; height: 17px; }

.article__head { max-width: var(--wrap-narrow); margin: 0 auto 2.5rem; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.article__title { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 0.9rem; }
.article__excerpt { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }

.article__cover {
  max-width: var(--wrap-narrow);
  margin: 0 auto 2.8rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-soft);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article__content { max-width: 68ch; margin: 0 auto; }
.article__content p { margin-bottom: 1.3rem; font-size: 1.04rem; }
.article__content h3 { margin: 2.2rem 0 0.8rem; font-size: 1.3rem; color: var(--brand); }

.article__foot {
  max-width: var(--wrap-narrow);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.article__nav a {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
}
.article__nav a:hover { border-color: var(--accent); text-decoration: none; }
.article__nav small { display: block; font-size: 0.74rem; color: var(--ink-muted); margin-bottom: 0.2rem; }
.article__nav strong { font-weight: 600; color: var(--brand); }
.article__nav .is-next { text-align: right; }

.article__cta {
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border-radius: var(--radius-card);
  background: var(--bg-accent);
  text-align: center;
}
.article__cta h2 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.article__cta p { max-width: 52ch; margin: 0 auto 1.5rem; color: var(--ink-soft); }

.state { padding: 4rem 1rem; text-align: center; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   19. DUYARLI YERLEŞİM
   -------------------------------------------------------------------------- */

/* --- Dar masaüstü / laptop (≤1400px): menü çubuğu bir miktar sıkışır ----- */
@media (max-width: 1400px) {
  .nav__links a { padding: 0.55rem 0.55rem; }
  .nav__menu { gap: 1rem; }
  .btn--nav { padding: 0.8rem 1.35rem; }
}

@media (max-width: 1180px) {
  .nav__links a { padding: 0.55rem 0.4rem; }
  .hero__inner { gap: 2.5rem; }
}

/* --- iPad yatay ve altı: menü hamburgere döner (≤1080px) ----------------- */
@media (max-width: 1080px) {
  html { scroll-padding-top: 84px; }

  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 85;
    width: min(340px, 84vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    /* Kapalıyken görünmez: ekran dışındaki bağlantılar sekme ile odaklanmaz
       ve sayfada yatay kaydırma alanı oluşturmaz. */
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s var(--ease), visibility 0s;
  }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0.15rem; flex-wrap: wrap; }
  .nav__links a { padding: 0.9rem 0.9rem; border-radius: 12px; font-size: 1.05rem; }

  /* Randevu butonu hamburger menü içinde belirgin şekilde yer alır. */
  .btn--nav { margin-top: 1.4rem; width: 100%; min-height: 54px; font-size: 17px; }
}

/* --- iPad dikey ve altı: iki sütunlu yerleşimler tek sütuna iner (≤1000px) */
@media (max-width: 1000px) {
  /* Hero: mobilde önce metin, ardından fotoğraf */
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { order: 1; }
  .hero__figure { order: 2; max-width: 420px; margin-inline: auto; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .about__body { order: 2; }

  .online { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }

  /* Danışmanlık kutuları tablette 2 sütun. */
  .services { grid-template-columns: repeat(2, 1fr); }
}

/* Dar alanda 3 sütun 2 sütuna düşer. */
@media (max-width: 1100px) and (min-width: 641px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

/* --- Telefon (≤640px) ---------------------------------------------------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }

  .nav__inner { min-height: 72px; }
  .nav__brand svg { width: 28px; height: 28px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .field-row { grid-template-columns: 1fr; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav .is-next { text-align: left; }

  .posts, .resources { grid-template-columns: 1fr; }

  /* Danışmanlık kutuları mobilde tek sütun. */
  .services { grid-template-columns: 1fr; }
  .service { padding: 1.1rem; }

  .contact__list li { padding: 0.9rem 1rem; }
  .form { padding: 1.3rem; }
}

/* --- Çok dar ekran (≤380px) ---------------------------------------------- */
@media (max-width: 380px) {
  .hero__tags li { padding: 0.38rem 0.75rem; }
}

/* --- Hareket azaltma tercihi --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Yazdırma ------------------------------------------------------------ */
@media print {
  .nav, .footer__socials, .form, .sheet { display: none !important; }
  body { background: #fff; color: #000; }
}
