/* ==========================================================
   CAC Avukatlık Bürosu — Design System
   ========================================================== */

:root {
  --navy-950: #0a1826;
  --navy-900: #0e2238;
  --navy-800: #16324e;
  --navy-700: #204568;
  --navy-100: #e8edf3;
  --gold-600: #a8823f;
  --gold-500: #bd9b58;
  --gold-400: #d4b876;
  --gold-100: #f4ecd9;
  --cream: #faf8f4;
  --paper: #ffffff;
  --ink: #1c2530;
  --ink-soft: #57626f;
  --line: #e4e0d8;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 34, 56, 0.08);
  --shadow-md: 0 8px 30px rgba(14, 34, 56, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 34, 56, 0.16);
  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.15;
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}
.brand { display: flex; align-items: center; }
.brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark img { height: 80px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav ul a {
  display: block;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-800);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  position: relative;
}
.main-nav ul a:hover { color: var(--gold-600); }
.main-nav ul a.active { color: var(--gold-600); }
.main-nav ul a.active::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--gold-500);
}

.nav-lang {
  display: flex; gap: 3px; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
  padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line);
  line-height: 1;
}
.nav-lang a {
  display: inline-block;
  padding: 2px 2px;
  font-size: 12px;
  font-weight: 600;
  opacity: .5;
  color: var(--navy-800);
  transition: opacity .2s, color .2s;
  text-decoration: none;
}
.nav-lang a.active, .nav-lang a:hover { opacity: 1; color: var(--gold-600); }
.nav-lang span { opacity: .35; color: var(--navy-800); font-size: 11px; user-select: none; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--navy-900);
  padding: 8px;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-size: 14.5px; font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: .01em;
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero Slider (homepage) ---------- */
.hero-slider {
  position: relative;
  height: 640px;
  max-height: 82vh;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.hero-slider .slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 1.6s ease, visibility 1s;
  z-index: 1;
}
.hero-slider .slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
.slide-1 { background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%); }
.slide-2 { background: linear-gradient(155deg, #0a1826 0%, #1a3350 60%, #204568 100%); }
.slide-3 { background: linear-gradient(155deg, #0e2238 0%, #16324e 55%, #2c4f73 100%); }
.slide-4 { background: linear-gradient(155deg, #0a1826 0%, #133048 55%, #1c3f5f 100%); }
.slide.has-image { background-size: cover; background-position: center; }
.slide::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(189,155,88,.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(189,155,88,.10), transparent 40%);
  pointer-events: none;
}
.slide.has-image::before {
  background-image: linear-gradient(100deg, rgba(6,15,26,.92) 0%, rgba(6,15,26,.68) 45%, rgba(6,15,26,.32) 100%);
}
.slide.has-image.no-text::before {
  background-image: linear-gradient(180deg, rgba(6,15,26,.28) 0%, rgba(6,15,26,.12) 40%, rgba(6,15,26,.4) 100%);
}
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 75%);
  pointer-events: none;
}
.slide.has-image::after { display: none; }
.slide-content { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-400); }
.hero-slider h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: .01em;
}
.hero-slider .slide-content p {
  font-size: 18px;
  color: #c3cedb;
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  transition: background .2s, border-color .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }
.slider-arrow .icon-prev { transform: rotate(180deg); }

.slider-nav {
  position: absolute; bottom: 30px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 5;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.slider-dot.active { background: var(--gold-500); transform: scale(1.4); }

/* ---------- Section basics ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold-600); }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; }
.section-navy .section-head p { color: #c3cedb; }
.section-foot { margin-top: 46px; text-align: center; }

/* ---------- Practice Areas ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.pa-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pa-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.pa-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 50%;
  margin-bottom: 22px;
}
.pa-card h3 { font-size: 22px; margin-bottom: 12px; }
.pa-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.pa-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--navy-800); }
.pa-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.pa-card:hover .pa-link .icon { transform: translateX(4px); }

/* ---------- About section ---------- */
.about-content { max-width: 760px; margin: 0 auto; }
.about-content p { color: var(--ink-soft); margin-bottom: 18px; font-size: 16px; }
.about-content .lede { font-size: 19px; color: var(--ink); font-family: var(--ff-serif); margin-bottom: 20px; }

.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 34px; }
.value-item { display: flex; gap: 12px; align-items: flex-start; }
.value-item .icon { width: 18px; height: 18px; color: var(--gold-600); margin-top: 3px; }
.value-item strong { display: block; font-size: 15px; color: var(--navy-900); }
.value-item span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Team ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.team-photo {
  height: 280px;
  background: linear-gradient(135deg, #8895a5 0%, #a2afbc 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-initials {
  font-family: var(--ff-serif);
  font-size: 42px;
  color: #fff;
  letter-spacing: .04em;
}
.team-body { padding: 20px 22px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.team-body h3 { font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.team-role { color: var(--navy-700); font-size: 13.5px; font-weight: 500; margin-bottom: 12px; }
.team-body p { font-size: 13.8px; color: var(--ink-soft); margin-bottom: 14px; }
.team-links { display: flex; gap: 10px; }
.team-links a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.team-links a:hover { background: var(--navy-900); color: #fff; }
.team-links .icon { width: 15px; height: 15px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }

.mini-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
.mini-team-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .2s, transform .2s;
}
.mini-team-card:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.mini-team-photo {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #8895a5 0%, #a2afbc 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--ff-serif); font-size: 16px;
}
.mini-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mini-team-card strong { display: block; font-size: 14.5px; color: var(--navy-900); }
.mini-team-card span { font-size: 12.5px; color: var(--ink-soft); }

.badge-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  background: var(--gold-100); color: var(--gold-600);
}
.badge-tag-outline {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.author-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 30px;
  padding: 6px 16px 6px 6px; font-size: 13.5px; color: var(--navy-900); font-weight: 600;
}
.author-chip .mini-team-photo { width: 30px; height: 30px; font-size: 12px; }

/* ---------- Team Detail Page (Paksoy Style Redesign) ---------- */
.member-hero {
  background: linear-gradient(135deg, #8895a5 0%, #a2afbc 100%);
  padding: 45px 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.member-hero-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: flex-end;
}
.member-hero-photo {
  width: 100%;
  height: 410px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.member-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.member-hero-initials {
  font-family: var(--ff-serif);
  font-size: 72px;
  color: #fff;
}
.member-hero-info {
  padding-bottom: 45px;
}
.member-hero-info .breadcrumb {
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}
.member-hero-info .breadcrumb a {
  color: rgba(255,255,255,.9);
}
.member-hero-info .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.member-hero-name {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.member-hero-divider {
  width: 50px;
  height: 3px;
  background: var(--gold-400);
  margin-bottom: 16px;
}
.member-hero-title {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

/* Member Action Bar */
.member-action-bar {
  background: #f1f4f8;
  border-top: 1px solid #e1e6ee;
  border-bottom: 1px solid #e1e6ee;
  padding: 18px 0;
}
.member-action-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.member-action-meta {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.action-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.action-meta-item .meta-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-light);
}
.action-meta-item .meta-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
}
.action-meta-item a.meta-value:hover {
  color: var(--gold-600);
}
.btn-vcard {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-800);
  background: transparent;
  color: var(--navy-900);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-vcard:hover {
  background: var(--navy-900);
  color: #fff;
}
.btn-vcard svg {
  width: 16px;
  height: 16px;
}

/* Detail Grid */
.member-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 50px 0 80px;
}
.member-section-block {
  margin-bottom: 36px;
}
.member-section-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 16px;
  position: relative;
}
.member-practice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-practice-list li {
  margin-bottom: 12px;
}
.member-practice-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy-800);
  transition: color .2s ease, transform .2s ease;
}
.member-practice-list a:hover {
  color: var(--gold-600);
  transform: translateX(4px);
}
.member-practice-list .arrow {
  color: var(--gold-500);
  font-weight: 700;
  font-size: 14px;
}
.member-bio-text {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}
.member-bio-text p {
  margin-bottom: 16px;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; margin-bottom: 40px;
}
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 190px; flex: 1; }
.filter-field label { font-size: 12.5px; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: .03em; }
.filter-field select {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; font-family: var(--ff-sans); font-size: 14px;
  background: var(--cream); color: var(--ink);
}
.filter-field select:focus { outline: none; border-color: var(--gold-500); }
.filter-actions { display: flex; gap: 10px; }

/* ---------- Publications ---------- */
.pub-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.pub-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.pub-date {
  font-size: 13px; color: var(--gold-600); font-weight: 600; letter-spacing: .04em;
  white-space: nowrap; padding-top: 4px; width: 110px; flex-shrink: 0;
}
.pub-main { flex: 1; }
.pub-main h3 { font-size: 20px; margin-bottom: 8px; }
.pub-main h3 a:hover { color: var(--gold-600); }
.pub-main p { color: var(--ink-soft); font-size: 14.5px; }
.pub-arrow { flex-shrink: 0; color: var(--navy-800); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 30%, rgba(189,155,88,.18), transparent 50%);
}
.cta-band-text { position: relative; max-width: 560px; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #c3cedb; font-size: 15.5px; }
.cta-band-action { position: relative; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 50px; }
.contact-info-card {
  background: var(--navy-900); color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 26px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon { color: var(--gold-400); margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 13px; color: #9fb0c2; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.contact-info-item span, .contact-info-item a { font-size: 15.5px; }
.map-embed { margin-top: 26px; border-radius: var(--radius); overflow: hidden; height: 200px; border: 1px solid rgba(255,255,255,.15); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

.contact-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.form-group input, .form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-family: var(--ff-sans);
  font-size: 14.5px;
  background: var(--cream);
  transition: border-color .2s, background .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.alert { padding: 16px 18px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 24px; }
.alert-success { background: #e9f5ec; color: #1e6b3c; border: 1px solid #bfe3cb; }
.alert-error { background: #fdecec; color: #a33131; border: 1px solid #f3c6c6; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.page-header .breadcrumb { position: relative; font-size: 13.5px; color: #9fb0c2; margin-bottom: 14px; }
.page-header .breadcrumb a:hover { color: var(--gold-400); }
.page-header h1 { position: relative; color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-header p { position: relative; color: #c3cedb; margin-top: 12px; max-width: 600px; }

/* ---------- Detail pages ---------- */
.detail-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 60px; }
.detail-content h2 { font-size: 24px; margin: 32px 0 14px; }
.detail-content p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.side-card h4 { font-size: 16px; margin-bottom: 16px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.side-list li:last-child a { border-bottom: none; }
.side-list a:hover { color: var(--gold-600); }
.side-card.contact-mini { background: var(--navy-900); color: #fff; border: none; }
.side-card.contact-mini h4 { color: #fff; }
.side-card.contact-mini p { color: #c3cedb; font-size: 14px; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b7c3d1; padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 24px; margin-bottom: 14px; max-width: 300px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: .02em; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; opacity: .85; transition: opacity .2s, color .2s; }
.footer-col ul a:hover { opacity: 1; color: var(--gold-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-400); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { font-size: 13px; opacity: .7; text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Series Banner ---------- */
.series-banner-hero {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.series-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.35));
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.series-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.series-banner-overlay h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
  font-weight: 700;
  margin: 0;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .member-hero-inner { grid-template-columns: 300px 1fr; gap: 30px; }
  .member-hero-photo { height: 350px; }
  .member-detail-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .member-hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .member-hero-photo { height: 320px; max-width: 280px; margin: 0 auto; border-radius: var(--radius-lg); }
  .member-hero-info { padding-bottom: 30px; }
  .member-hero-divider { margin: 0 auto 16px; }
  .member-action-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .member-action-meta { gap: 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .header-inner { height: 88px; }
  .brand-mark img { height: 58px; }
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    position: fixed; inset: 88px 0 0 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 20px 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0 24px; }
  .main-nav ul a { padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav ul a.active::after { display: none; }
  .nav-lang {
    border-left: none; border-top: 1px solid var(--line);
    justify-content: center; padding: 16px 24px; margin-top: 6px;
    font-size: 13px; gap: 4px;
  }

  .hero-slider { height: 560px; max-height: none; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .grid-3, .grid-2, .grid-4, .contact-grid, .value-list, .form-row, .mini-team-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-field { min-width: 0; }
  .filter-actions { justify-content: flex-start; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .section { padding: 64px 0; }
  .pub-item { flex-direction: column; gap: 10px; }
  .pub-date { width: auto; }
}

@media (max-width: 480px) {
  .brand-mark img { height: 46px; }
  .contact-form-card { padding: 26px; }
  .cta-band { padding: 32px 20px; }
}
