/* ==========================================================================
   Mutlaka Başarı Özel Öğretim Kursu (mutlakabasari.com)
   Modern, Sıfır Şişkinlik, Core Web Vitals 95+ Uyumlu CSS
   Kurumsal Renk Dili: #2154cf (Akademik Mavi) | #0f2765 (Lacivert) | #ff9800 (Kehribar)
   ========================================================================== */

:root {
  --brand-primary: #2154cf;
  --brand-primary-dark: #163da0;
  --brand-primary-soft: rgba(33, 84, 207, 0.09);
  --brand-navy: #0f2765;
  --brand-navy-deep: #0b1c47;
  --brand-amber: #ff9800;
  --brand-amber-dark: #e08600;
  --surface-white: #ffffff;
  --surface-soft: #f4f7fc;
  --surface-slate: #eef2f9;
  --border-subtle: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --success: #0f766e;
  --danger: #b91c1c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(15, 39, 101, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 39, 101, 0.1);
  --shadow-lg: 0 22px 50px rgba(15, 39, 101, 0.15);
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  --container-max: 1240px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--surface-white);
  overflow-x: clip;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--brand-navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  line-height: 1.24;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.94rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(33, 84, 207, 0.28);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  color: #ffffff;
}

.btn-amber {
  background: var(--brand-amber);
  color: #111827;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 152, 0, 0.3);
}

.btn-amber:hover {
  background: var(--brand-amber-dark);
  color: #111827;
}

.btn-outline-navy {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--brand-navy);
}

/* ── Announcement Bar & Header ─────────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 0.52rem 0;
  border-bottom: 2px solid var(--brand-amber);
}

.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  text-align: center;
}

.announcement-badge {
  background: var(--brand-amber);
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
}

.announcement-cta {
  color: #ffffff;
  background: var(--brand-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
}

.announcement-cta:hover {
  background: var(--brand-amber);
  color: #111827;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 14px rgba(15, 39, 101, 0.04);
}

.header-topbar {
  background: var(--brand-navy-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
}

.topbar-links a,
.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.topbar-links a:hover {
  color: var(--brand-amber);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar-social a:hover {
  background: var(--brand-amber);
  color: #111827;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.nav-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
}

.nav-dropdown a:hover {
  background: var(--surface-soft);
  color: var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0.5rem 1.15rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  color: var(--brand-navy);
  cursor: pointer;
}

@media (min-width: 1080px) {
  .main-nav {
    display: block;
  }
  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 1079px) {
  .header-actions .btn-desktop-only {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar-email,
  .topbar-location {
    display: none;
  }
}

/* ── Mobile Drawer ─────────────────────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(11, 28, 71, 0.6);
  backdrop-filter: blur(4px);
  display: none;
}

.mobile-drawer.is-open {
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer-panel {
  width: min(88vw, 360px);
  height: 100%;
  background: #ffffff;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--brand-navy);
  border-radius: 8px;
}

.mobile-nav-list a:hover {
  background: var(--surface-soft);
  color: var(--brand-primary);
}

.mobile-sub-list {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 0.4rem;
}

.mobile-sub-list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.42rem 0.75rem;
}

/* ── Hero Split Slider (Zero DOM Cloning) ──────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--brand-navy-deep) 0%, #153482 55%, var(--brand-primary) 100%);
  color: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(255, 152, 0, 0.16), transparent 52%);
  pointer-events: none;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5.5vw, 5rem);
  animation: fadeSlideIn 0.45s ease;
}

.hero-slide.is-active {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 152, 0, 0.18);
  border: 1px solid rgba(255, 152, 0, 0.55);
  color: #ffd180;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.34rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  margin-bottom: 1.65rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  max-width: 460px;
  margin-inline: auto;
}

.hero-visual-frame img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.35rem;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dot[aria-current="true"] {
  width: 28px;
  background: var(--brand-amber);
}

.hero-arrows {
  display: flex;
  gap: 0.5rem;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(11, 28, 71, 0.45);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: var(--brand-amber);
  color: #111827;
  border-color: var(--brand-amber);
}

/* ── Stats Strip (SSR Safe) ────────────────────────────────────────────────── */
.stats-band {
  position: relative;
  z-index: 6;
  margin-top: -1.6rem;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-card:nth-child(even) {
  border-top-color: var(--brand-amber);
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  color: var(--brand-navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.28rem;
}

/* ── Sections & Grids ──────────────────────────────────────────────────────── */
.section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header.centred {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  margin-bottom: 0.45rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-slate);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--brand-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.card-title a {
  color: var(--brand-navy);
}

.card-title a:hover {
  color: var(--brand-primary);
}

.card-footer-link {
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-primary);
}

/* ── Pillars & Numbered Why-Us Cards ───────────────────────────────────────── */
.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.why-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: rgba(33, 84, 207, 0.16);
  line-height: 1;
}

/* ── About Split ───────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1.08fr;
  }
}

.about-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-left: 5px solid var(--brand-amber);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* ── YKS Gurur Tablosu (Achievements) ──────────────────────────────────────── */
.honor-band {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, #153482 100%);
  color: #ffffff;
}

.honor-band .section-title {
  color: #ffffff;
}

.honor-band .section-eyebrow {
  color: var(--brand-amber);
}

.honor-band .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.honor-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.honor-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
}

.honor-card-light {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.honor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.honor-tag {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--brand-amber);
  color: #111827;
}

.honor-year {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.85;
}

.honor-uni {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.3;
}

.honor-dept {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffd180;
}

.honor-card-light .honor-dept {
  color: var(--brand-primary);
}

.honor-student {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.honor-card-light .honor-student {
  border-top-color: var(--border-subtle);
  color: var(--text-muted);
}

/* ── YKS Yıl Arşivi Sekmeleri & Alternatif Derece Dilimleri Poster Kartı ───── */
.year-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.85rem;
}

.year-tab {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 42px;
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.year-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.year-tab.is-active {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
  color: #111827;
}

.year-tabs-light .year-tab {
  border-color: #cbd5e1;
  background: #ffffff;
  color: var(--brand-navy);
}

.year-tabs-light .year-tab:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.year-tabs-light .year-tab.is-active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
}

.rank-showcase {
  max-width: 560px;
  margin-inline: auto;
}

.rank-poster {
  background: radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 46%),
              linear-gradient(160deg, #132248 0%, #09132b 55%, #0a2852 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 22px 50px rgba(4, 12, 34, 0.45);
  color: #ffffff;
}

.rank-poster-head {
  text-align: center;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-poster-year-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.85rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 0.55rem;
}

.rank-poster-head h2,
.rank-poster-head h3 {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  margin: 0 0 0.28rem;
}

.rank-poster-head p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin: 0;
}

.rank-poster-rows {
  display: grid;
}

.rank-poster-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.rank-poster-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.rank-poster-left,
.rank-poster-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}

.rank-poster-prefix {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.22rem;
}

.rank-poster-milestone {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rank-poster-count {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rank-poster-unit {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-top: 0.2rem;
}

@media (min-width: 768px) {
  .rank-showcase {
    max-width: 100%;
  }

  .rank-poster-rows {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 1rem;
  }

  .rank-poster-row,
  .rank-poster-row:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.45rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  }

  .rank-poster-row:hover {
    transform: translateY(-4px);
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.55);
  }

  .rank-poster-left {
    width: 100%;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ── Teachers ──────────────────────────────────────────────────────────────── */
.teacher-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.teacher-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface-soft);
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.teacher-info {
  padding: 1.1rem;
}

.teacher-branch {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.teacher-bio {
  font-size: 0.86rem;
  margin-bottom: 0;
}

/* ── Testimonials & FAQ ────────────────────────────────────────────────────── */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.stars {
  color: var(--brand-amber);
  font-size: 1rem;
  letter-spacing: 2px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--surface-soft);
  padding-top: 0.9rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── Gallery ───────────────────────────────────────────────────────────────── */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-slate);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ── Page Banner & Breadcrumbs ─────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(120deg, var(--brand-navy-deep) 0%, var(--brand-navy) 60%, var(--brand-primary) 100%);
  color: #ffffff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin-bottom: 0;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb-nav a {
  color: #ffd180;
  font-weight: 600;
}

/* ── Prose Content ─────────────────────────────────────────────────────────── */
.prose h2 {
  font-size: 1.45rem;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}

.prose ul, .prose ol {
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--brand-navy);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.62rem 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-main);
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(33, 84, 207, 0.16);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  font-weight: 600;
  min-height: 1em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.checkbox-row input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 0.85rem;
}

.form-status.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.75rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.9fr 1fr 1.15fr;
  }
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.06rem;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  height: 46px;
  width: auto;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--brand-amber);
}

.footer-meb-qr {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  max-width: 100%;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.footer-meb-qr:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--brand-amber);
  color: #ffffff;
}

.footer-meb-qr-box {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 9px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-meb-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-meb-qr-meta {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  line-height: 1.3;
}

.footer-meb-qr-meta strong {
  font-size: 0.86rem;
  color: #ffffff;
}

.footer-meb-qr-meta span {
  font-size: 0.77rem;
  color: var(--brand-amber);
  font-weight: 600;
}

.footer-affiliates {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.affiliates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.affiliate-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  width: 176px;
  height: 74px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.affiliate-card img {
  max-height: 46px;
  max-width: 138px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.footer-credit img {
  height: 22px;
  width: auto;
}

.footer-llms-stealth {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

/* ── Floating CRO Actions (Sağ Alt) ────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.fab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 28, 71, 0.25);
  transition: transform 0.18s ease;
}

.fab-pill:hover {
  transform: translateY(-2px);
}

.fab-prereg {
  background: var(--brand-amber);
  color: #111827;
}

.fab-whatsapp {
  background: #16a34a;
  color: #ffffff;
}

.fab-whatsapp:hover {
  color: #ffffff;
}

.scroll-top-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 840;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-navy);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ── Native Dialog ─────────────────────────────────────────────────────────── */
.mb-dialog {
  width: min(94vw, 560px);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  background: #ffffff;
  margin: auto;
}

.mb-dialog-wide {
  width: min(94vw, 880px);
  background: #0f172a;
}

.mb-dialog::backdrop {
  background: rgba(11, 28, 71, 0.65);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dialog-head h2 {
  font-size: 1.15rem;
  margin: 0;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-soft);
  color: var(--brand-navy);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.dialog-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.flash-banner {
  margin: 1rem 0 0;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.flash-banner.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-banner.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 620px;
}

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