/* ============================================================
   NERA Academy — tasarım sistemi
   Palet ve biçim dili örnek tasarımdan (örnek.jpeg) türetilmiştir.
   ============================================================ */

:root {
  --cream:      #FDF6EA;
  --cream-2:    #FBEEDC;
  --cream-3:    #F7E4C8;
  --white:      #FFFFFF;

  --navy:       #1B3A6B;
  --navy-dark:  #142C52;
  --navy-soft:  #EAF0F9;

  --orange:     #EF7C21;
  --orange-dark:#D66910;
  --orange-soft:#FDEEDF;

  --teal:       #17A2A0;
  --teal-soft:  #E0F4F3;
  --purple:     #8B4FC7;
  --purple-soft:#F1E8FA;
  --green:      #63B22F;
  --green-soft: #EAF6E1;
  --yellow:     #F5B32C;
  --yellow-soft:#FDF1D8;
  --pink:       #EF4C5A;
  --pink-soft:  #FDE8EA;

  --ink:        #22304B;
  --muted:      #6B7A93;
  --line:       #EDE2D2;

  --shadow-sm:  0 2px 8px rgba(27, 58, 107, .06);
  --shadow:     0 10px 30px rgba(27, 58, 107, .08);
  --shadow-lg:  0 20px 50px rgba(27, 58, 107, .12);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --wrap: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* height:auto şart: img'lere yerleşim kaymasını önlemek için width/height
   öznitelikleri veriyoruz; CSS genişliği sınırlarken yükseklik sabit kalırsa
   görsel eziliyor. Sabit yükseklik isteyen kurallar (.program-photo, .panel-cta img)
   sınıf seçici oldukları için bunu zaten geçersiz kılar. */
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(239,124,33,.28); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(27,58,107,.24); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(23,162,160,.25); }
.btn-teal:hover { background: #128A88; color: #fff; }

.btn-outline { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); color: var(--teal); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--navy); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--pink); color: #fff; }
.btn-danger:hover { background: #d93a48; color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,246,234,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
/* Menü + logo + butonlar içerik kalıbından geniştir; header'a kendi genişliğini veriyoruz.
   flex-wrap emniyet ağıdır: yazı tipi metrikleri beklenenden genişse menü üst üste
   binmek yerine alt satıra iner. Normalde 1220px eşiği sayesinde hiç devreye girmez. */
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px; padding: 12px 24px; max-width: 1340px; margin: 0 auto; min-width: 0;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.brand-text { line-height: 1.15; }
/* İsim ve slogan alt alta durmalı — span oldukları için display'i açıkça vermek şart. */
.brand-name {
  display: block;
  font-family: 'Baloo 2', sans-serif; font-weight: 600;
  font-size: 22px; color: var(--navy); letter-spacing: -.3px;
  white-space: nowrap;
}
.brand-name b { color: var(--orange); font-weight: 600; }
.brand-tag {
  display: block;
  font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .2px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.nav a {
  color: var(--navy); font-weight: 700; font-size: 14.5px; white-space: nowrap;
  padding: 8px 10px; border-radius: 10px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--cream-2); color: var(--navy); }
.nav a.active { color: var(--orange); }
.nav a.active::after {
  content: ''; display: block; height: 3px; border-radius: 3px;
  background: var(--orange); margin-top: 4px;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}

/* Dar masaüstlerinde önce slogan, sonra iç boşluklar feda edilir; menü korunur. */
@media (max-width: 1340px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 20px; }
  .brand img { width: 48px; height: 48px; }
  .nav a { padding: 8px 8px; font-size: 14px; }
  .header-actions .btn-sm { padding: 9px 15px; }
}

/* Mobil menü: mutlak konumlandırma yerine akışa sarma — nav ile butonlar
   birbirinin üstüne binmez, panel yüksekliği içeriğe göre kendiliğinden ayarlanır. */
/* Yatay menünün sığması için ~1170px gerekiyor; eşiği pay bırakarak 1220px'e koyduk. */
@media (max-width: 1220px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open { background: #fff; box-shadow: var(--shadow); }
  .site-header.open .header-inner { padding-bottom: 18px; }

  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    order: 3; width: 100%; gap: 2px; margin: 8px 0 0;
    padding-top: 10px; border-top: 1px solid var(--line);
  }
  .site-header.open .nav a { padding: 12px 10px; }
  .site-header.open .nav a.active::after { display: none; }

  .site-header.open .header-actions {
    display: flex; flex-direction: column; align-items: stretch;
    order: 4; width: 100%; gap: 10px; margin-top: 12px;
  }
  .site-header.open .header-actions .btn { width: 100%; }

  /* Mobil menü açıkken slogan yeniden görünür; 320px'lik ekranlarda taşmasın diye sarabilir. */
  .site-header.open .brand { flex-shrink: 1; min-width: 0; }
  .site-header.open .brand-tag { display: block; white-space: normal; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 52px 0 20px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--yellow);
  color: var(--navy); font-weight: 800; font-size: 13px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
  letter-spacing: .3px;
}
.pill-badge .ico { color: var(--yellow); }

.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero-lead { font-size: 18px; color: #4A5A75; max-width: 520px; margin: 0 0 30px; }
.hero-lead .hl { color: var(--orange); font-weight: 800; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero görseli — fotoğraf + üzerine binen rozet ve balon */
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-photo {
  width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 20px 40px rgba(27, 58, 107, .10));
}

.bubble {
  position: absolute; font-family: 'Baloo 2', sans-serif; font-weight: 600;
  color: #fff; padding: 9px 20px; border-radius: 999px; font-size: 18px;
  box-shadow: var(--shadow); line-height: 1.2; text-align: center;
}
.bubble::after {
  content: ''; position: absolute; bottom: -8px; left: 22px;
  border: 8px solid transparent; border-top-color: inherit; border-bottom: 0;
}
.bubble-teal { background: var(--pink); border-top-color: var(--pink); top: 4%; right: 2%; }

/* bottom sabit px: beyaz değer şeridi fotoğrafın altına 46px bindiği için
   yüzdeyle konumlandırılırsa dar ekranlarda rozet şeridin altında kalıyor. */
.stamp {
  position: absolute; right: -2%; bottom: 66px;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 600;
  font-size: 15px; line-height: 1.3; letter-spacing: .3px;
  box-shadow: var(--shadow-lg); border: 3px dashed rgba(255, 255, 255, .85);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-photo { max-width: 420px; }
  .hero-lead { margin-inline: auto; }
  .hero { text-align: center; }
  .hero-cta { justify-content: center; }
  .stamp { width: 92px; height: 92px; font-size: 12.5px; right: 0; bottom: 24px; }
}
@media (max-width: 560px) {
  .stamp { width: 78px; height: 78px; font-size: 11px; border-width: 2px; bottom: 16px; }
  .bubble { font-size: 15px; padding: 7px 15px; }
}

/* ---------------- Değer şeridi — hero'ya binen beyaz kart ---------------- */
.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: 22px 12px; position: relative; z-index: 5;
  margin: -46px 0 10px;
}
.value-item { display: flex; gap: 13px; align-items: center; padding: 4px 16px; border-left: 1px dashed var(--line); }
.value-item:first-child { border-left: 0; }
.value-ico {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
/* İngilizce kelime renkli, Türkçe karşılığı lacivert — örnekteki iki satırlı düzen */
.value-item h4 {
  font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800;
  margin: 0; letter-spacing: .5px; text-transform: uppercase; line-height: 1.2;
}
.value-item h4 span { display: block; color: var(--navy); font-size: 15px; }
.value-item p { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.35; }

@media (max-width: 980px) {
  .value-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 6px; margin-top: -30px; }
  .value-item:nth-child(odd) { border-left: 0; }
}
@media (max-width: 900px) { .value-strip { margin-top: 26px; } }
@media (max-width: 480px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-item { border-left: 0; }
}

/* ---------------- Bölümler ---------------- */
.section { padding: 68px 0; }
.section-cream { background: var(--cream-2); }
.section-white { background: #fff; }

.section-head { margin-bottom: 38px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Baloo 2', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--orange); letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.5px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------------- Kartlar ---------------- */
.card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Program kartları — sağda fotoğraf, sola doğru renkli zemin */
.program-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 24px 22px; min-height: 246px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.program-card > * { position: relative; z-index: 2; }
.program-card h3 { font-size: 22px; margin-bottom: 9px; max-width: 54%; line-height: 1.15; }
.program-card p { color: #55647E; font-size: 14.5px; margin: 0 0 20px; max-width: 52%; }
.program-card .btn { margin-top: auto; }

/* Fotoğrafın sol kenarı karta karışsın diye maskeyle yumuşatılıyor. */
.program-photo {
  position: absolute; inset: 0 0 0 auto; width: 50%; height: 100%;
  object-fit: cover; object-position: 50% 100%; z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}

/* Zemin, fotoğrafın kendi stüdyo zeminine doğru açılan bir gradyan. */
.p-orange { background: linear-gradient(100deg, #FBE7D4 0%, #FCF2E8 52%, #FBF6F1 100%); }
.p-orange h3 { color: var(--orange-dark); }
.p-teal   { background: linear-gradient(100deg, #DDF0EC 0%, #ECF4F0 52%, #F2F4F1 100%); }
.p-teal h3 { color: #0F7E7C; }
.p-purple { background: linear-gradient(100deg, #EFE5F8 0%, #F5ECF6 52%, #F6F2F4 100%); }
.p-purple h3 { color: #6D34A6; }
.p-blue   { background: linear-gradient(100deg, #E1EBF7 0%, #ECF0F6 52%, #F1F2F5 100%); }
.p-blue h3 { color: #1B5490; }

@media (max-width: 680px) {
  .program-card { min-height: 210px; }
  .program-card h3, .program-card p { max-width: 56%; }
}

/* Neden NERA */
.why-panel { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.why-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #35455F; }
.check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center; color: #fff; background: var(--teal);
}
.why-list li:nth-child(2) .check { background: var(--green); }
.why-list li:nth-child(3) .check { background: var(--purple); }
.why-list li:nth-child(4) .check { background: var(--orange); }

/* Alt rozet şeridi */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
  padding: 26px 0 0; margin-top: 40px; border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--navy); }

/* ---------------- Asistan tanıtım bölümü ---------------- */
.assistant-band {
  background: linear-gradient(135deg, var(--navy) 0%, #24528F 55%, var(--teal) 130%);
  border-radius: var(--r-xl); padding: 44px; color: #fff;
  position: relative; overflow: hidden;
}
.assistant-band::before {
  content: ''; position: absolute; right: -70px; top: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.assistant-band h2, .assistant-band h3 { color: #fff; }
.assistant-band p { color: #D6E3F4; }
.assistant-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: center; position: relative; }
.feature-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: center; color: #EAF2FC; font-weight: 600; }
.feature-list .fico {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,255,255,.14); display: grid; place-items: center; color: #FFD79A;
}
.mock-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(6px);
}
.mock-word {
  background: #fff; color: var(--navy); border-radius: var(--r); padding: 22px;
  text-align: center; box-shadow: var(--shadow-lg); margin-bottom: 14px;
}
.mock-word .en { font-family: 'Baloo 2', sans-serif; font-size: 34px; color: var(--navy); }
.mock-word .tr { color: var(--muted); font-weight: 700; }
.mock-row { display: flex; gap: 10px; }
.mock-chip {
  flex: 1; text-align: center; background: rgba(255,255,255,.16);
  border-radius: 12px; padding: 10px; font-size: 13px; font-weight: 700; color: #fff;
}
@media (max-width: 900px) { .assistant-grid { grid-template-columns: 1fr; } .assistant-band { padding: 30px 24px; } }

/* ---------------- Blog ---------------- */
.blog-card { overflow: hidden; padding: 0; }
.blog-cover { height: 140px; display: grid; place-items: center; color: #fff; }
.blog-body { padding: 22px; }
.blog-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
  background: var(--cream-2); color: var(--navy);
}
.blog-card h3 { font-size: 19px; }
.blog-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------------- Formlar ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.input, .textarea, .select {
  width: 100%; padding: 13px 16px; font-size: 15px;
  font-family: 'Nunito', sans-serif; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 14px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft);
}
.textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.alert {
  border-radius: 14px; padding: 13px 16px; font-size: 14.5px; font-weight: 600;
  margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start;
}
.alert-error   { background: var(--pink-soft);   color: #B32332; border: 1px solid #F6C9CE; }
.alert-success { background: var(--green-soft);  color: #3F7A18; border: 1px solid #CFE7BE; }
.alert-info    { background: var(--navy-soft);   color: var(--navy); border: 1px solid #D3E0F2; }
.alert-warn    { background: var(--yellow-soft); color: #96690A; border: 1px solid #F4DFAF; }
.hidden { display: none !important; }

/* ---------------- İletişim ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-ico {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; background: var(--navy);
}
.contact-item b { display: block; color: var(--navy); font-size: 15px; }
.contact-item span { color: var(--muted); font-size: 14.5px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #C6D5EA; padding: 52px 0 26px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: #C6D5EA; font-weight: 600; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 54px; height: 54px; border-radius: 14px; background: #fff; padding: 3px; object-fit: contain; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13.5px; color: #9FB4D1;
}

/* ---------------- Auth sayfaları ---------------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
/* Giriş sayfası yan paneli — ana sayfayla aynı krem/sarı dil */
.auth-aside {
  background: var(--cream-2);
  color: var(--ink); padding: 44px 42px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-aside::after {
  content: ''; position: absolute; right: -16%; bottom: -14%;
  width: 460px; height: 420px; background: var(--yellow); opacity: .32;
  border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.auth-brand img { width: 62px; height: 62px; border-radius: 18px; }
.auth-brand b { font-family: 'Baloo 2', sans-serif; font-size: 21px; color: var(--navy); font-weight: 600; display: block; line-height: 1.1; }
.auth-brand span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.auth-aside h2 { color: var(--navy); font-size: clamp(28px, 3vw, 38px); }
.auth-aside h2 .accent { color: var(--orange); display: block; }
.auth-aside p { color: #4A5A75; font-size: 16.5px; max-width: 430px; margin: 0; }
.auth-photo { width: 100%; max-width: 330px; height: auto; margin: 22px 0 4px; border-radius: 24px; }
/* Alçak ekranlarda yan panel taşmasın diye fotoğrafı gizle */
@media (max-height: 780px) { .auth-photo { display: none; } }
.auth-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.auth-list li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; color: var(--navy); }
.auth-list .aico {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
/* Dar ekranda yan panel gizlenir; form ekranın üstünde kalsın.
   Bu blok .auth-aside temel kuralından SONRA gelmeli — aksi hâlde
   aynı özgüllükteki display:flex onu ezer. */
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 430px; }
.auth-tabs { display: flex; background: var(--cream-2); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.auth-tab {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; color: var(--muted);
  padding: 11px; border-radius: 999px; transition: all .18s;
}
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------------- Panel ---------------- */
.panel-shell { min-height: 100vh; display: flex; flex-direction: column; }
.panel-body { flex: 1; padding: 34px 0 60px; }
.panel-grid { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .panel-grid { grid-template-columns: 1fr; } }

.panel-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
@media (max-width: 900px) { .panel-nav { position: static; display: flex; overflow-x: auto; gap: 6px; } }
.panel-nav button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 12px 14px; border: 0; background: transparent; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy);
  border-radius: 14px; text-align: left; transition: background .15s, color .15s; white-space: nowrap;
}
.panel-nav button:hover { background: var(--cream-2); }
.panel-nav button.active { background: var(--navy); color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 680px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
/* Sol kenarda renkli şerit — kartları ana sayfanın renk diline bağlar */
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--orange); }
.stat:nth-child(2)::before { background: var(--teal); }
.stat:nth-child(3)::before { background: var(--purple); }
.stat-ico {
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 12px;
  display: grid; place-items: center; color: #fff; background: var(--orange);
}
.stat:nth-child(2) .stat-ico { background: var(--teal); }
.stat:nth-child(3) .stat-ico { background: var(--purple); }
.stat .label { font-size: 12.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: 'Baloo 2', sans-serif; font-size: 34px; color: var(--navy); line-height: 1.1; }
.stat .sub { font-size: 13px; color: var(--muted); }

/* Panel üstündeki asistan tanıtım kartı */
.panel-cta {
  background: linear-gradient(115deg, var(--navy) 0%, #24528F 62%, var(--teal) 135%);
  border: 0; color: #D6E3F4; margin-bottom: 20px;
  position: relative; overflow: hidden; padding: 0;
  display: grid; grid-template-columns: 1fr 190px; align-items: stretch;
}
.panel-cta-body { padding: 26px 28px; }
.panel-cta h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.panel-cta p { margin: 0 0 18px; }
.panel-cta img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 42%);
          mask-image: linear-gradient(to right, transparent, #000 42%);
}
@media (max-width: 620px) {
  .panel-cta { grid-template-columns: 1fr; }
  .panel-cta img { display: none; }
}

.ann-item { border-left: 4px solid var(--orange); padding-left: 18px; margin-bottom: 24px; }
.ann-item h3 { font-size: 20px; margin-bottom: 4px; }
.ann-meta { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.ann-body { color: #46566F; white-space: pre-wrap; margin: 0; }
.ann-pin { background: var(--yellow-soft); color: #96690A; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-left: 8px; letter-spacing: .4px; }

.msg-item { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; background: #fff; }
.msg-item .meta { font-size: 13px; color: var(--muted); font-weight: 700; }
.msg-item p { margin: 8px 0 0; white-space: pre-wrap; color: #46566F; }

.empty {
  text-align: center; padding: 46px 20px; color: var(--muted);
  border: 2px dashed var(--line); border-radius: var(--r-lg);
}
.empty svg, .empty i { opacity: .35; }

.spinner {
  width: 34px; height: 34px; border-radius: 50%; margin: 34px auto;
  border: 3px solid var(--line); border-top-color: var(--orange);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.badge-role {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 999px; background: var(--purple-soft); color: #6D34A6;
}

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

/* ---------------- İletişim: dönüş akışı ---------------- */
/* Açık telefon/e-posta/adres yayınlamıyoruz; ziyaretçi formdan yazıyor,
   bu blok da süreci anlatarak o boşluğu dolduruyor. */
.reply-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.reply-steps li { display: flex; gap: 13px; align-items: flex-start; }
.rs-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 15px; line-height: 1;
}
.reply-steps li:nth-child(2) .rs-num { background: var(--teal); }
.reply-steps li:nth-child(3) .rs-num { background: var(--purple); }
.reply-steps b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 1px; }
.rs-text { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
