/* =========================================================
   CHP'nin Birleştirici Gücü — mobil uyumlu tek sayfa site
   Üst blok chpparti24 referansı alınarak yeniden kuruldu;
   alt bölümler (Biz Kimiz?, Görüşler, Belgeler, Form, İletişim)
   korunmuştur.
   ========================================================= */
:root {
  --red: #c90013;
  --red-dark: #aa0010;
  --navy: #101828;
  --ink: #151719;
  --gray: #55595f;
  --line: #e8e8e8;
  --bg-soft: #f7f8fa;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(16, 24, 40, .08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
/* Referans genişliği (üst blok) */
.page-container { width: calc(100% - 64px); max-width: 1360px; margin-inline: auto; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.red { color: var(--red); }
.arrow { display: inline-block; transition: transform .25s; }
.muted { color: var(--gray); }
.br-sm { display: none; }
.br-xl { display: none; }

/* ---------- Stroke ikon stili (referans) ---------- */
.icon {
  display: inline-block; width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle; flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: 1px solid var(--red); border-radius: 6px;
  font-weight: 700; font-size: 13px; letter-spacing: .4px; text-transform: uppercase;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.09); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline-red { border: 1.5px solid var(--red); color: var(--red); background: #fff; }
.btn-outline-red:hover, .btn-outline-red:focus-visible { color: #fff; background: var(--red); border-color: var(--red); }
.btn-outline { background: transparent; color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn:focus-visible, .nav-links a:focus-visible, a:focus-visible, .text-action:focus-visible,
.btn-outline-red:focus-visible, .text-action:focus-visible {
  outline: 3px solid #8d9eff; outline-offset: 3px;
}

/* ---------- Header (sticky; üstte şeffaf, kaydırınca beyaz) ---------- */
.top-accent { height: 4px; background: var(--red); position: sticky; top: -4px; z-index: 121; }
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, 0);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: #fff; box-shadow: var(--shadow); }
.site-header .brand-logo { transition: width .25s, height .25s; }
@media (min-width: 768px) {
  .site-header.scrolled .brand-logo { width: 56px; height: 66px; }
  .site-header.scrolled .brand-name { font-size: 22px; padding: 6px 0 0 14px; }
  .site-header.scrolled .brand-name strong { font-size: 21px; }
  .site-header.scrolled .nav-links a { padding: 8px 7px 10px; }
}
.header-inner {
  display: flex; align-items: flex-start; gap: 16px;
  max-width: 1536px; margin: 0 auto; padding: 12px 34px 0;
}
.brand { display: flex; align-items: flex-start; white-space: nowrap; min-width: 366px; scroll-margin: 0; }
.brand-logo { display: block; width: 96px; height: 112px; object-fit: cover; object-position: top center; flex: 0 0 auto; }
.brand-name {
  display: flex; flex-direction: column; font-size: 28px; line-height: 1.18;
  font-weight: 800; letter-spacing: -.8px; padding: 12px 0 0 20px;
}
.brand-name strong { color: var(--red); font-size: 27px; font-weight: 800; letter-spacing: -.9px; }

.main-nav { display: flex; align-items: flex-start; margin-left: auto; }
.nav-links { display: flex; gap: 12px; white-space: nowrap; margin-top: 3px; }
.nav-links a {
  display: block; position: relative; color: #141414;
  padding: 11px 7px 15px; font-weight: 500; font-size: 12px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: ""; height: 2px; background: var(--red);
  position: absolute; bottom: 0; left: 7px; right: 7px;
}
.header-join {
  white-space: nowrap; font-size: 13px; min-height: 40px; padding: 9px 16px; margin-top: 2px;
}
.header-join .icon { width: 19px; height: 19px; stroke-width: 2; }

.nav-toggle {
  display: none; margin-top: 16px; width: 44px; height: 44px;
  border: 1px solid #ddd; background: #fff; border-radius: 8px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil çekmece menü */
@media (max-width: 1199px) {
  .main-nav { display: none; margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 18px 18px;
  }
  .main-nav.open .nav-links { flex-direction: column; gap: 0; white-space: normal; margin-top: 0; }
  .main-nav.open .nav-links a {
    padding: 12px 8px; font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open .header-join { display: inline-flex; margin: 14px 0 0; width: 100%; justify-content: center; }
}

/* ---------- Hero (banner fotoğrafı — referans düzeni) ---------- */
.hero-section {
  min-height: 347px; position: relative; isolation: isolate;
  display: flex; align-items: flex-start;
}
.hero-illustration {
  position: absolute; z-index: -1; pointer-events: none;
  left: 29%; right: 0; top: -62px; bottom: -24px; overflow: hidden;
}
.hero-banner {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}
.hero-content { margin-left: 61px; padding-top: 23px; padding-bottom: 20px; position: relative; z-index: 2; }
.hero-title {
  border-left: 5px solid var(--red); padding-left: 17px;
  margin: 0 0 17px; font-weight: 800; font-size: 42px;
  letter-spacing: -.2px; line-height: 1.15; text-transform: none;
}
.hero-title span { color: var(--red); }
.hero-intro { margin: 0 0 18px; font-size: 15.5px; line-height: 1.47; max-width: 435px; }
.hero-actions { position: relative; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-main {
  height: 45px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 23px; border-radius: 4px; font-size: 13px; white-space: nowrap;
}
.btn-main .icon { width: 18px; height: 18px; }
.hero-quote {
  position: absolute; right: 3px; top: 193px; z-index: 3; width: 269px;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 8px;
  padding: 12px 14px 14px;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(3px);
  border-left: 4px solid var(--red);
}
.hero-quote .quote-mark { width: 42px; height: 40px; color: var(--red); stroke: var(--red); fill: var(--red); transform: translateY(6px); }
.hero-quote p { margin: 7px 0 0; font-size: 17px; line-height: 1.39; }

.primary-content { position: relative; z-index: 2; }

/* ---------- Temel ilkeler (feature grid) ---------- */
.feature-grid { display: grid; grid-template-columns: 1.34fr 1.2fr 1.04fr 1fr; gap: 12px; }
.feature-card {
  background: #fff; border: 1px solid var(--line);
  display: flex; gap: 16px; min-height: 106px; align-items: center;
  padding: 11px 18px 11px 31px; box-shadow: 0 1px 5px rgba(0,0,0,.02);
}
.feature-card h2 { color: var(--red); font-size: 18px; font-weight: 800; margin: 0 0 5px; }
.feature-card p { font-size: 13.7px; line-height: 1.33; margin: 0; }
.feature-icon {
  display: grid; place-items: center; border: 1.5px solid var(--red);
  border-radius: 50%; color: var(--red); width: 64px; height: 64px; flex: 0 0 64px;
}
.feature-icon .icon { width: 40px; height: 40px; stroke-width: 2.6px; }
.compact-feature { padding-left: 25px; gap: 10px; }
.compact-feature .feature-icon { border: none; width: 58px; flex-basis: 58px; }
.compact-feature p { font-size: 12.5px; line-height: 1.4; }
.compact-feature .icon { width: 47px; height: 47px; stroke-width: 1.4px; }

/* ---------- İlkeler şeridi ---------- */
.principles-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin-top: 14px; align-items: start;
}
.principle { background: #f7f8fa; border-left: 4px solid var(--red); padding: 12px 16px; }
.principle strong { display: block; font-size: 13.5px; letter-spacing: .4px; margin-bottom: 3px; }
.principle span { font-size: 12.8px; line-height: 1.4; color: #3f444c; }
.principles-note { grid-column: 1 / -1; text-align: center; font-weight: 600; font-size: 13.5px; margin: 2px 0 0; }

/* ---------- Orta blok:kartlar ---------- */
.mid-grid { display: grid; grid-template-columns: 1.1fr 1fr .925fr; gap: 12px; margin-top: 13px; }
.content-card {
  min-width: 0; border: 1px solid var(--line); padding: 16px 21px 9px;
  background: #fff; min-height: 212px; position: relative;
}
.card-heading { font-size: 18px; line-height: 1.22; margin: 0 0 2px; font-weight: 800; }
.card-subtitle { font-size: 12px; line-height: 1.3; margin: 0; }

.org-stages {
  display: grid; grid-template-columns: 1fr 13px 1fr 13px 1.15fr 13px 1fr;
  align-items: start; gap: 5px; margin-top: 7px;
}
.org-stage { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage-icon {
  border: 1px solid #6d7074; border-radius: 50%; width: 53px; height: 53px;
  display: grid; place-items: center; color: #191e25; margin-bottom: 6px;
}
.stage-icon .icon { width: 33px; height: 33px; stroke-width: 1.75; }
.stage-icon-red { border-color: var(--red); background: var(--red); color: #fff; }
.org-stage strong { white-space: nowrap; font-size: 11.2px; line-height: 1.3; font-weight: 800; }
.org-stage > span:last-child { font-size: 10.15px; line-height: 1.3; margin-top: 2px; }
.text-brand { color: var(--red); }
.stage-chevron { display: block; text-align: center; font-size: 30px; line-height: 53px; font-weight: 300; }

.text-action {
  position: absolute; border: 0; background: transparent; padding: 4px 8px;
  bottom: 5px; left: 50%; transform: translateX(-50%);
  color: var(--red); display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; font-family: inherit;
}
.text-action:hover { color: var(--red-dark); text-decoration: underline; }
.text-action .icon { width: 19px; height: 19px; }

.solutions-card { padding-left: 22px; padding-right: 12px; }
.solution-list {
  display: grid; grid-template-columns: .92fr 1.15fr .9fr .85fr;
  column-gap: 8px; row-gap: 20px; margin-top: 19px;
}
.solution-item {
  display: flex; align-items: center; gap: 7px; min-width: 0;
  font-size: 11.5px; line-height: 1.25;
}
.solution-item .icon { color: var(--red); width: 26px; height: 26px; stroke-width: 1.2px; }

/* Kırmızı katılım kartı */
.join-card {
  position: relative; display: flex; overflow: hidden;
  background: var(--red); color: #fff; min-height: 212px; padding: 34px 22px 25px;
}
.join-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent, rgba(176, 0, 16, .66)); pointer-events: none;
}
.join-content { position: relative; z-index: 2; }
.join-card h2 { font-weight: 800; font-size: 18px; margin: 0 0 7px; letter-spacing: .4px; }
.join-card p { font-size: 15px; line-height: 1.43; margin: 0 0 42px; }
.join-card-btn {
  background: #fff; color: var(--red); border: 1px solid #fff; border-radius: 3px;
  display: inline-flex; gap: 13px; align-items: center; height: 39px;
  font-size: 13px; font-weight: 700; padding: 0 18px; box-shadow: 0 2px 7px rgba(0,0,0,.13);
  letter-spacing: .4px; text-transform: uppercase;
}
.join-card-btn:hover { background: #f9e5e6; color: var(--red-dark); }
.join-card-btn .icon { width: 18px; height: 18px; }
.join-illustration { position: absolute; z-index: 1; right: 19px; top: 26px; width: 152px; height: 140px; object-fit: contain; opacity: .95; }

/* ---------- Alt mesaj şeridi ---------- */
.bottom-messages {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 auto; min-height: 76px; align-items: center;
}
.bottom-message { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 42px; }
.bottom-message + .bottom-message { border-left: 1px solid #d6d6d6; }
.bottom-message p { font-size: 12.4px; line-height: 1.35; margin: 0; font-style: italic; }
.bottom-message .quote-mark { width: 46px; height: 41px; fill: var(--red); stroke: var(--red); flex: none; }
.bottom-message .handshake-ico { width: 48px; height: 43px; stroke-width: 1; flex: none; color: var(--red); }

/* ---------- Örgütlenme yöntemi (görsel akış diyagramı) ---------- */
.yontem-card { max-width: 980px; margin: 13px auto 0; padding-bottom: 20px; }
.yontem-flow { margin-top: 16px; }

.yp-start {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 560px; margin: 0 auto; text-align: left;
  background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 18px;
}
.yp-start .icon { width: 44px; height: 44px; stroke-width: 1.1; flex: none; }
.yp-start strong { display: block; font-size: 16px; letter-spacing: .5px; }
.yp-start p { margin: 2px 0 0; font-size: 13px; opacity: .92; }

.yp-arrow { display: flex; flex-direction: column; align-items: center; height: 30px; margin: 8px 0; }
.yp-arrow span { flex: 1; width: 0; border-left: 2px dashed #b6bcc2; }
.yp-arrow::after { content: ""; width: 0; height: 0; border: 6px solid transparent; border-top-color: #b6bcc2; }

.yp-level { border-radius: 10px; padding: 14px 14px 16px; }
.yp-red { background: #fdf2f3; border: 1px solid #f0c6ca; }
.yp-navy { background: #f1f4f8; border: 1px solid #cfd9e4; }
.yp-green { background: #eef7f0; border: 1px solid #cbe4d2; }

.yp-level-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .5px;
  padding: 6px 12px; border-radius: 20px; margin-bottom: 10px;
}
.yp-level-tag .icon { width: 16px; height: 16px; }
.yp-red .yp-level-tag { background: var(--red); }
.yp-navy .yp-level-tag { background: var(--navy); }
.yp-green .yp-level-tag { background: #2f7d4f; }

.yp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.yp-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 10px 12px; text-align: center;
}
.yp-card strong { display: block; font-size: 11.5px; letter-spacing: .6px; margin-bottom: 8px; }
.yp-card p { font-size: 12.5px; line-height: 1.35; margin: 6px 0 0; color: #3f444c; }
.yp-card p b { color: var(--ink); }
.yp-no {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 12px;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.yp-people { display: flex; justify-content: center; align-items: flex-end; gap: 3px; min-height: 24px; }
.yp-people .icon { width: 15px; height: 15px; stroke-width: 2; color: var(--navy); }
.yp-people .p-w { color: var(--red); }
.yp-people .p-g { color: #2f7d4f; }
.yp-people.one { min-height: 28px; }
.yp-people.one .icon { width: 24px; height: 24px; color: var(--red); stroke-width: 1.5; }
.yp-people.lead-icon .icon { width: 26px; height: 26px; color: var(--navy); }

.yp-goal {
  display: flex; align-items: center; gap: 16px;
  background: var(--red); color: #fff; border-radius: 10px; padding: 16px 18px;
}
.yp-goal > .icon { width: 44px; height: 44px; flex: none; stroke-width: 1.1; }
.yp-goal strong { letter-spacing: .4px; }
.yp-goal p { font-size: 13.5px; line-height: 1.45; margin: 0 0 10px; }
.yp-goal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.yp-goal-chips span {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 20px;
  padding: 6px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
}
.yp-goal-chips .icon { width: 16px; height: 16px; }
.yp-goal .yp-goal-olmak { margin: 0; }

.yontem-notes { margin: 14px auto 0; border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.yontem-notes li { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.4; color: #5a5f66; }
.yontem-notes li::before { content: "•"; color: var(--red); font-weight: 800; }
.yontem-figure { max-width: 780px; margin: 18px auto 0; border: 1px solid var(--line); background: #fff; padding: 10px; }
.yontem-figure img { width: 100%; height: auto; cursor: zoom-in; }
.yontem-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--gray); text-align: center; }

@media (max-width: 767px) {
  .yp-start { flex-direction: column; text-align: center; padding: 14px 12px; }
  .yp-goal { flex-direction: column; align-items: flex-start; padding: 14px; }
  .yp-goal > .icon { width: 34px; height: 34px; }
}

/* ---------- Bölümler (mevcut yapı korundu) ---------- */
.section { padding: 42px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 28px; }
.section-head h2 { font-size: clamp(22px, 4vw, 30px); text-transform: uppercase; letter-spacing: .5px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin: 12px auto 0; border-radius: 2px; }
.section-head p { color: var(--gray); margin-top: 10px; }

/* Yazı kartları */
.posts-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 10px rgba(16,24,40,.05); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-tag { display: inline-block; background: rgba(201, 0, 19, .09); color: var(--red); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.post-card h3 { font-size: 17px; margin-bottom: 6px; }
.post-card p { color: var(--gray); font-size: 14px; }
.post-card time { display: block; margin-top: 12px; font-size: 13px; color: #8a8f98; }

/* Belgeler */
.docs-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.doc-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: transform .2s, box-shadow .2s; }
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-card svg { width: 30px; height: 30px; fill: var(--red); flex: none; }
.doc-card h3 { font-size: 15px; }
.doc-card p { font-size: 13px; color: var(--gray); }

/* ---------- Form (mevcut) ---------- */
.form-wrap { max-width: 760px; margin-inline: auto; }
.join-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 11px 12px; border: 1.5px solid #d8dbe0; border-radius: 8px;
  font: inherit; font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(201, 0, 19, .12); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.err { display: none; color: var(--red); font-size: 12.5px; margin-top: 4px; }
.err.show { display: block; }
.field-check, .field-full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: #8a8f98; text-align: center; }
.form-result { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.form-result.ok { display: block; background: #eaf7ef; color: #1d7a3f; border: 1px solid #bfe6cf; }
.form-result.error { display: block; background: #fdecec; color: var(--red-dark); border: 1px solid #f5c9cc; }
button[type="submit"] { font-family: inherit; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-grid h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.contact-line { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.contact-line a { color: var(--red); word-break: break-all; }
.social-row { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #c9cdd4;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.social svg { width: 18px; height: 18px; fill: var(--navy); transition: fill .2s; }
.social:hover { background: var(--navy); border-color: var(--navy); }
.social:hover svg { fill: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfd6e1; padding: 40px 0 0; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.brand-light .brand-text strong { color: #fff; }
.brand-logo-foot {
  height: 48px; border-radius: 8px; background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.35); padding: 6px;
}
.f-brand p { margin-top: 10px; font-size: 14px; opacity: .8; }
.f-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.f-col ul li { margin-bottom: 8px; }
.f-col ul a { font-size: 14px; opacity: .85; }
.f-col ul a:hover { color: #fff; opacity: 1; }
.f-contact p { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-bottom: 14px; word-break: break-all; }
.f-contact .social { border-color: #3b4657; }
.f-contact .social svg { fill: #cfd6e1; }
.f-contact .social:hover { background: #fff; border-color: #fff; }
.f-contact .social:hover svg { fill: var(--navy); }
.social-row.small .social { width: 34px; height: 34px; }
.footer-bottom {
  margin-top: 30px; border-top: 1px solid #232d40; padding: 16px 0;
  display: grid; gap: 6px; font-size: 12.5px; opacity: .75;
}

/* ---------- Hikaye / metin blokları (Biz Kimiz?) ---------- */
.story { max-width: 860px; margin-inline: auto; }
.story-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(16,24,40,.04);
}
.story-block h3 { font-size: 17px; color: var(--red); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.story-block h4 { font-size: 15px; margin: 16px 0 4px; color: var(--navy); }
.story-block p { font-size: 15px; color: #3d424b; margin-bottom: 10px; }
.big-quote {
  border-left: 5px solid var(--red); background: rgba(201, 0, 19, .05);
  padding: 12px 16px; border-radius: 0 8px 8px 0; font-weight: 600; font-size: 15px; margin: 14px 0;
}
.link-red { color: var(--red); font-weight: 700; font-size: 14px; }
.eksen-list { margin: 8px 0 4px; padding: 0; list-style: none; }
.eksen-list li { position: relative; padding: 5px 0 5px 24px; font-size: 15px; color: #3d424b; }
.eksen-list li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 8px; background: var(--red); border-radius: 2px; transform: rotate(45deg);
}

/* ---------- CHP'den Haberler (chp.org.tr) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.news-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f2f2; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-content { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; flex: 1; }
.news-card-date { color: var(--red); font-weight: 700; font-size: 12.5px; letter-spacing: .3px; }
.news-card-title { font-size: 15.5px; line-height: 1.42; color: var(--navy); font-weight: 700; margin: 0; }
.news-card-more { margin-top: auto; padding-top: 6px; color: var(--red); font-weight: 700; font-size: 13px; }
.news-source { margin-top: 24px; text-align: center; }
@media (max-width: 991px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animasyon ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   Bilgi modal
   ========================================================= */
.modal-backdrop-info {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(16, 24, 40, .55);
}
.modal-backdrop-info[hidden] { display: none; }
.modal-box {
  width: min(640px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  animation: modalIn .2s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-box-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px 0; border-top: 4px solid var(--red);
}
.modal-box-head h2 { font-size: 20px; font-weight: 750; }
.modal-close {
  width: 38px; height: 38px; border: none; background: var(--bg-soft); border-radius: 8px;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); flex: none;
  font-family: inherit;
}
.modal-close:hover { background: var(--line); }
.modal-box-body { padding: 14px 24px 4px; font-size: 15px; color: var(--ink); }
.modal-box-body ol { list-style: decimal; padding-left: 22px; margin: 10px 0; }
.modal-box-body li { margin-bottom: 6px; }
.modal-box-body p { margin-bottom: 10px; }
.modal-box-foot { padding: 14px 24px 20px; text-align: right; }
body.modal-open { overflow: hidden; }

/* =========================================================
   Referans kırılımları (üst blok — desktop-first)
   ========================================================= */
@media (max-width: 1399px) and (min-width: 1200px) {
  .brand { min-width: 345px; }
  .brand-name { font-size: 25px; padding-left: 15px; }
  .brand-name strong { font-size: 24px; }
  .header-join { padding: 8px 11px; }
  .hero-illustration { top: -30px; }
  .hero-content { margin-left: 25px; }
}

@media (max-width: 1199px) {
  .hero-title { font-size: 39px; }
  .hero-illustration { left: 27%; top: -34px; bottom: -16px; height: auto; }
  .hero-banner { object-position: center 26%; }
  .hero-quote { top: 180px; right: 3px; width: 242px; }
  .hero-quote p { font-size: 14px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mid-grid { grid-template-columns: 1fr 1fr; }
  .join-card { grid-column: 1 / -1; min-height: 175px; }
  .join-card p { margin-bottom: 24px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .mid-grid { grid-template-columns: 1fr; }
  .join-card { grid-column: auto; }
  .organization-card, .solutions-card { min-height: 223px; }
  .org-stage > span:last-child { font-size: 11px; }
}

@media (max-width: 767px) {
  .page-container { width: calc(100% - 32px); }

  /* Mobilde header daima beyaz */
  .site-header { background: #fff; border-bottom: 1px solid var(--line); }
  html { scroll-padding-top: 92px; }

  .header-inner { padding: 6px 16px 8px; }
  .brand { min-width: auto; }
  .brand-logo { width: 55px; height: 65px; }
  .brand-name { font-size: 19px; padding-left: 10px; padding-top: 5px; }
  .brand-name strong { font-size: 18px; letter-spacing: -.5px; }
  .nav-toggle { margin-top: 12px; }

  .hero-section { display: flex; flex-direction: column; min-height: auto; padding-top: 8px; }
  /* Mobilde önce banner görülsün, yazı altında */
  .hero-illustration { position: relative; order: 1; left: auto; right: auto; top: auto; bottom: auto; height: auto; margin: 0; }
  .hero-content { order: 2; margin-left: 0; padding-top: 14px; width: 100%; }
  .hero-title { font-size: clamp(29px, 7vw, 40px); margin-bottom: 15px; padding-left: 12px; }
  .hero-intro { font-size: 14px; max-width: 100%; margin-bottom: 12px; }
  .hero-actions { gap: 9px !important; }
  .btn-main { padding: 0 13px; height: 41px; font-size: 11.3px; }
  .hero-banner {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 2752 / 1536; object-fit: contain;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-quote {
    position: relative; order: 3; top: auto; right: auto; width: 100%; max-width: 400px;
    align-self: flex-start; grid-template-columns: 35px 1fr; padding: 0 0 25px;
  }
  .hero-quote p { font-size: 14.5px; white-space: normal; margin-top: 1px; }
  .hero-quote .quote-mark { width: 34px; height: 34px; }
  .quote-rule { margin-top: 8px; }

  .br-sm { display: inline; }
  .br-xl { display: inline; }

  .feature-grid, .mid-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 94px; padding: 12px 15px; }
  .feature-card h2 { font-size: 17px; }
  .feature-card p { font-size: 13px; }
  .mid-grid { margin-top: 12px; }
  .content-card { min-height: 238px; }
  .org-stages { margin-top: 16px; }
  .org-stage > span:last-child { font-size: 10px; }
  .solutions-card { min-height: 235px; }
  .solution-list { row-gap: 23px; margin-top: 22px; }
  .join-card { min-height: 196px; grid-column: auto; }
  .bottom-messages { grid-template-columns: 1fr; padding: 10px 0; gap: 12px; }
  .bottom-message { justify-content: flex-start; padding: 7px; }
  .bottom-message + .bottom-message { border-left: none; border-top: 1px solid #ddd; padding-top: 15px; }
  .bottom-message p { font-size: 12px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-block { padding: 15px 16px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 16px; }
  .brand-name strong { font-size: 15px; }
  .brand-logo { width: 48px; height: 58px; }
  .hero-title { font-size: 30px; }
  .hero-actions .btn-main { font-size: 10.5px; padding: 0 9px; }
  .stage-icon { height: 43px; width: 43px; }
  .stage-icon .icon { height: 26px; width: 26px; }
  .org-stage strong { font-size: 9px; }
  .org-stage > span:last-child { font-size: 8.5px; }
  .org-stages { grid-template-columns: 1fr 8px 1fr 8px 1.18fr 8px 1fr; gap: 2px; }
  .stage-chevron { font-size: 22px; line-height: 43px; }
  .solution-list { column-gap: 3px; }
  .solution-item { gap: 4px; font-size: 9.5px; }
  .solution-item .icon { width: 22px; height: 22px; }
  .join-illustration { right: 2px; width: 129px; opacity: .75; }
}

/* =========================================================
   Alt bölümler (min-width kırılımları — mevcut yapı)
   ========================================================= */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-check { grid-column: 1; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
