/* =====================================================================
   Bebeko — site-6.css: Dişbul düzeninde header (logo + arama + 4 eylem), sade üst menü, hizalama düzeltmeleri
   ===================================================================== */

/* ---------- Header ---------- */
.header-top { gap: 18px; padding-top: 12px; padding-bottom: 10px; }
.header-search { flex: 1 1 auto; max-width: 440px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); transition: border-color .15s, background .15s; }
.header-search .i { flex: none; width: 18px; height: 18px; color: var(--muted); }
.header-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--navy); outline: none; }
.header-search input::placeholder { color: #9aa3b8; }
.header-search:focus-within { border-color: var(--pink-200); background: #fff; box-shadow: 0 0 0 3px var(--pink-50); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 13.5px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.hbtn .i { flex: none; width: 17px; height: 17px; }
.hbtn-sage { background: var(--sage-50); border-color: var(--sage-100); color: var(--sage-600); }
.hbtn-sage:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.hbtn-blue { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-600); }
.hbtn-blue:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.hbtn-light { background: #fff; border-color: var(--line); color: var(--navy); }
.hbtn-light:hover { border-color: var(--pink-200); color: var(--pink-700); }
.hbtn-pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.hbtn-pink:hover { background: var(--pink-600); border-color: var(--pink-600); color: #fff; }
.hbtn.icon-only { width: 40px; padding: 0; }
.nav-bar { border-top: 1px solid var(--line-2); }
.nav-inner { min-height: 50px; }
.nav-list { gap: 4px; flex-wrap: nowrap; }
.nav-link { padding: 10px 12px; font-size: 14px; }
/* Masaüstünde arama kutusu header'da; büyüteç düğmesi yalnızca dar ekranlarda */
@media (min-width: 1121px) { .nav-inner > .search-toggle { display: none; } }
@media (max-width: 1240px) { .nav-link { padding: 10px 8px; font-size: 13.5px; gap: 6px; } .nav-link .i:not(.caret) { width: 17px; height: 17px; } }
@media (max-width: 1120px) {
  .header-search { display: none; }
  .header-top { justify-content: space-between; }
  .nav-link .i:not(.caret) { display: none; }
}
@media (max-width: 960px) {
  .header-actions { display: none; }
  .nav-bar { border-top: 0; }
  .nav-inner { min-height: 0; }
  .nav-list { flex-wrap: wrap; }
  .nav-link .i:not(.caret) { display: inline; }
  .nav-mobile-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav-mobile-actions .hbtn { width: 100%; height: 44px; }
}

/* ---------- Mega menü: Kurumsal / Rehberler (4 sütun) ---------- */
.mega-inner:has(> .mega-col:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)) 260px; }
.mega-inner:not(:has(.mega-feature)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Hizalama düzeltmeleri ---------- */
.section-head { align-items: center; }
.section-head > div { min-width: 0; }
.btn { align-items: center; }
.btn .i { flex: none; }
.chip-row { align-items: center; }
img { max-width: 100%; }
.page-banner-copy .filter-bar { margin-top: 4px; }
.breadcrumb.inline ol { flex-wrap: wrap; }
.footer-grid { align-items: start; }
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; gap: 8px; }
  .section-head .btn { margin-left: 0; }
  .page-banner h1 { font-size: clamp(24px, 7vw, 30px); line-height: 1.2; }
  .page-banner .lead { font-size: 15px; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Ana sayfa: bağlantılı alanlar ---------- */
.feat-list li a { display: inline-flex; align-items: center; gap: inherit; color: inherit; }
.feat-list li a:hover { color: var(--pink-700); }
a.trust-note { color: inherit; text-decoration: none; }
a.trust-note:hover strong { color: var(--pink-700); }
.check-grid li a { display: inline-flex; align-items: center; gap: inherit; color: inherit; }
.check-grid li a:hover { color: var(--blue-600); text-decoration: underline; }
a.stat { color: inherit; border-radius: var(--r); transition: background .15s; }
a.stat:hover { background: var(--pink-50); }
a.stat:hover strong { color: var(--pink-700); }
a.why-item { display: block; color: inherit; border-radius: var(--r); transition: background .15s; }
a.why-item:hover { background: rgba(255,255,255,.7); }
a.why-item:hover strong { color: var(--pink-700); }

/* Mobil üst satır: arama ikonu menü düğmesinin hemen solunda, aynı hizada */
@media (max-width: 960px) {
  .container.nav-inner { padding: 0; right: 68px; top: -55px; }
  .nav-inner > .search-toggle { width: 44px; height: 44px; border-radius: 10px; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .nav-inner > .search-toggle { width: 42px; height: 42px; }
}

/* Kart içi düğmeler aynı hizada (metin uzunluğu farklı olsa da) */
.brand-card { align-items: stretch; }
.brand-card > img, .brand-card > .brand-art { align-self: center; }
.brand-copy { align-self: stretch; justify-content: center; }
.brand-copy .btn { margin-top: auto; }
.cta { align-items: stretch; }
.cta > .cta-art { align-self: center; }
.cta > div { display: flex; flex-direction: column; align-items: flex-start; }
.cta > div .btn { margin-top: auto; }
.hosp-cat { display: flex; flex-direction: column; align-items: center; }
.hosp-cat .btn { margin-top: auto; }
.hosp-cat small { margin-bottom: 6px; }

/* Izgara sütunları içerik yüzünden ekrandan taşmasın (uzun e-posta, adres, web adresi) */
.firm-grid, .pkg-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.firm-card, .pkg-card, .guide-card { min-width: 0; }
.firm-card a, .firm-card span, .firm-card p { overflow-wrap: anywhere; }
@media (max-width: 1100px) { .firm-grid, .pkg-grid { --cols: 2; } }
@media (max-width: 640px) { .firm-grid, .pkg-grid { --cols: 1; } }

/* Footer: Dijital34 imzası (sağ alt köşe) */
.footer-credit { margin-left: auto; display: inline-flex; opacity: .85; transition: opacity .15s; }
.footer-credit:hover { opacity: 1; }
.footer-credit img { display: block; height: 30px; width: auto; }
@media (max-width: 640px) { .footer-credit { margin-left: 0; } }
