/* ============================================================
   Akupunktur Merkezi — Ana Site Stili
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --primary-dark: #0d5c56;
  --primary-glow: rgba(20, 184, 166, 0.4);

  --accent: #f59e0b;
  --accent-light: #fbbf24;

  /* Topbar */
  --topbar-height: 44px;
  --topbar-red: #c0151a;
  --topbar-red-dark: #9a1015;

  --bg: #fafbfc;
  --bg-dark: #0b1120;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

  --nav-height: 72px;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== TOPBAR ===== */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Sol koyu bölüm — logo + kurum adı */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 2.5rem 0 clamp(1rem, 3vw, 3rem);
  background: #1a2b5e;
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
  /* Diagonal sağ kenar */
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
}

.topbar-left::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--topbar-red);
  clip-path: none;
}

.topbar-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.topbar-brand-main {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-brand-sub {
  font-size: 0.63rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sağ beyaz bölüm — şube linkleri */
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 0 clamp(1rem, 3vw, 3rem) 0 2rem;
  gap: 0.25rem;
  background: #ffffff;
}

.topbar-branch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #3a4a72;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.topbar-branch-link:hover {
  color: var(--topbar-red);
  background: rgba(192, 21, 26, 0.05);
  border-color: rgba(192, 21, 26, 0.2);
}

.topbar-branch-link svg {
  flex-shrink: 0;
  color: var(--topbar-red);
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.topbar-branch-link:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}

.topbar-branches-sep {
  width: 1px;
  height: 16px;
  background: #d1d9e6;
  margin: 0 0.25rem;
  flex-shrink: 0;
}


/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.8;
}

.logo-accent {
  color: var(--accent);
}

/* ===== NAVIGATION ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item-wrap {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(15, 118, 110, 0.06);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: max-content;
  min-width: 180px;
  max-width: calc(100vw - 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  z-index: 200;
}

.nav-item-wrap:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--surface-hover);
  color: var(--primary);
}

/* ===== MEGA MENU ===== */
.has-mega-menu {
  position: static;
}

.mega-menu {
  position: fixed;
  top: calc(var(--topbar-height) + var(--nav-height));
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(15, 118, 110, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 150;
  pointer-events: none;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

.has-mega-menu:hover .mega-menu,
.mega-menu.mega-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 360px 1px 1fr;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.75rem 2rem;
  min-height: 380px;
}

/* ---- Featured (sol) ---- */
.mega-featured {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 2rem;
}

.mega-featured-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.mega-featured-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: megaDotPulse 2s ease-in-out infinite;
}

@keyframes megaDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.mega-featured-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.mega-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.mega-featured-img-wrap {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #0b1120 0%, #0f2027 50%, #203a43 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.mega-featured-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.mega-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  opacity: 0;
}

.mega-featured-img.loaded {
  opacity: 1;
}

.mega-featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.mega-featured-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.mega-featured-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

.mega-featured-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.mega-featured-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15, 118, 110, 0.08);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}

.mega-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.mega-featured-card:hover .mega-featured-title {
  color: var(--primary);
}

.mega-featured-excerpt {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-featured-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.25rem;
  transition: gap 0.2s var(--ease);
}

.mega-featured-card:hover .mega-featured-readmore {
  gap: 0.6rem;
}

/* Alt submenu linkleri (mega içinde) */
.mega-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.25rem;
}

.mega-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.mega-sub-link:hover {
  color: var(--primary);
  background: rgba(15, 118, 110, 0.07);
  border-color: var(--primary-light);
  transform: translateX(2px);
}

/* ---- Divider ---- */
.mega-divider {
  width: 1px;
  background: var(--border);
  margin: 0 0.5rem;
  align-self: stretch;
}

/* ---- Makale listesi (sağ) ---- */
.mega-articles {
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  overflow: hidden;
}

.mega-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mega-articles-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mega-articles-all {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
  text-decoration: none;
}

.mega-articles-all:hover {
  color: var(--primary-light);
}

.mega-articles-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow-y: auto;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.mega-articles-list::-webkit-scrollbar {
  width: 4px;
}
.mega-articles-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.mega-article-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}

.mega-article-item:hover {
  background: rgba(15, 118, 110, 0.05);
  transform: translateX(4px);
}

.mega-article-item.active-featured {
  background: rgba(15, 118, 110, 0.08);
  border-left: 2px solid var(--primary);
  padding-left: calc(0.75rem - 2px);
}

.mega-article-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-hover);
  transition: transform 0.2s var(--ease);
}

.mega-article-item:hover .mega-article-thumb {
  transform: scale(1.05);
}

.mega-article-thumb-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(20, 184, 166, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.mega-article-info {
  flex: 1;
  min-width: 0;
}

.mega-article-title-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.mega-article-item:hover .mega-article-title-text {
  color: var(--primary);
}

.mega-article-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Skeleton states */
.mega-article-skeleton {
  pointer-events: none;
}

.mega-article-thumb-skeleton {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  flex-shrink: 0;
}

.skeleton-shimmer-sm {
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-line {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  margin-bottom: 6px;
}

.skeleton-line-lg { width: 85%; }
.skeleton-line-sm { width: 50%; }

/* Fade transition for featured card */
.mega-featured-card.transitioning .mega-featured-img {
  opacity: 0;
}

.mega-featured-card.transitioning .mega-featured-title {
  opacity: 0.3;
}

.mega-featured-title {
  transition: color 0.2s, opacity 0.3s var(--ease);
}

.mega-featured-img {
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.mega-featured-card:hover .mega-featured-img {
  transform: scale(1.03);
}

/* ===== END MEGA MENU ===== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: #fff;
}

/* Hamburger (mobil) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--surface-hover);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--topbar-height) + var(--nav-height));
  background: linear-gradient(160deg, #0b1120 0%, #0f2027 30%, #203a43 60%, #0b1120 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Video Hero */
.hero-video-section {
  background: #0b1120;
  overflow: hidden;
}

.hero-video-section::before,
.hero-video-section::after {
  display: none;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 3rem);
  width: 100%;
}

.hero-inner-fullwidth {
  grid-template-columns: 1fr;
  max-width: 800px;
  text-align: center;
}

.hero-inner-fullwidth .hero-content {
  align-items: center;
}

.hero-inner-fullwidth .hero-desc,
.hero-inner-fullwidth .hero-badge {
  margin: 0 auto;
}

.hero-inner-fullwidth .hero-actions {
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 100px;
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--primary-glow);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s var(--ease);
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--primary-glow);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem clamp(1rem, 4vw, 3rem);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
  border-color: var(--primary-light);
}

.feature-icon-bar {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem clamp(1rem, 4vw, 3rem) 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-links span {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #475569;
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  box-shadow: 0 8px 25px var(--primary-glow);
  cursor: pointer;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s var(--ease);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  height: 500px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
  animation: chatSlideUp 0.35s var(--ease);
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chatbot-header button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.chatbot-header button:hover {
  color: #fff;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  scroll-behavior: smooth;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msgFade 0.3s var(--ease);
}

@keyframes msgFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chatbot-input {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
  background: var(--surface);
}

.chatbot-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg);
}

.chatbot-input input:focus {
  border-color: var(--primary-light);
}

.chatbot-input button {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}

.chatbot-input button:hover {
  transform: scale(1.05);
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding-top: calc(var(--topbar-height) + var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
  max-width: 860px;
  margin: 0 auto;
  min-height: 60vh;
}

.page-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.page-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ===== RANDEVU PAGE ===== */
.appt-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f8fafb 0%, #f0f4f8 100%);
  padding: calc(var(--topbar-height) + var(--nav-height) + 3rem) 1.5rem 4rem;
}

.appt-container {
  max-width: 520px;
  margin: 0 auto;
}

.appt-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.appt-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.appt-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Step indicator */
.appt-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.appt-step-item {
  display: flex;
  align-items: center;
}

.appt-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all .3s;
  flex-shrink: 0;
}

.appt-step-circle.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.appt-step-circle.done {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
}

.appt-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
  white-space: nowrap;
}

.appt-step-label.active {
  color: var(--primary);
  font-weight: 700;
}

.appt-step-label.done {
  color: var(--primary-light);
}

.appt-step-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
  transition: background .3s;
}

.appt-step-line.done {
  background: var(--primary-light);
}

.appt-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.appt-step-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.appt-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.appt-step-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: -0.75rem;
}

.appt-back {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color .2s;
  align-self: flex-start;
  font-family: inherit;
}

.appt-back:hover {
  color: var(--primary);
}

.appt-date-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.appt-date-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.appt-selected-info {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  background: rgba(20, 184, 166, 0.08);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.appt-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.appt-slot-btn {
  padding: 0.7rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.appt-slot-btn:hover {
  border-color: var(--primary-light);
  background: rgba(20, 184, 166, 0.05);
  color: var(--primary);
}

.appt-slot-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.appt-no-slots {
  text-align: center;
  padding: 2rem 0;
}

.appt-no-slots-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.appt-no-slots-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.appt-loading {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 1.5rem 0;
}

.appt-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.appt-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.appt-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.appt-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.appt-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.appt-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.appt-summary-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  flex-wrap: wrap;
}

.appt-summary-date {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary);
}

.appt-summary-sep {
  color: var(--text-muted);
}

.appt-summary-slot {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.appt-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.appt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  width: 100%;
  font-family: inherit;
}

.appt-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.appt-btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

.appt-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.appt-btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}

.appt-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Success */
.appt-success {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.appt-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
  animation: popIn 0.5s var(--ease);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.appt-success-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.appt-success-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.6;
}

.appt-success-detail {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.appt-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.appt-detail-row:last-child {
  border-bottom: none;
}

.appt-detail-row span {
  color: var(--text-secondary);
}

.appt-detail-row strong {
  color: var(--text);
  font-weight: 600;
}

.appt-back-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.appt-back-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* ===== TOPBAR MOBILE FIX ===== */
  .site-topbar {
    height: 38px;
    padding: 0 0.25rem;
  }
  .topbar-left {
    padding: 0 0.85rem 0 0.6rem;
    gap: 0.4rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  }
  .topbar-logo {
    width: 22px;
    height: 22px;
  }
  .topbar-brand-main {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }
  .topbar-brand-sub {
    font-size: 0.52rem;
  }
  .topbar-right {
    padding: 0 0.4rem;
    gap: 0.2rem;
    justify-content: flex-end;
  }
  .topbar-branch-link {
    padding: 3px 6px;
    font-size: 0.62rem;
  }

  /* ===== HEADER LOGO & HAMBURGER FIT ===== */
  .site-header {
    height: 54px;
    padding: 0 0.85rem;
    top: 38px;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }
  .logo {
    font-size: 1.05rem !important;
    gap: 6px !important;
    max-width: calc(100% - 50px);
    overflow: hidden;
    white-space: nowrap;
  }
  .logo img {
    height: 32px !important;
    width: auto;
    flex-shrink: 0;
  }
  .logo span {
    font-size: 1.05rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hamburger {
    display: flex;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 8px;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 92px; /* 38px topbar + 54px header */
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 99;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-inner-fullwidth {
    padding: 3rem 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .appt-step-body {
    padding: 1.5rem;
  }

  .appt-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appt-step-label {
    display: none;
  }

  .chatbot-window {
    width: calc(100vw - 2rem);
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}


/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding-top: calc(var(--topbar-height) + var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
  background: linear-gradient(160deg, #0b1120 0%, #0f2027 50%, #0b1120 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 100px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.page-hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
}

/* ===== CTA WHITE BUTTON ===== */
.cta-btn-white {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f766e;
  background: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.cta-btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ===== ABOUT PAGE ===== */
.about-page {}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.about-story-visual {}

.about-visual-card {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-visual-accent {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.about-visual-content {
  position: relative;
  z-index: 1;
}

.about-stat-big {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.about-stat-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.about-stat-row {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.about-stat-num-sm {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-stat-lbl-sm {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Mission/Vision */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.mv-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.mv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.mv-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Doctor Card */
.doctor-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  align-items: start;
}

.doctor-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.doctor-avatar {
  width: 220px;
  height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  font-family: 'Playfair Display', serif;
}

.doctor-badge-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.doctor-cert {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.doctor-title {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.doctor-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.doctor-bio {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.doctor-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doctor-highlight {
  padding: 6px 14px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== SERVICES PAGE ===== */
.services-page {}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.35s var(--ease);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}

.service-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.service-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Process Steps */
.process-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.process-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.process-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  flex-shrink: 0;
  opacity: 0.35;
}

/* ===== FAQ PAGE ===== */
.faq-page {}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  user-select: none;
}

.faq-q-text {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.5;
}

.faq-chevron {
  font-size: 1.4rem;
  color: var(--primary-light);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-answer {
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 1rem;
}

.faq-contact-card {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(20, 184, 166, 0.06));
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.faq-contact-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.faq-contact-content p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.faq-contact-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.faq-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* ===== CONTACT PAGE ===== */
.contact-page {}

.contact-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}

.contact-map-side {
  position: sticky;
  top: calc(var(--topbar-height) + var(--nav-height));
  height: calc(100vh - var(--topbar-height) - var(--nav-height));
}

.contact-info-side {
  overflow-y: auto;
  background: var(--bg);
}

.contact-info-wrap {
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem);
  max-width: 560px;
}

.contact-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-info-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-bar {
  width: 4px;
  height: 100%;
  min-height: 40px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.contact-item-value {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-form-wrap {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.contact-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

/* ===== RESPONSIVE — NEW PAGES ===== */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    grid-template-columns: 1fr;
  }

  .process-grid {
    flex-direction: column;
  }

  .process-connector {
    width: 2px;
    height: 30px;
  }

  .contact-split-section {
    grid-template-columns: 1fr;
  }

  .contact-map-side {
    position: static;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .faq-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CV Details Styles */
.cv-details {
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cv-details summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #fff;
  transition: background 0.2s;
  color: var(--text-main);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.cv-details summary:hover {
  background: #fdfdfd;
}

.cv-details summary::-webkit-details-marker {
  display: none;
}

.cv-details summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.3s;
}

.cv-details[open] summary::after {
  content: '−';
}

.cv-details-content {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cv-item {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.cv-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cv-year {
  font-weight: 600;
  color: var(--primary);
  min-width: 110px;
  flex-shrink: 0;
}

.cv-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}



/* Form Styles Extracted */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  background: var(--surface);
}

.form-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.time-slots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.time-slot-btn {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}

.time-slot-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.time-slot-btn.selected {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: all 0.3s var(--ease);
  margin-top: 1rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .nav-item-wrap.has-dropdown>.nav-link {
    justify-content: space-between;
  }

  .nav-item-wrap.has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    transform: none;
    display: none;
    min-width: 100%;
    width: auto;
    max-width: 100%;
  }

  .nav-item-wrap.has-dropdown .dropdown-link {
    white-space: normal;
    word-break: break-word;
  }

  .nav-item-wrap.has-dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-item-wrap.has-dropdown .nav-link svg {
    transition: transform 0.3s;
  }

  .nav-item-wrap.has-dropdown.active .nav-link svg {
    transform: rotate(180deg);
  }

  /* Mega Menu — Mobil */
  .has-mega-menu {
    position: relative;
  }

  .mega-menu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border-bottom: none;
    background: var(--surface);
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    pointer-events: none;
  }

  .has-mega-menu:hover .mega-menu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mega-menu.mega-open {
    max-height: 80vh !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    border-bottom: 1px solid var(--border);
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    padding: 1rem;
    min-height: auto;
    gap: 1rem;
  }

  .mega-featured {
    padding-right: 0;
  }

  .mega-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .mega-articles {
    padding-left: 0;
  }

  .mega-articles-list {
    max-height: 250px;
  }
}

/* ============================================================
   KVKK ONAY KUTUCUKLARI
   ============================================================ */

.kvkk-consent-wrap {
  margin: 1.5rem 0 1rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.kvkk-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
}

.kvkk-consent-item input.kvkk-cb {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.kvkk-checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid var(--border);
  border-radius: 5px;
  background: #fff;
  transition: all 0.2s var(--ease);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kvkk-consent-item input.kvkk-cb:checked ~ .kvkk-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.kvkk-consent-item input.kvkk-cb:checked ~ .kvkk-checkmark::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.kvkk-consent-item:hover .kvkk-checkmark {
  border-color: var(--primary);
  background: rgba(15, 118, 110, 0.05);
}

.kvkk-consent-item.kvkk-required .kvkk-checkmark {
  border-color: #cbd5e1;
}

.kvkk-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.kvkk-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kvkk-text a:hover {
  color: var(--primary-dark);
}

.kvkk-zorunlu {
  color: #ef4444;
  font-weight: 700;
  margin-left: 1px;
}

.kvkk-optional {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.kvkk-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   YASAL BELGELER — .legal-doc
   ============================================================ */

.page-content .legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-doc h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.legal-doc h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-light);
}

.legal-doc p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-doc ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.legal-doc ul li {
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Yasal tablolar */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9rem;
}

.legal-table th {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-weight: 600;
}

.legal-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* Başvuru formu tablosu */
.legal-form-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
}

.legal-form-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.legal-form-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 35%;
  white-space: nowrap;
}

.legal-form-section {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-form-section h2 {
  border-bottom: none;
  margin-top: 0;
  font-size: 1.05rem;
}

.legal-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-checklist li {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.legal-textarea-box {
  border: 2px solid var(--border);
  border-radius: 8px;
  min-height: 120px;
  padding: 0.75rem;
  background: #fff;
  margin-top: 0.5rem;
}

.legal-cta {
  background: linear-gradient(135deg, rgba(15,118,110,0.07), rgba(20,184,166,0.07));
  border: 1px solid rgba(15,118,110,0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.legal-cta p {
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.legal-cta a {
  color: var(--primary);
  font-weight: 600;
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
  .kvkk-consent-wrap {
    padding: 1rem;
  }

  .legal-doc h1 {
    font-size: 1.4rem;
  }

  .legal-table,
  .legal-form-table {
    font-size: 0.82rem;
  }

  .legal-table th,
  .legal-table td,
  .legal-form-table td {
    padding: 0.45rem 0.6rem;
  }

  .legal-form-table td:first-child {
    white-space: normal;
    width: auto;
  }
}

/* ============================================================
   PAGE HERO — Tüm iç sayfalarda ortak banner
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   SECTION — Genel içerik bölümü
   ============================================================ */

.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.sp-content-section {
  background: var(--bg);
  padding: 3rem 1.5rem 5rem;
}

/* ============================================================
   SP-PAGE — Sayfa bileşenleri (breadcrumb, kart, geri buton)
   ============================================================ */

/* Breadcrumb */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sp-breadcrumb a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s;
}

.sp-breadcrumb a:hover {
  color: var(--primary-dark);
}

.sp-breadcrumb-sep {
  color: var(--text-muted);
  font-size: 1rem;
}

/* İçerik kartı */
.sp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

/* Hukuki bilgi banner (kart üstü) */
.sp-legal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(20, 184, 166, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 10px;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.sp-legal-header svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Hukuki sayfalar arası navigasyon (kart altı) */
.sp-legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.sp-legal-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.sp-legal-link:hover,
.sp-legal-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Geri dön */
.sp-back-wrap {
  text-align: left;
}

.sp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.sp-back-btn:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* page-content içindeki legal-doc için wrapper düzeltmesi */
.page-content .legal-doc h1 {
  display: none; /* Başlığı page-hero'dan alıyoruz, iç başlık gereksiz */
}

/* Mobil */
@media (max-width: 768px) {
  .page-hero {
    padding: 4rem 1.25rem 3rem;
  }

  .sp-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  .sp-legal-footer {
    gap: 0.4rem;
  }

  .sp-legal-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ============================================================
   MAKALE KARTLARI — .art-card, .art-grid
   ============================================================ */

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.art-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.art-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.art-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-hover);
}

.art-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.art-card:hover .art-card-img img { transform: scale(1.05); }

.art-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.art-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
}

.art-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.art-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.art-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0;
}

.art-card-readmore {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.art-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.art-pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.art-pag-btn:hover,
.art-pag-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   MAKALE DETAY
   ============================================================ */

.art-detail-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.art-detail-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.art-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-detail-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,40,0.85) 0%, rgba(10,25,40,0.35) 60%, transparent 100%);
}

.art-detail-cover-plain {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.art-detail-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 1.5rem 0;
  width: 100%;
}

.art-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.art-detail-date,
.art-detail-read {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.art-detail-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.art-detail-excerpt {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 600px;
}

.art-detail-layout {
  max-width: 820px;
  margin: 0 auto;
}

.art-detail-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.art-detail-body {
  padding: 2.5rem 3rem;
}

/* Quill içerik render */
.art-content, .ql-editor-view {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.art-content h1, .ql-editor-view h1 { font-family:'Playfair Display',serif; font-size:1.9rem; margin:1.5rem 0 0.75rem; }
.art-content h2, .ql-editor-view h2 { font-family:'Playfair Display',serif; font-size:1.5rem; margin:1.5rem 0 0.75rem; color:var(--primary-dark); }
.art-content h3, .ql-editor-view h3 { font-size:1.2rem; font-weight:700; margin:1.25rem 0 0.5rem; }
.art-content p,  .ql-editor-view p  { margin-bottom:1.1rem; }
.art-content img, .ql-editor-view img { max-width:100%; border-radius:10px; margin:1.25rem 0; box-shadow:0 4px 16px rgba(0,0,0,0.08); }
.art-content ul, .ql-editor-view ul,
.art-content ol, .ql-editor-view ol { padding-left:1.5rem; margin-bottom:1rem; }
.art-content li, .ql-editor-view li { margin-bottom:0.35rem; line-height:1.75; }
.art-content blockquote, .ql-editor-view blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(15,118,110,0.05);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}
.art-content a, .ql-editor-view a { color:var(--primary); text-decoration:underline; }
.art-content code, .ql-editor-view code { background:#f1f5f9; padding:0.1em 0.4em; border-radius:4px; font-size:0.9em; }
.art-content pre,  .ql-editor-view pre  { background:#1e293b; color:#e2e8f0; padding:1.25rem; border-radius:10px; overflow-x:auto; margin:1.25rem 0; }

.art-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.art-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.art-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.art-share-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Mobil */
@media (max-width: 900px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-detail-hero { min-height: 300px; }
  .art-detail-body { padding: 1.5rem 1.25rem; }
  .art-detail-footer { flex-direction: column; align-items: flex-start; }
}

/* ===== SCROLL ANIMASYONLARI ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ekrana giren çoklu kartlar için hafif gecikme */
.features-grid .animate-on-scroll:nth-child(2),
.services-grid .animate-on-scroll:nth-child(2),
.art-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }

.features-grid .animate-on-scroll:nth-child(3),
.services-grid .animate-on-scroll:nth-child(3),
.art-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.features-grid .animate-on-scroll:nth-child(4),
.services-grid .animate-on-scroll:nth-child(4),
.art-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.features-grid .animate-on-scroll:nth-child(5),
.services-grid .animate-on-scroll:nth-child(5),
.art-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

.features-grid .animate-on-scroll:nth-child(6),
.services-grid .animate-on-scroll:nth-child(6),
.art-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }