/* AUTO-GENERATED: scripts/build-site-css.php */

/* SOURCE: design-system.css */
/* ============================================================
   Prof. Dr. Tamer Sağıroğlu — Modern 2026 Design System
   Ink navy + gold accent · grotesk sans, no italics, no quotes
   ============================================================ */

/* Yerel fontlar: dış Google Fonts bağlantısını ve ek DNS/TLS beklemesini kaldırır. */
@font-face {
  font-family: 'Geist Local';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Local';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url('/assets/fonts/geist-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist Local';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Naskh Arabic Local';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/noto-naskh-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}

:root {
  /* Palette — refined navy + gold */
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #102540;
  --navy-700: #1a3658;
  --navy-600: #2a4d75;
  --navy-100: #e8eef5;
  --navy-50:  #f5f8fc;

  --gold-700: #9a7d3e;
  --gold-800: #6b521f;
  --gold-600: #bf9e5c;
  --gold-500: #d4b676;
  --gold-100: #f0e4c8;
  --gold-50:  #faf5e8;

  --ink-950:  #050810;
  --ink-900:  #0c121c;
  --ink-700:  #2a3340;
  --ink-500:  #5a6577;
  --ink-400:  #8590a0;
  --ink-300:  #b5becc;
  --ink-200:  #dce2ea;
  --ink-100:  #eef1f5;
  --ink-50:   #f7f8fb;

  --cream:    #faf8f3;
  --paper:    #fbfbfa;
  --white:    #ffffff;

  /* Tweakable */
  --primary:     var(--navy-900);
  --primary-dk:  var(--navy-950);
  --primary-lt:  var(--navy-100);
  --accent:      var(--gold-600);
  --accent-dk:   var(--gold-700);
  --accent-text: var(--gold-800);
  --accent-lt:   var(--gold-100);
  --bg:          var(--paper);
  --bg-alt:      var(--ink-50);
  --bg-navy:     var(--navy-950);

  /* Typography — modern grotesk, no serif italics */
  --font-sans:    'Geist Local', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Geist Local', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  --font-body:    var(--font-sans);
  --font-serif:   var(--font-sans);

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Radius — modern, generous */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows — soft, multi-layer */
  --sh-xs: 0 1px 2px rgba(10, 22, 40, 0.04);
  --sh-sm: 0 2px 6px rgba(10, 22, 40, 0.05), 0 1px 2px rgba(10, 22, 40, 0.04);
  --sh-md: 0 8px 24px rgba(10, 22, 40, 0.06), 0 2px 6px rgba(10, 22, 40, 0.04);
  --sh-lg: 0 24px 60px rgba(10, 22, 40, 0.10), 0 6px 16px rgba(10, 22, 40, 0.06);
  --sh-xl: 0 40px 100px rgba(10, 22, 40, 0.14);
  --sh-gold: 0 10px 32px rgba(191, 158, 92, 0.28);

  --container: 1320px;
  --container-narrow: 880px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html[lang="ar"] {
  --font-sans: 'Noto Naskh Arabic Local', Tahoma, Arial, sans-serif;
  --font-display: 'Noto Naskh Arabic Local', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'ss03', 'cv11';
}

/* Typography — bold, tight, modern */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-4);
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  letter-spacing: -0.035em;
  font-weight: 500;
}
h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.028em;
  font-weight: 500;
}
h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; }
h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0 0 var(--sp-4); color: var(--ink-700); text-wrap: pretty; }
p.lead { font-size: 19px; color: var(--ink-700); line-height: 1.55; max-width: 60ch; }
small { font-size: 12px; color: var(--ink-500); }

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dk); }

/* Eyebrow — modern mono tag */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* Section */
section { padding: var(--sp-8) 0; }
section.tight { padding: var(--sp-6) 0; }
section.cream { background: var(--cream); }
section.alt { background: var(--ink-50); }
section.navy { background: var(--bg-navy); color: var(--white); }
section.navy h1, section.navy h2, section.navy h3, section.navy h4 { color: var(--white); }
section.navy p { color: rgba(255,255,255,0.72); }
section.navy .eyebrow { color: rgba(255,255,255,0.6); }

/* Buttons — pill shape, modern */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink-700); transform: translateY(-1px); box-shadow: var(--sh-md); color: var(--white); }
.btn-accent {
  background: var(--accent);
  color: var(--ink-900);
}
.btn-accent:hover { background: var(--accent-dk); color: var(--white); transform: translateY(-1px); box-shadow: var(--sh-gold); }
.btn-outline {
  background: transparent;
  border-color: var(--ink-300);
  color: var(--ink-900);
}
.btn-outline:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--white); }
.btn-outline-white {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.95); color: var(--ink-900); border-color: rgba(255,255,255,1); }
.btn-ghost { background: transparent; color: var(--ink-700); padding: 10px 16px; }
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* Arrow link */
.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-300);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.link::after { content: "→"; transition: transform 0.2s; }
.link:hover { color: var(--accent-dk); border-color: var(--accent); }
.link:hover::after { transform: translateX(3px); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  background: var(--ink-100);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
}
.badge-navy { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.badge-gold { background: var(--accent-lt); color: var(--accent-dk); border-color: transparent; }
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
a.badge { text-decoration: none; transition: border-color 0.2s, color 0.2s; }
a.badge:hover { border-color: var(--primary); color: var(--primary-dk); }
a.badge.badge-navy:hover { border-color: var(--accent); background: var(--ink-700); }

/* Grid utilities */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards — soft, modern */
.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all 0.3s var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--ink-200); }

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink-900);
  transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.06);
}
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}

/* Page transitions */
.page { display: none; animation: pageIn 0.5s var(--ease-out); padding: 0; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Utility */
.text-center { text-align: center; }
.flex { display: flex; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }

/* Noise texture overlay (subtle, on dark sections) */
.noise {
  position: relative;
}
.noise::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 0;
}
.noise > * { position: relative; z-index: 1; }

/* SOURCE: layout.css */
/* ============================================================
   Layout 2026 — Glass header, modern footer, modern hero
   ============================================================ */

/* Topbar — minimal, clean */
.topbar {
  background: var(--ink-950);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 10px 0;
  font-family: var(--font-mono);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
@media (max-width: 900px) { .topbar { display: none; } }
.topbar .t-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.topbar .t-proofs { display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
.topbar .t-proof { letter-spacing: 0.04em; font-size: 11px; color: rgba(255,255,255,0.55); }

/* Header — glass, floating, modern */
.site-header {
  background: rgba(251, 251, 250, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(10, 22, 40, 0.04), 0 12px 32px rgba(10, 22, 40, 0.06); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  gap: var(--sp-5);
}
@media (max-width: 1024px) { .site-header .container { height: 68px; } }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand picture { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 450;
  color: var(--ink-700);
  border-radius: var(--r-pill);
  position: relative;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--ink-900); background: rgba(10, 22, 40, 0.04); }
.main-nav a.active { color: var(--ink-900); background: rgba(10, 22, 40, 0.06); }
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
  vertical-align: middle;
}

.main-nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: var(--sh-lg);
  padding: var(--sp-3);
  border-radius: var(--r-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s var(--ease-out);
  z-index: 60;
}
.main-nav .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--r-md);
}
.main-nav .submenu a:hover { background: var(--ink-50); }

.main-nav .submenu.mega {
  min-width: 820px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
}
.main-nav .has-sub:hover .submenu.mega { transform: translateX(-50%) translateY(0); }
.main-nav .submenu.mega h6 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--ink-100);
}
.main-nav .submenu.mega .mega-col a { padding: 8px 10px; font-size: 13.5px; color: var(--ink-700); }
.main-nav .submenu.mega .mega-col a:hover { color: var(--ink-900); background: var(--ink-50); }
.main-nav .submenu.mega .mega-cta {
  background: linear-gradient(135deg, var(--ink-900), var(--navy-800));
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin: -8px;
}
.main-nav .submenu.mega .mega-cta h6 { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); }
.main-nav .submenu.mega .mega-cta a { color: rgba(255,255,255,0.85); }
.main-nav .submenu.mega .mega-cta a:hover { color: var(--accent); background: rgba(255,255,255,0.08); }

.main-nav .has-sub:last-child .submenu:not(.mega) { left: auto; right: 0; transform: translateY(6px); }
.main-nav .has-sub:last-child:hover .submenu:not(.mega) { transform: translateY(0); }

@media (max-width: 1100px) { .main-nav { display: none; } }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
/* Premium Globe Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.lang-btn {
  background: rgba(10, 22, 40, 0.05);
  border: 1px solid rgba(10, 22, 40, 0.08);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  background: rgba(10, 22, 40, 0.08);
  color: var(--ink-900);
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 6px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 150;
  box-shadow: var(--sh-lg);
  transform: translateY(6px);
  transition: all 0.2s ease;
}
.lang-dropdown-menu.open {
  display: flex;
  transform: translateY(0);
}
.lang-opt {
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}
.lang-opt:hover {
  background: var(--ink-50);
  color: var(--ink-900);
}
.lang-opt.active {
  background: var(--primary-lt);
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Header Actions Optimization */
@media (max-width: 600px) {
  .site-header .container {
    padding: 0 var(--sp-4);
    gap: var(--sp-2);
  }
  .header-actions {
    gap: var(--sp-2);
  }
  .header-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .lang-btn {
    padding: 8px 10px;
    gap: 4px;
  }
  .brand img {
    height: 38px;
    max-width: 132px;
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  .site-header .container { padding-inline: 10px; }
  .header-actions > .btn { display: none; }
  .lang-btn { padding-inline: 8px; }
  .mobile-toggle { width: 38px; height: 38px; }
}

.mobile-toggle {
  display: none;
  background: transparent; border: 0;
  width: 42px; height: 42px;
  color: var(--ink-900);
  cursor: pointer;
  border-radius: var(--r-pill);
}
.mobile-toggle:hover { background: rgba(10,22,40,0.05); }
@media (max-width: 1100px) { .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: 360px; max-width: 90vw; height: 100vh;
  background: var(--white);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--sh-xl);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 14px 0;
  font-size: 18px; font-weight: 500;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-900);
}
.mobile-nav a.active { color: var(--accent-dk); }
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(5,8,16,0.45); z-index: 99;
  opacity: 0; visibility: hidden; transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink-950);
  color: rgba(255,255,255,.8);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  z-index: 100000;
  font-size: 13.5px;
  border-top: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform .25s var(--ease-out), opacity .2s ease, visibility .25s;
}
.cookie-banner-open .cookie-banner {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-consent-known .cookie-banner,
.cookie-banner[hidden] { display: none; }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-actions { display: flex; gap: var(--sp-2); flex-shrink: 0; }
.cookie-banner .cookie-text a { color: #f0d99d; text-decoration: underline; }
.cookie-banner .btn { font-size: 12px; padding: 7px 14px; }
.cookie-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.65); }
.cookie-banner .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.cookie-banner-open .whatsapp-float-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: flex-start; } }

/* Mobile nav groups */
.mobile-nav-group { border-bottom: 1px solid var(--ink-100); }
.mobile-nav-group-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: 18px; font-weight: 500; color: var(--ink-900);
  background: none; border: none; cursor: pointer; text-align: left;
}
.mobile-nav-group-toggle .toggle-arrow { transition: transform 0.25s; font-style: normal; font-weight: 400; color: var(--ink-400); }
.mobile-nav-group-toggle[aria-expanded="true"] .toggle-arrow { transform: rotate(90deg); }
.mobile-nav-group-items { display: none; padding-left: var(--sp-4); padding-bottom: var(--sp-2); }
.mobile-nav-group-items.open { display: block; }
.mobile-nav-group-items a { font-size: 15px; padding: 10px 0; border-bottom: none; color: var(--ink-600); }
.mobile-nav-randevu { padding: var(--sp-5) 0 var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.btn-outline-primary { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary-lt); }

/* Sticky mobile CTA bar */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-100);
  box-shadow: 0 -4px 24px rgba(10,22,40,0.08);
  z-index: 49;
  gap: var(--sp-2);
  opacity: 0;
  transform: translateY(100%);
  transition: transform .25s var(--ease-out), opacity .2s ease;
}
@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
  .mobile-sticky-ready .mobile-sticky-cta { opacity: 1; transform: translateY(0); }
  main { padding-bottom: 72px; }
}

/* Footer — modern */
.site-footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.65);
  padding: var(--sp-8) 0 var(--sp-6);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(191,158,92,0.08), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.site-footer h4 {
  color: rgba(255,255,255,0.95);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.site-footer p { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.6; margin-bottom: 6px; }
/* padding 6px→10px: satır kutusu ~20px idi, WCAG 2.5.8 (AA) en az 24px ister.
   Telefon ve e-posta bağlantıları mobilde bu yüzden zor tıklanıyordu. */
.site-footer a { color: rgba(255,255,255,0.65); display: block; padding: 10px 0; font-size: 14.5px; min-height: 24px; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-7); position: relative; z-index: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about .footer-brand picture { display: inline-flex; }
.footer-about .footer-brand img { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: var(--sp-4); }
.footer-about p { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 380px; }
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; padding: 0;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(191,158,92,0.08); }
.footer-bottom {
  margin-top: var(--sp-9);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  flex-wrap: wrap; font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { display: inline; }

.footer-agency-credit {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 11.5px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-agency-credit:hover {
  color: #ffffff !important;
}
.footer-agency-credit .agency-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-agency-credit:hover .agency-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* Page header — navy brand background */
.page-header {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--sp-9) 0 var(--sp-7);
  border-bottom: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,97,0.12), transparent 65%);
  pointer-events: none;
}
.page-header h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-header p { color: rgba(255,255,255,0.72); font-size: 19px; max-width: 60ch; }
.page-header .eyebrow { color: var(--accent); }
.breadcrumb {
  display: flex; gap: var(--sp-2); font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.02em;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   HERO — Modern editorial
   ============================================================ */
.hero-slider {
  position: relative;
  background: var(--paper);
  color: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-lt), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-slider::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16, 37, 64, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-slides {
  position: relative;
  min-height: 560px;
  /* Aktif slide'ın yüksekliğini taşıması için display:grid */
  display: grid;
}
@media (max-width: 900px) {
  .hero-slides { min-height: auto; overflow: hidden; }
}

.hero-slide {
  /* grid-area: 1/1 ile tüm slide'lar aynı hücreye bindirilir;
     yükseklik en uzun içeriğe göre otomatik belirlenir */
  grid-area: 1 / 1;
  padding: var(--sp-8) 0 var(--sp-7);
  display: flex;
  align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }

.hero-slide .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}
@media (max-width: 900px) { .hero-slide .container { grid-template-columns: 1fr; gap: var(--sp-7); } }

.hero-intro h1 {
  color: var(--ink-900);
  font-size: clamp(36px, 5.2vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.0;
  max-width: 18ch;
  /* 4 satırı aşarsa kes */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-intro h1 .italic { color: var(--accent-dk); font-style: normal; font-weight: 400; }
.hero-intro p.lead {
  color: var(--ink-500);
  max-width: 520px;
  font-size: clamp(15px, 1.4vw, 19px);
  margin-top: var(--sp-5);
  line-height: 1.65;
  /* 3 satırı aşarsa kes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-7); flex-wrap: wrap; }

.hero-portrait-img {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 460px;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: var(--sh-xl);
}
.hero-portrait-img svg { display: block; }
.hero-portrait-img .frame-corner { display: none; }

/* Hero arrows — modern circular (repositioned to bottom right) */
.hero-arrow {
  position: absolute;
  bottom: 32px;
  top: auto;
  transform: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10,22,40,0.12);
  color: var(--ink-900);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
  transition: all 0.25s var(--ease-out);
  box-shadow: var(--sh-md);
}
.hero-arrow:hover { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); transform: scale(1.05); }
.hero-arrow.prev { right: 88px; left: auto; }
.hero-arrow.next { right: 28px; }
@media (max-width: 700px) { .hero-arrow { display: none; } }

/* Dots — refined */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 2px; z-index: 5;
}
/* Dokunma hedefi 44px yükseklikte, görünen çubuk ise ince kalır:
   buton saydam bir tıklama alanıdır, çizgiyi ::before çizer. */
.hero-dots button {
  width: 40px; height: 44px;
  border: 0; background: none;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.hero-dots button::before {
  content: "";
  display: block;
  width: 28px; height: 4px;
  background: rgba(10,22,40,0.15);
  border-radius: var(--r-pill);
  transition: all 0.3s var(--ease-out);
}
.hero-dots button.active { width: 68px; }
.hero-dots button.active::before { background: var(--ink-900); width: 56px; }
.hero-dots button:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 2px; border-radius: var(--r-sm); }

.hero-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(10,22,40,0.06);
  z-index: 5;
}
.hero-progress .bar { height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }

/* ---- Mobile Hero Overrides ---- */
@media (max-width: 900px) {
  .hero-slider { padding-bottom: var(--sp-5); }

  .hero-slide {
    position: relative;
    padding: var(--sp-5) 0 var(--sp-8);
    display: none;
    opacity: 1; visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  .hero-slide.active {
    display: flex;
  }

  .hero-slide .container {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  /* Text sizes */
  .hero-intro h1 {
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 22ch;
    -webkit-line-clamp: 5;
  }
  .hero-intro p.lead {
    font-size: 15px;
    margin-top: var(--sp-3);
    -webkit-line-clamp: 4;
  }
  .hero-intro .eyebrow {
    font-size: 11px;
  }

  /* Buttons */
  .hero-actions {
    margin-top: var(--sp-4);
    gap: var(--sp-2);
  }
  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Image — smaller on mobile */
  .hero-portrait-img {
    max-height: 280px;
    aspect-ratio: 16/10;
    border-radius: var(--r-lg);
    order: -1;
  }

  /* Dots — bigger, centered, more padding */
  .hero-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    padding: var(--sp-4) 0 0;
    z-index: 10;
  }
  .hero-dots button {
    width: 44px; height: 44px;
  }
  .hero-dots button::before {
    width: 32px; height: 5px;
  }
  .hero-dots button.active {
    width: 60px;
  }
  .hero-dots button.active::before {
    width: 48px;
  }

  /* Progress bar */
  .hero-progress {
    height: 3px;
  }
}

/* CRITICAL LAYOUT END */

/* Trust strip — minimal mono */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  padding: var(--sp-5) 0;
}
.trust-strip .items {
  display: flex; gap: var(--sp-7);
  align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.trust-strip .t-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.trust-strip .t-item::before { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* Expertise Cards — Clean white card with image on top */
.expertise-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink-150, #e5e8ee);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  /* Stronger shadow so card is distinct from white background */
  box-shadow: 0 4px 16px rgba(10,22,40,.10), 0 1px 4px rgba(10,22,40,.06);
}
.expertise-card .card-bg-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.expertise-card .card-content {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.expertise-card h3 {
  color: var(--primary-dk);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-display);
}
.expertise-card p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
/* Link always visible — arrow only on hover */
.expertise-card .link {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  text-decoration: none;
  opacity: 1;
}
.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(10,22,40,.15), 0 2px 8px rgba(10,22,40,.08);
  border-color: var(--accent);
}
.expertise-card:hover .card-bg-img {
  transform: scale(1.06);
}
.expertise-card:hover h3 {
  color: var(--accent-text);
}



/* Split intro */
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 900px) { .split-intro { grid-template-columns: 1fr; } }
.split-intro .photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-100), var(--ink-50));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-100);
  overflow: hidden;
}
.split-intro .photo .ph-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 0.04em;
}
.split-intro blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.split-intro blockquote::before, .split-intro blockquote::after { content: none; }
.split-intro .sign {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: var(--sp-4);
  letter-spacing: 0.04em;
}

/* CTA band */
section.navy.tight {
  background: var(--ink-950);
  position: relative;
  overflow: hidden;
}
section.navy.tight::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(191,158,92,0.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(42, 77, 117, 0.18), transparent 50%);
  pointer-events: none;
}
section.navy.tight .container { position: relative; z-index: 1; }
section.navy h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 500; }
.footer-bottom {
  margin-top: var(--sp-9);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  flex-wrap: wrap; font-size: 12px;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  color: rgba(255,255,255,0.4);
  padding-right: 90px;
}
.footer-bottom a { display: inline; }

/* ─── Creative Agency Signature Badge ───────────────────────────────────── */
.creative-agency-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 60px 12px 46px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  text-decoration: none;
  color: #cbd5e1;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.creative-agency-badge:hover {
  background: rgba(191, 158, 92, 0.15);
  border-color: rgba(191, 158, 92, 0.7);
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(191, 158, 92, 0.38), 0 4px 12px rgba(0, 0, 0, 0.45);
}

.agency-badge-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.agency-badge-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 16px;
}

.agency-sparkle {
  color: #bf9e5c;
  font-size: 14px;
  line-height: 1;
  margin: 0;
  animation: agency-sparkle-glow 2.5s infinite ease-in-out;
}

@keyframes agency-sparkle-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.agency-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 13px;
  transition: color 0.3s ease;
  white-space: nowrap;
  margin: 0;
}

.creative-agency-badge:hover .agency-text {
  color: #bf9e5c;
}

.agency-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
  margin: 0;
  flex-shrink: 0;
}

.agency-logo-white {
  height: 25px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.45));
  transition: transform 0.3s ease;
  margin: 0;
}

.creative-agency-badge:hover .agency-logo-white {
  transform: scale(1.06);
}

/* ─── Floating WhatsApp Popup Widget ───────────────────────────────────────── */
.whatsapp-float-btn {
  position: fixed;
  bottom: 48px;
  right: 28px;
  width: 62px;
  height: 62px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.wa-btn-inner {
  position: relative;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.35s ease, filter 0.35s ease;
  z-index: 2;
}

/* Concentric Pulse Waves bound to circle center */
.wa-btn-inner::before,
.wa-btn-inner::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  pointer-events: none;
  transform-origin: center center;
  animation: wa-perfect-pulse 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.wa-btn-inner::after {
  animation-delay: 0.85s;
}

@keyframes wa-perfect-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: scale(1.48);
    opacity: 0;
  }
}

.wa-btn-inner svg {
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.whatsapp-float-btn:hover .wa-btn-inner {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-btn:hover .wa-btn-inner svg {
  transform: scale(1.14);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.95));
}

.wa-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(12px) scale(0.92);
  background: #ffffff;
  color: #0f172a;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.18), 0 6px 14px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 3;
}

.whatsapp-float-btn:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.wa-tooltip-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #0f172a;
}

.wa-status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: wa-dot-blink 1.8s infinite ease-in-out;
}

@keyframes wa-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.wa-tooltip-text {
  font-size: 11px;
  color: #64748b;
  display: block;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 120px !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding-right: 0 !important;
  }
  .whatsapp-float-btn {
    bottom: 145px !important;
    right: 18px !important;
    width: 56px;
    height: 56px;
  }
  .wa-btn-inner {
    width: 56px;
    height: 56px;
  }
  .wa-ripple-ring {
    width: 56px;
    height: 56px;
    margin-top: -28px;
    margin-left: -28px;
  }
  .wa-tooltip {
    display: none;
  }
}

/* ─── Floating Back To Top Button ────────────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 124px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(191, 158, 92, 0.4);
  color: #bf9e5c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.35);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--navy, #0a1628);
  border-color: #bf9e5c;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(191, 158, 92, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 215px !important;
    right: 20px !important;
    width: 44px;
    height: 44px;
  }
}

/* SOURCE: pages.css */
/* ============================================================
   Page-specific styles
   ============================================================ */

/* === PAGE HEADER — Transparan logo bg === */
.page-header { position: relative; overflow: hidden; }
.page-header .container { position: relative; z-index: 1; }
.page-header-logo-bg {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 260px; height: 260px;
  pointer-events: none;
  z-index: 0;
}
.page-header-logo-bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0.07;
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) { .page-header-logo-bg { width: 140px; height: 140px; right: -10px; } }

/* === HAKKIMIZDA — 2 Sütun Layout === */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: start;
}
@media (max-width: 860px) { .about-two-col { grid-template-columns: 1fr; gap: var(--sp-7); } }

.about-bio-col {}
.about-photo-frame {
  aspect-ratio: 4/5;
  max-height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: var(--sh-lg);
  margin-bottom: var(--sp-6);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.about-bio-content h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: var(--sp-4); }
@media (max-width: 640px) {
  .bio-with-photo-grid {
    grid-template-columns: 1fr !important;
  }
}

.about-timeline-col {}
.about-timeline-col h2 { font-size: clamp(20px, 2.5vw, 28px); }

/* === HAKKIMIZDA — Fotoğraf Galerisi === */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 900px) { .about-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .about-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.about-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-200);
}
.about-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.about-gallery-item:hover img { transform: scale(1.04); }

/* === DROPZONE === */
.dropzone {
  border: 2px dashed var(--ink-200);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.dropzone.drag-over {
  border: 2px solid var(--primary);
  background: var(--primary-lt);
}
.dropzone.drag-over .dropzone-label::after { content: ' — Bırakın!'; }
.dropzone-icon { color: var(--ink-300); margin-bottom: var(--sp-3); }
#dropzoneFileInfo { display: none; }
#dropzoneFileInfo.show { display: flex !important; }

/* === RANDEVU === */
.randevu-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-7);
  align-items: start;
  margin-top: var(--sp-6);
}
@media (max-width: 860px) {
  .randevu-layout {
    grid-template-columns: 1fr;
  }
  .randevu-form-panel {
    display: none;
    animation: slideDown 0.35s var(--ease-out);
  }
  .randevu-form-panel.visible {
    display: block;
  }
  .randevu-mobile-hint { display: block !important; }
}
@media (min-width: 861px) {
  .randevu-form-panel { display: block !important; }
  .randevu-mobile-hint { display: none !important; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inline field errors */
.field-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  min-height: 16px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #fca5a5;
  background: #fef2f2;
}
.consent-row.has-error .field-error { display: block; }

/* === HOME === */
/* trust-strip and old expertise-card styles are removed or consolidated in layout.css */

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  counter-reset: step;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: var(--sp-6) var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: var(--sp-3);
  font-style: normal;
  font-weight: 600;
}
.process-step h3 { font-size: 18px; font-family: var(--font-sans); font-weight: 600; color: var(--primary-dk); margin-bottom: var(--sp-2); }
.process-step p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* Split quote section */
.split-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 900px) { .split-intro { grid-template-columns: 1fr; } }
.split-intro .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--navy-100), var(--bg-alt));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.split-intro .photo::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 60%; height: 8px;
  background: var(--accent);
}
.split-intro .photo .ph-text {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-400);
  font-style: italic; font-family: var(--font-display);
  font-size: 16px;
}
.split-intro blockquote {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.45;
  color: var(--primary-dk);
  font-style: italic;
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-5);
  border-left: 2px solid var(--accent);
}
html[dir="rtl"] .split-intro blockquote { border-left: 0; border-right: 2px solid var(--accent); padding-left: 0; padding-right: var(--sp-5); }
.split-intro .sign { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }

/* Publication list */
.pub-item {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--ink-200);
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 700px) { .pub-item { grid-template-columns: 1fr; gap: var(--sp-2); } }
.pub-item .year {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-dk);
  font-style: italic;
}
.pub-item h4 { font-size: 16px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.pub-item .meta { font-size: 13px; color: var(--ink-500); }
.pub-item .tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pub-item .tag { font-size: 10px; padding: 3px 8px; background: var(--bg-alt); border: 1px solid var(--ink-200); border-radius: 2px; color: var(--ink-500); letter-spacing: 0.04em; text-transform: uppercase; }
.pub-item .link { font-size: 12px; color: var(--accent-dk); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Press grid */
.press-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.25s;
  display: flex; flex-direction: column;
}
.press-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh-md); }
.press-card .thumb {
  aspect-ratio: 16/9;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.press-card .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
  opacity: 0.85;
}
.press-card:hover .thumb img {
  transform: scale(1.05);
  opacity: 1;
}
.press-card .thumb .src-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white); padding: 4px 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-dk);
  border-radius: 2px;
  z-index: 2;
  box-shadow: var(--sh-sm);
}
.press-card .body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.press-card h4 { font-family: var(--font-sans); font-size: 17px; line-height: 1.35; margin-bottom: var(--sp-3); flex: 1; }
.press-card .date { font-size: 12px; color: var(--ink-400); letter-spacing: 0.06em; text-transform: uppercase; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid .item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-100), var(--bg-alt));
  background-size: cover;
  background-position: top center;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-400);
  font-family: var(--font-display); font-style: italic;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s;
  position: relative;
}
.gallery-grid .item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.gallery-grid .item.wide { grid-column: span 2; }
.gallery-grid .item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery-grid .item:hover { transform: scale(0.98); }
.gallery-grid .item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,26,46,0.4));
  pointer-events: none;
}
.gallery-grid .item a {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* Services (category landing) */
.service-cat {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-8);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--ink-200);
}
.service-cat:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .service-cat { grid-template-columns: 1fr; gap: var(--sp-5); } }
.service-cat .cat-title { font-size: 32px; margin-bottom: var(--sp-3); }
.service-cat .cat-title a { color: inherit; }
.service-cat .cat-title a:hover { color: var(--accent-dk); }
.service-cat .cat-desc { color: var(--ink-500); font-size: 15px; }
.service-cat .svc-list { display: grid; gap: var(--sp-3); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
}
.svc-row:hover { border-color: var(--accent); background: var(--bg-alt); }
.svc-row .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.svc-row h5 { font-size: 16px; margin: 0; font-family: var(--font-sans); font-weight: 600; color: var(--primary-dk); }
.svc-row p { margin: 0; font-size: 13px; color: var(--ink-500); }
.svc-row .arrow { color: var(--ink-400); font-size: 18px; }
.svc-row:hover .arrow { color: var(--accent-dk); transform: translateX(4px); }
.category-service-list { display: grid; gap: var(--sp-3); }

/* Service detail page */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
}
@media (max-width: 900px) { .service-detail-layout { grid-template-columns: 1fr; } }
.service-detail-layout .sidebar {
  position: sticky; top: 100px;
  align-self: start;
  padding: var(--sp-5);
  background: var(--bg-alt);
  border-radius: var(--r-md);
}
.sidebar h5 { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: var(--sp-3); }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.sidebar ul li a { display: block; padding: 8px 0; font-size: 14px; color: var(--ink-700); border-bottom: 1px dashed var(--ink-200); }
.sidebar ul li a.current { color: var(--accent-dk); font-weight: 600; }
.prose h2 { font-size: 30px; margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.prose h3 { font-size: 22px; margin-top: var(--sp-6); margin-bottom: var(--sp-3); font-family: var(--font-sans); font-weight: 600; color: var(--primary-dk); }
.prose p { font-size: 16px; color: var(--ink-700); line-height: 1.7; }
.prose ul li { margin-bottom: 8px; color: var(--ink-700); }
.prose .callout, .prose blockquote {
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  padding: var(--sp-4) var(--sp-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-5) 0;
  font-size: 15px;
  color: var(--primary-dk);
}
html[dir="rtl"] .prose .callout, html[dir="rtl"] .prose blockquote { border-left: 0; border-right: 3px solid var(--accent); border-radius: var(--r-md) 0 0 var(--r-md); }

.editor-note {
  display: flex; gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--ink-500);
  margin: var(--sp-6) 0;
}
.editor-note strong { color: var(--primary-dk); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--ink-200);
  padding: var(--sp-4) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dk);
  font-size: 17px;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--accent); font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: var(--sp-3) 0 0; color: var(--ink-500); font-size: 15px; }

/* International patients process */
.intl-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: var(--sp-7) 0;
  position: relative;
}
@media (max-width: 900px) { .intl-flow { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); } }
.intl-flow::before {
  content: "";
  position: absolute;
  top: 36px; left: 5%; right: 5%;
  height: 2px;
  background: var(--ink-200);
  z-index: 0;
}
@media (max-width: 900px) { .intl-flow::before { display: none; } }
.flow-step {
  text-align: center;
  padding: 0 var(--sp-3);
  position: relative;
  z-index: 1;
}
.flow-step .dot {
  width: 72px; height: 72px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-dk);
  font-style: italic;
  margin-bottom: var(--sp-4);
  box-shadow: 0 0 0 4px var(--white);
}
.flow-step h5 { font-size: 15px; font-family: var(--font-sans); font-weight: 600; color: var(--primary-dk); margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* Lang cards */
.lang-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
@media (max-width: 700px) { .lang-list { grid-template-columns: repeat(2, 1fr); } }
.lang-card {
  padding: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  text-align: center;
}
.lang-card .flag { font-size: 32px; margin-bottom: 8px; }
.lang-card .name { font-family: var(--font-display); font-size: 18px; color: var(--primary-dk); }
.lang-card .native { font-size: 13px; color: var(--ink-500); }

/* Forms — appointment / second opinion / contact */
.form-wrap {
  background: var(--white);
  padding: var(--sp-7);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  box-shadow: var(--sh-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.dropzone {
  border: 2px dashed var(--ink-300);
  border-radius: var(--r-md);
  padding: var(--sp-7);
  text-align: center;
  background: var(--bg-alt);
  transition: all 0.2s;
}
.dropzone:hover { border-color: var(--accent); background: var(--accent-lt); }
.dropzone .icon { font-size: 32px; color: var(--accent-dk); margin-bottom: var(--sp-3); }
.dropzone p { margin: 0; font-size: 14px; color: var(--ink-500); }
.consent-row {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4);
  background: var(--bg-alt);
  border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-700); line-height: 1.5;
}
.consent-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }

/* Calendar preview */
.calendar {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.cal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-4);
}
.cal-header h4 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.cal-header button { background: var(--bg-alt); border: 1px solid var(--ink-200); width: 32px; height: 32px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink-700); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-family: var(--font-sans);
}
.cal-grid .dow {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--ink-400); letter-spacing: 0.08em;
  padding: 8px 0;
}
.cal-grid .day {
  aspect-ratio: 1;
  width: 100%; border: 0; background: transparent; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.cal-grid .day:disabled { cursor: default; }
.cal-grid .day:focus-visible, .slot:focus-visible, .cal-header button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.cal-grid .day:hover { background: var(--bg-alt); }
.cal-grid .day.out { color: var(--ink-300); }
.cal-grid .day.avail { background: var(--primary-lt); color: var(--primary-dk); font-weight: 600; }
.cal-grid .day.avail:hover { background: var(--primary); color: var(--white); }
.cal-grid .day.selected { background: var(--primary); color: var(--white); }
.cal-grid .day.today { border: 2px solid var(--accent); }

.slot-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-5); }
.slot {
  padding: 10px; text-align: center; font-size: 14px;
  background: var(--bg-alt); border: 1px solid var(--ink-200);
  border-radius: var(--r-sm); cursor: pointer;
  font-family: var(--font-sans); font-weight: 500;
  color: var(--primary-dk);
}
.slot:hover, .slot.picked { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--ink-200);
}
.contact-info-list .ico {
  width: 44px; height: 44px;
  background: var(--primary-lt); color: var(--primary);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info-list strong { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-700); font-weight: 600; margin-bottom: 4px; }
.contact-info-list p { margin: 0; color: var(--primary-dk); font-size: 17px; }
/* tel: ve mailto: bağlantıları satır içi olduğu için kutu yüksekliği ~20px
   kalıyordu; WCAG 2.5.8 (AA) en az 24px ister. Mobilde en çok kullanılan iki
   bağlantı bunlar, dokunma hedefini büyütüyoruz. */
.contact-info-list p a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-block: 4px;
}
.contact-info-list a[style*="accent-dk"] { color: var(--accent-text) !important; }
.map-box {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-100), var(--bg-alt));
  border-radius: var(--r-md);
  margin-top: var(--sp-5);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-400);
  font-family: var(--font-display); font-style: italic;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,37,64,0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, rgba(10,37,64,0.08) 1px, transparent 1px) 0 0 / 40px 40px;
}
.map-box .pin {
  position: relative; z-index: 1;
  color: var(--danger);
  font-size: 40px;
}

/* Üçüncü taraf Google Maps kodunu kullanıcı isteyene kadar yüklemeyen önizleme */
.deferred-map {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
  background:
    radial-gradient(circle at 72% 34%, rgba(191,158,92,.24), transparent 22%),
    linear-gradient(135deg, var(--navy-100), var(--ink-50));
  box-shadow: var(--sh-lg);
  isolation: isolate;
}
.deferred-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(10,37,64,.07) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(to bottom, rgba(10,37,64,.07) 1px, transparent 1px) 0 0 / 38px 38px;
}
.deferred-map__button {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  padding: var(--sp-6);
  background: transparent;
  color: var(--primary-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.deferred-map__button:hover .deferred-map__pin,
.deferred-map__button:focus-visible .deferred-map__pin {
  transform: translateY(-3px);
  background: var(--primary);
  color: var(--white);
}
.deferred-map__button:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: -5px;
}
.deferred-map__pin {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--sh-md);
  transition: transform .25s var(--ease-out), background .25s, color .25s;
}
.deferred-map__copy { display: grid; gap: 3px; }
.deferred-map__copy strong {
  color: var(--primary-dk);
  font-size: 17px;
  letter-spacing: -.01em;
}
.deferred-map__copy small { color: var(--ink-700); font-size: 12px; line-height: 1.45; }
.deferred-map__fallback {
  position: relative;
  z-index: 2;
  color: var(--primary-dk);
  text-decoration: underline;
}
.deferred-map iframe { width: 100%; height: 100%; }
.deferred-map.is-loading::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  inset: 50% auto auto 50%;
  margin: -15px;
  border: 3px solid rgba(10,22,40,.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: map-spin .7s linear infinite;
}
@keyframes map-spin { to { transform: rotate(360deg); } }

/* About timeline */
.timeline { position: relative; padding-left: var(--sp-7); }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--ink-200);
}
html[dir="rtl"] .timeline { padding-left: 0; padding-right: var(--sp-7); }
html[dir="rtl"] .timeline::before { left: auto; right: 8px; }
.tl-item { position: relative; padding: var(--sp-4) 0 var(--sp-6); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -48px; top: 24px;
  width: 18px; height: 18px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
}
html[dir="rtl"] .tl-item::before { left: auto; right: -48px; }
.tl-item .year { font-family: var(--font-display); font-size: 22px; color: var(--accent-dk); font-style: italic; }
.tl-item h4 { margin-top: 4px; font-family: var(--font-sans); font-weight: 600; font-size: 17px; }
.tl-item p { margin-top: 4px; font-size: 14px; color: var(--ink-500); }

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 320px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--ink-200);
  z-index: 500;
  font-family: var(--font-sans);
  overflow: hidden;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel .t-head {
  background: var(--primary-dk);
  color: var(--white);
  padding: var(--sp-4) var(--sp-5);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel .t-head h4 {
  color: var(--white); font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0;
}
.tweaks-panel .t-close { background: transparent; border: 0; color: var(--white); cursor: pointer; font-size: 20px; }
.tweaks-panel .t-body { padding: var(--sp-5); max-height: 60vh; overflow-y: auto; }
.tweaks-panel .tweak-grp { margin-bottom: var(--sp-5); }
.tweaks-panel .tweak-grp label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: var(--sp-2); }
.tweaks-panel .swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks-panel .swatch {
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s;
}
.tweaks-panel .swatch.active { border-color: var(--accent); transform: scale(1.1); }
.tweaks-panel .option-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.tweaks-panel .option-row button {
  padding: 10px 12px;
  font-size: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink-700);
  font-family: inherit;
  text-align: left;
  transition: all 0.2s;
}
.tweaks-panel .option-row button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.tweaks-toggle {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 52px; height: 52px;
  background: var(--primary-dk);
  color: var(--accent);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--sh-lg);
  cursor: pointer;
  z-index: 499;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.tweaks-toggle:hover { transform: rotate(90deg) scale(1.05); }

/* Print-friendly logo style tweak */
.logo-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dk);
  border-radius: 4px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
}

/* Page switcher animation */
.page { display: none; animation: fadeUp 0.4s ease; }
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--ink-50); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-200); }
.blog-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.blog-card-body h2 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: var(--sp-3); }
.blog-card-body h2 a { color: var(--primary-dk); }
.blog-card-body h2 a:hover { color: var(--accent-dk); }
.blog-card-ozet { font-size: 14px; color: var(--ink-500); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-4); font-size: 12px; color: var(--ink-400); }

.blog-detay-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
  align-items: start;
  margin-top: var(--sp-6);
}
@media (max-width: 860px) { .blog-detay-layout { grid-template-columns: 1fr; } }
.blog-prose { max-width: 760px; }
.blog-prose h2 { font-size: clamp(20px, 2.5vw, 26px); margin: var(--sp-7) 0 var(--sp-4); }
.blog-prose h3 { font-size: clamp(17px, 2vw, 20px); margin: var(--sp-5) 0 var(--sp-3); }
.blog-prose p { font-size: 16px; line-height: 1.8; color: var(--ink-700); margin-bottom: var(--sp-4); }
.blog-prose ul, .blog-prose ol { padding-left: var(--sp-5); margin-bottom: var(--sp-4); }
.blog-prose li { font-size: 16px; line-height: 1.8; color: var(--ink-700); margin-bottom: var(--sp-2); }
.blog-prose strong { color: var(--primary-dk); }
.blog-inline-img {
  margin: var(--sp-6) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--ink-100);
  background: #0a1628;
}
.blog-inline-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.blog-inline-img figcaption {
  font-size: 13px;
  color: var(--ink-500);
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--ink-100);
  text-align: center;
  font-style: italic;
}
.blog-sidebar { position: sticky; top: calc(var(--sp-5) + 78px); }

/* === SERVICE & BLOG SIDEBAR === */
.service-sidebar,
.blog-sidebar {
  position: sticky;
  top: calc(var(--sp-5) + 78px);
}
.sidebar-cta {
  background: var(--primary);
  color: var(--white);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
}
.sidebar-cta h3 { color: var(--white); margin-bottom: var(--sp-3); font-size: 18px; }
.sidebar-cta p  { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 0; }
.sidebar-cta .btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.sidebar-cta .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.18);
  color: var(--white);
}
.sidebar-related { margin-top: var(--sp-5); }
