/* ==========================================================================
   Zinisan — tasarım dosyasına (style.css) eklenen sistem stilleri
   ========================================================================== */

/* ==========================================================================
   Kurumsal üst menü
   ========================================================================== */
.nav-menu {
  gap: 2.4rem;
}

/* Sabit header altında kalmasın */
section[id] {
  scroll-margin-top: 90px;
}

.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu--simple {
  width: 250px;
  padding: 0.5rem 0;
}

.dropdown-menu--wide {
  width: 370px;
}

.dropdown-menu--simple .dropdown-item {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-left: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.dropdown-menu--simple .dropdown-item:hover,
.dropdown-menu--simple .dropdown-item.active {
  color: var(--accent-blue);
  border-left-color: var(--accent-blue);
}

.dropdown-menu--simple .dropdown-item small {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.dropdown-menu--simple .dropdown-item--all {
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--accent-blue);
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 1.6rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 0;
    padding-top: 1rem;
  }

  .nav-menu .dropdown {
    width: 100%;
  }

  .nav-menu .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu--simple,
  .dropdown-menu--wide {
    width: 100%;
  }
}

/* ==========================================================================
   Pompa seçim kartları — "Ürün Gruplarımız" kartlarıyla aynı görsel dil
   ========================================================================== */
.selector-pump-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.selector-pump-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.selector-pump-card .pump-card-img {
  position: relative;
  height: 200px;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.selector-pump-card .pump-card-img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.selector-pump-card:hover .pump-card-img img {
  transform: scale(1.05);
}

/* Seri rozeti: kategori kartındaki etiketle aynı */
.selector-pump-card .pump-card-badge {
  top: 1rem;
  left: 1rem;
  right: auto;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 41, 74, 0.85);
  backdrop-filter: blur(4px);
}

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

/* ==========================================================================
   Ana sayfa hero slider — ürün sayfası galerisiyle aynı görsel dil
   ========================================================================== */
.hero-slider-container {
  height: 440px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.45);
}

.hero-slider-track {
  height: 100%;
}

.hero-slide {
  padding: 3.5rem 3.5rem 3rem;
  background: #ffffff;
  transform: none;
}

.hero-slide.active {
  transform: none;
}

.hero-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  filter: none;
}

.hero-slider-container:hover .hero-slide.active img {
  transform: scale(1.02);
}

/* Ürün adı: sol üstte etiket */
.hero-slide-caption {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  color: #fff;
  background: rgba(15, 41, 74, 0.85);
  backdrop-filter: blur(4px);
  border: none;
}

.hero-slider-btn {
  z-index: 5;
  width: 42px;
  height: 42px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
}

.hero-slider-btn:hover {
  color: #ffffff;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 5;
  margin: 0;
  transform: translateX(-50%);
}

.hero-slider-dots .slider-dot {
  background: #cbd5e1;
}

.hero-slider-dots .slider-dot.active {
  width: 22px;
  border-radius: 6px;
  background: var(--accent-blue);
}

@media (max-width: 768px) {
  /* Mobil hero: üst boşluk az, metinler sıkı, butonlar düzenli ızgara */
  .hero-section {
    padding: 2rem 0 3rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-content {
    gap: 1.1rem;
  }

  .hero-content .badge-tag {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
  }

  .hero-slogan-pill {
    margin-top: -0.35rem;
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding-top: 0.25rem;
  }

  .hero-actions .btn {
    justify-content: center;
    min-height: 50px;
    padding: 0.75rem 0.5rem;
    font-size: 0.92rem;
  }

  /* Ana eylem tam genişlik, diğer ikisi yan yana eşit */
  .hero-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .hero-slider-container {
    height: 320px;
  }

  .hero-slide {
    padding: 3rem 2.75rem 2.5rem;
  }

  .selector-pump-card .pump-card-img {
    height: 180px;
  }

  .pump-card-body {
    padding: 1.25rem 1rem;
  }
}

/* Ürün grubu kartının tamamı tek bir bağlantı; içindeki buton yalnızca görsel */
.category-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.category-card-link:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: -3px;
  border-radius: var(--radius-xl);
}

.category-card:hover .category-footer .btn-primary {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
}

/* ==========================================================================
   Teklif modalı — kaydırmadan sığan kompakt form, gönder butonu hep görünür
   ========================================================================== */
.modal-container.rfq-modal {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92dvh;
  padding: 0;
  overflow: hidden;
  overflow: clip; /* kaydırılabilir kutu olmasın: odaklanınca başlık yukarı kaçmasın */
}

/* Başlık satırıyla aynı hizada, 36px dokunma alanı */
.rfq-modal .modal-close {
  top: 1.3rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rfq-modal .modal-close:hover {
  background: var(--bg-card-alt);
}

.rfq-modal .modal-close svg {
  display: block;
  flex-shrink: 0;
}

/* "Kapat" yazısı yalnızca telefonda */
.rfq-modal .modal-close-label {
  display: none;
}

.rfq-modal-head {
  padding: 1.5rem 3.5rem 1rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.rfq-modal-head .modal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.rfq-modal-product {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rfq-modal-product strong {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.rfq-modal-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.rfq-modal-body {
  flex: 1;
  min-height: 0;
  padding: 1.1rem 1.75rem 0.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rfq-modal-footer {
  padding: 0.9rem 1.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.rfq-modal-footer .btn {
  width: 100%;
  padding: 0.8rem;
}

/* Satır ve grup boşlukları üst üste binmesin */
.rfq-modal .form-grid {
  column-gap: 0.85rem;
}

.rfq-modal .form-group {
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.rfq-modal .form-group label {
  font-size: 0.8rem;
}

.rfq-modal .form-control {
  padding: 0.6rem 0.8rem;
}

.rfq-modal textarea.form-control {
  min-height: 64px;
}

.rfq-modal .kvkk-check {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
}

/* Telefonda: alttan açılan, içeriği kadar yüksek panel (en fazla ekranın %92'si).
   Sığmazsa yalnızca alanlar kayar; başlık ve gönder butonu hep ekranda. */
@media (max-width: 640px) {
  .modal-overlay.active {
    align-items: flex-end;
    padding: 0;
  }

  .modal-container.rfq-modal {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    animation: rfqSheetUp 0.25s ease-out;
  }

  /* "Kapat ✕" hapı: başlık satırıyla aynı hizada, dokunması kolay */
  .rfq-modal .modal-close {
    top: 0.85rem;
    right: 1rem;
    width: auto;
    height: 36px;
    padding: 0 0.7rem 0 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    background: var(--bg-card-alt);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
  }

  .rfq-modal .modal-close svg {
    width: 16px;
    height: 16px;
  }

  .rfq-modal .modal-close-label {
    display: inline;
  }

  .rfq-modal-head {
    padding: 1.05rem 6.6rem 0.8rem 1.25rem;
  }

  .rfq-modal-head .modal-title {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }

  .rfq-modal-body {
    padding: 0.95rem 1.25rem 0.25rem;
  }

  .rfq-modal .form-grid {
    grid-template-columns: 1fr;
  }

  .rfq-modal .form-group {
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .rfq-modal textarea.form-control {
    min-height: 58px;
  }

  .rfq-modal .form-control {
    padding: 0.6rem 0.85rem;
    font-size: 16px; /* iOS odaklanınca yakınlaştırmasın */
  }

  .rfq-modal .kvkk-check {
    font-size: 0.8rem;
  }

  .rfq-modal-footer {
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 16px rgba(15, 41, 74, 0.06);
  }

  .rfq-modal-footer .btn {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

@keyframes rfqSheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Spam tuzağı alanı: ekran okuyucular ve kullanıcılar için gizli */
/* Bot tuzağı: görünmez ama yerinde (eskiden left:-9999px; sağdan sola dilde sayfayı ~10.000 px genişletip telefonda
   boş ekranla açıyordu). Botlar alanı yine görür ve doldurur. */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* KVKK onay kutusu */
.kvkk-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.kvkk-check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-blue);
}

.kvkk-check a {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: underline;
}

.kvkk-check input.is-invalid {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* Form doğrulama ve sonuç mesajları */
.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.form-feedback--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Talep formu alanları: iki sütun; gizlenen alanın yerini sonraki alan doldurur */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.form-grid .form-group--full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Gönderilmiş form gizlenir (modal formundaki display:flex, hidden özelliğini ezmesin) */
.js-quote-form[hidden] {
  display: none !important;
}

/* Başarılı gönderim: form yerine onay ekranı */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0.5rem;
  text-align: center;
  outline: none;
  animation: formSuccessIn 0.35s ease-out;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  box-shadow: 0 0 0 8px #f0fdf4;
}

.form-success-icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.form-success > p {
  max-width: 420px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--secondary-slate);
}

.form-success-ref {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 1.25rem 0;
  padding: 0.75rem 1.5rem;
  border: 1px dashed #93c5fd;
  border-radius: var(--radius-md);
  background: #f0f9ff;
}

.form-success-ref span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-success-ref strong {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.form-success .form-success-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* Modal: onay ekranında başlık bandı ve alt buton alanı gereksiz */
.rfq-modal.is-success .rfq-modal-head {
  display: none;
}

.rfq-modal .form-success {
  padding: 2.5rem 1.75rem 2rem;
  overflow-y: auto;
}

@keyframes formSuccessIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Çerez bandı (Yasal Sayfalar > Çerez Bandı): köşede kart / alt şerit / ortada pencere; tercih panelinde anahtarlar */
.cookie-consent { position: fixed; z-index: 1500; }
.cookie-consent[hidden] { display: none; }
.cookie-consent-card {
  padding: 1.35rem 1.4rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 16px; background: #ffffff;
  box-shadow: 0 24px 60px -18px rgba(15, 41, 74, 0.38); animation: cookieIn 0.35s ease;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie-consent--box { left: 1.25rem; bottom: 1.25rem; width: min(420px, calc(100vw - 2.5rem)); }
.cookie-consent--bar { left: 0; right: 0; bottom: 0; }
.cookie-consent--bar .cookie-consent-card { border-radius: 16px 16px 0 0; border-bottom: 0; }
.cookie-consent--bar .cookie-consent-main { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 2rem; align-items: center; }
.cookie-consent--bar .cookie-consent-main .cookie-consent-head { grid-column: 1; }
.cookie-consent--bar .cookie-consent-main .cookie-consent-text { grid-column: 1; margin: 0; }
.cookie-consent--bar .cookie-consent-main .cookie-consent-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.cookie-consent--bar .cookie-consent-prefs { max-width: 760px; margin: 0 auto; }
.cookie-consent--center { inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(5, 19, 36, 0.55); backdrop-filter: blur(2px); }
.cookie-consent--center[hidden] { display: none; }
.cookie-consent--center .cookie-consent-card { width: min(520px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; }

.cookie-consent-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.cookie-consent-head .cookie-consent-heading { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.cookie-consent-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #e0f2fe; color: #0369a1; }
.cookie-consent-text { margin: 0 0 1rem; font-size: 0.86rem; line-height: 1.6; color: var(--secondary-slate); }
.cookie-consent a { font-weight: 700; color: var(--accent-blue); text-decoration: underline; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.cookie-consent-actions .btn { justify-content: center; }
.cookie-consent--box .cookie-consent-actions .btn-primary { flex: 1 1 100%; }
.cookie-consent--box .cookie-consent-main .cookie-consent-actions .btn-outline { flex: 1 1 0; }
.cookie-consent-back { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--primary); cursor: pointer; }

.cookie-consent-categories { list-style: none; margin: 0 0 1rem; padding: 0; border: 1px solid #e2e8f0; border-radius: 12px; }
.cookie-consent-categories li { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; }
.cookie-consent-categories li + li { border-top: 1px solid #eef2f7; }
.cookie-consent-categories label { cursor: pointer; }
.cookie-consent-categories strong { display: block; font-size: 0.9rem; color: var(--primary); }
.cookie-consent-categories p { margin: 0.2rem 0 0; font-size: 0.8rem; line-height: 1.5; color: #64748b; }
.cookie-consent-always { flex-shrink: 0; font-size: 0.72rem; font-weight: 700; color: #16a34a; white-space: nowrap; padding-top: 0.15rem; }
.cookie-switch { position: relative; flex-shrink: 0; width: 42px; height: 24px; margin-top: 0.1rem; }
.cookie-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cookie-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; transition: background 0.2s ease; }
.cookie-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25); transition: transform 0.2s ease; }
.cookie-switch input:checked + span { background: #0369a1; }
.cookie-switch input:checked + span::after { transform: translateX(18px); }
.cookie-switch input:focus-visible + span { outline: 2px solid #0369a1; outline-offset: 2px; }

/* Seçimden sonra tercihleri yeniden açan küçük çerez butonu (sol alt) */
.cookie-reopen {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 998; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid #e2e8f0; border-radius: 50%; background: #ffffff; color: #0369a1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 41, 74, 0.15); transition: transform 0.2s ease;
}
.cookie-reopen:hover { transform: translateY(-2px); }
.cookie-reopen[hidden] { display: none; }

@media (max-width: 768px) {
  .cookie-consent--box, .cookie-consent--bar { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  .cookie-consent--bar .cookie-consent-card { border-radius: 16px; border-bottom: 1px solid #e2e8f0; }
  .cookie-consent--bar .cookie-consent-main { display: block; }
  .cookie-consent-actions .btn { flex: 1 1 auto; }
  .cookie-reopen { left: 0.75rem; bottom: 0.75rem; width: 38px; height: 38px; }
  body.has-mobile-bar .cookie-reopen { bottom: calc(58px + 0.75rem + env(safe-area-inset-bottom)); }
}
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #94a3b8;
  cursor: pointer;
}

.footer-legal button:hover {
  color: #ffffff;
}

/* Seçim asistanında pasif kapasite filtresi */
.custom-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer bağlantılı iletişim satırları */
.footer-contact-item a {
  color: inherit;
}

/* ==========================================================================
   İletişim sayfası
   ========================================================================== */
.contact-hero {
  padding-bottom: 6.5rem;
}

.contact-hero .page-hero-desc {
  margin-bottom: 0;
}

.contact-channels {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.6rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  transition: var(--transition);
}

a.contact-channel:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
}

.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-blue);
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}

.contact-channel-icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
}

.contact-channel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-channel-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  word-break: break-word;
}

.contact-channel-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-main {
  padding: 4.5rem 0 5.5rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2,
.contact-locations h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.contact-form-lead {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-card {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.location-map {
  height: 200px;
  background: var(--bg-card-alt);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-body {
  padding: 1.25rem 1.5rem 1.4rem;
}

.location-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.location-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--secondary-slate);
  margin-bottom: 0.75rem;
}

.location-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.location-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-form-card .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   Ana sayfa — firma istatistikleri (hero altı)
   ========================================================================== */
.company-stats {
  position: relative;
  z-index: 3;
  padding: 2.25rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.company-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 1.75rem;
  border-left: 1px solid var(--border-light);
}

.company-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-stat-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-blue);
}

.company-stat-icon svg {
  width: 26px;
  height: 26px;
}

.company-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.company-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ==========================================================================
   Ana sayfa — hakkımızda özeti
   ========================================================================== */
.home-about {
  padding: 5.5rem 0;
  background: #ffffff;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.home-about-visual {
  position: relative;
}

.home-about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.home-about-floater {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0369a1 100%);
  box-shadow: var(--shadow-xl);
  color: #ffffff;
}

.home-about-floater strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.home-about-floater span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

.home-about-content .section-title {
  margin: 0.5rem 0 1.25rem;
}

.home-about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--secondary-slate);
}

.home-about-text strong {
  color: var(--primary);
}

.home-about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  margin: 1.75rem 0 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.home-about-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.home-about-point-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-blue);
}

.home-about-point-icon svg {
  width: 20px;
  height: 20px;
}

.home-about-point h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
}

.home-about-point p {
  margin-top: 0.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ==========================================================================
   Pompa seçim asistanı — ana sayfa kısa liste / ayrı sayfa
   ========================================================================== */
.selector-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.selector-more[hidden] {
  display: none;
}

.page-hero--compact {
  padding-bottom: 3rem;
}

.page-hero--compact .badge-tag {
  margin-bottom: 1rem;
}

.page-hero--compact .page-hero-desc {
  margin-bottom: 0;
}

.pump-selector-section--page,
.comparison-section--page {
  padding: 3.5rem 0 5rem;
}

.selector-page-note {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.selector-page-note a,
.link-button {
  font-weight: 700;
  color: var(--accent-blue);
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.selector-page-note a:hover,
.link-button:hover {
  text-decoration: underline;
}

.table-tab-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   Ana sayfa — alt iletişim bölümü (iletişim sayfası kartlarının koyu versiyonu)
   ========================================================================== */
.home-cta .rfq-grid {
  align-items: start;
}

.home-cta .cta-badge {
  margin-bottom: 1.25rem;
}

.home-cta .rfq-info p {
  margin-bottom: 1.75rem;
}

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

.cta-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: var(--transition);
}

a.cta-channel:hover {
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.cta-channel-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-blue);
  color: #ffffff;
}

.cta-channel-icon svg {
  width: 20px;
  height: 20px;
}

.cta-channel-icon--whatsapp {
  background: #25d366;
}

.cta-channel-text {
  min-width: 0;
}

.cta-channel-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cta-channel-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cta-addresses {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.75rem 0 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.cta-addresses li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cta-addresses svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent-cyan);
}

.cta-addresses strong {
  display: block;
  color: #ffffff;
}

.cta-addresses span {
  color: #94a3b8;
}

.cta-contact-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.cta-contact-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Footer — logo, sosyal medya, yasal bağlantılar
   ========================================================================== */
.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* Logo koyu zeminde beyaz: kutusuz, oranı korunarak */
.footer-brand .footer-logo img {
  width: auto;
  height: 46px;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
}

/* Sağ alttaki WhatsApp / başa dön butonlarının altında kalmasın */
.footer-bottom {
  padding-right: 4.5rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-legal a {
  color: #94a3b8;
}

.footer-legal a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .company-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
  }

  .company-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .home-about-visual {
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .company-stats {
    padding: 1.75rem 0;
  }

  .company-stats-grid {
    gap: 1.5rem 1rem;
  }

  .company-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0;
    border-left: 0;
  }

  .company-stat-icon {
    width: 40px;
    height: 40px;
  }

  .company-stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .company-stat-value {
    font-size: 1.3rem;
  }

  .company-stat-label {
    font-size: 0.78rem;
  }

  .home-about {
    padding: 4rem 0;
  }

  .home-about-floater {
    right: auto;
    left: 1rem;
    bottom: -1.25rem;
    padding: 1rem 1.2rem;
  }

  .home-about-floater strong {
    font-size: 1.75rem;
  }

  .home-about-points,
  .cta-channels {
    grid-template-columns: 1fr;
  }

  .home-about-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .table-tab-footer {
    justify-content: stretch;
  }

  .table-tab-footer .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Haberler & Teknik Bilgi Merkezi
   ========================================================================== */
.posts-section {
  padding: 3.5rem 0 5rem;
}

.posts-section--home {
  padding: 5rem 0;
  background: var(--bg-card-alt);
}

.posts-section--related {
  padding: 4rem 0;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-light);
}

/* En fazla 3 sütun; az yazı varsa kartlar ortalanır, tek kart tüm satırı kaplamaz */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 380px));
  justify-content: center;
  gap: 1.75rem;
}

.post-card {
  display: flex;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.post-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.post-card-link:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: -3px;
  border-radius: var(--radius-xl);
}

.post-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card-alt);
}

.post-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-image > img {
  transform: scale(1.05);
}

.post-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.post-card-placeholder img {
  width: 45%;
  opacity: 0.35;
}

.post-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15, 41, 74, 0.85);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.post-card-title {
  margin: 0.55rem 0 0.6rem;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary);
}

.post-card-excerpt {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--secondary-slate);
}

.post-card-more {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.posts-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.posts-switch-link {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary-slate);
  transition: var(--transition);
}

.posts-switch-link:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.posts-switch-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.posts-empty {
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-align: center;
  color: var(--text-muted);
}

.posts-empty p {
  margin-bottom: 1.25rem;
}

.posts-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.posts-pagination .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.posts-pagination-info {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.posts-home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.posts-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.posts-related-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.posts-related-head a {
  font-weight: 700;
  color: var(--accent-blue);
}

/* Yazı detay */
.post-title {
  font-size: 2.4rem;
}

.post-meta--hero {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.post-draft-note {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #fef3c7;
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
}

.post-section {
  padding: 3rem 0 4.5rem;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}

.post-cover {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-lead {
  margin-bottom: 1.75rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--accent-blue);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--primary);
}

.post-content {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--secondary-slate);
}

.post-content > * + * {
  margin-top: 1.1rem;
}

.post-content h2 {
  margin-top: 2.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
}

.post-content h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.post-content a {
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: underline;
}

.post-content ul,
.post-content ol {
  padding-left: 1.4rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li + li {
  margin-top: 0.4rem;
}

.post-content blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-card-alt);
  font-style: italic;
  color: var(--primary);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.post-content th,
.post-content td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-light);
  text-align: left;
}

.post-content th {
  background: var(--bg-card-alt);
  color: var(--primary);
}

/* Yazar kartı (Kullanıcılar / Profilim > Yazar kartı) */
.post-author {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.post-author-photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
}

.post-author-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.post-author-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.post-author-name {
  font-size: 1.05rem;
  color: var(--text-main);
}

.post-author-title {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.post-author-bio {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--secondary-slate);
}

.post-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.post-author-link svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 575px) {
  .post-author {
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
  }
}

.post-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--secondary-slate);
  transition: var(--transition);
}

.post-share a:hover {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #ffffff;
}

.post-share svg {
  width: 17px;
  height: 17px;
}

.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-side-card {
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.post-side-card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.post-side-products {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.post-side-products a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.post-side-products a:hover {
  background: var(--bg-card-alt);
  color: var(--accent-blue);
}

.post-side-products img {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.post-side-cta {
  background: linear-gradient(135deg, #0f294a 0%, #07192f 100%);
  border-color: transparent;
  color: #cbd5e1;
}

.post-side-cta h2 {
  color: #ffffff;
}

.post-side-cta p {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.post-side-phone {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .posts-section--home {
    padding: 3.5rem 0;
  }

  .post-title {
    font-size: 1.7rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content table {
    display: block;
    overflow-x: auto;
  }

  .posts-home-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* KVKK / yasal metin sayfası */
.legal-content {
  max-width: 820px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--secondary-slate);
}

.legal-content h2,
.legal-content h3 {
  margin: 2rem 0 0.75rem;
  color: var(--primary);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
}

/* Footer: telefon etiketi (Santral, Satış & WhatsApp...) */
.footer-contact-label {
  margin-right: 0.25rem;
  color: #cbd5e1;
}

/* Logo yükseklikleri: Firma Ayarları > Logonun sitedeki boyutu (layout'ta --logo-* değişkenleri) */
.site-header .brand-logo img {
  height: var(--logo-header-h, 48px);
}

.footer-brand .footer-logo img {
  height: var(--logo-footer-h, 46px);
}

@media (max-width: 768px) {
  .site-header .brand-logo img {
    height: var(--logo-mobile-h, 40px);
  }
}

/* Dil değiştirici (partials/language-switcher) */
.lang-switch {
  position: relative;
}

.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--primary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch-toggle:hover,
.lang-switch.open .lang-switch-toggle {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 1100;
  display: none;
  min-width: 190px;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lang-switch.open .lang-switch-menu {
  display: block;
}

.lang-switch-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-switch-item:hover,
.lang-switch-item.active {
  background: var(--bg-card-alt);
  color: var(--accent-blue);
}

.lang-switch-code {
  min-width: 1.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
}

.lang-switch-draft {
  margin-inline-start: auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Arapça (ve eklenen sağdan sola diller): Plus Jakarta Sans'ta Arapça harf yok */
html[dir="rtl"] body {
  font-family: 'Noto Kufi Arabic', var(--font-sans);
}
/* Rakamlar Space Mono'da kalır; değerlerdeki Arapça birimler ("ملي بار") Noto Kufi ile */
html[dir="rtl"] {
  --font-mono: 'Space Mono', 'Noto Kufi Arabic', monospace;
}
/* Ürün özetindeki değerler (yüklenmeyen JetBrains Mono → sistemin eş aralıklı yazısı; Arapçası dağınık görünür) */
html[dir="rtl"] .key-spec-item .val {
  font-family: 'Noto Kufi Arabic', var(--font-sans);
}
/* Model tablosu: Arapça birimler uzun ("دورة في الدقيقة"); değer tek satırda kalır, tablo kendi içinde kayar */
html[dir="rtl"] .specs-table td {
  white-space: nowrap;
}
/* Ana sayfa kaydırıcısı: "önceki" sağda, "sonraki" solda (noktalar da sağdan sola ilerler); oklar yön değiştirir */
html[dir="rtl"] .hero-slider-prev {
  left: auto;
  right: 12px;
}
html[dir="rtl"] .hero-slider-next {
  right: auto;
  left: 12px;
}
html[dir="rtl"] .hero-slider-btn svg {
  transform: scaleX(-1);
}
/* Açılır menü: başlığın sağ kenarından sola açılır; vurgu çizgisi sağda */
html[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}
html[dir="rtl"] .dropdown-menu--simple .dropdown-item {
  border-left: 0;
  border-right: 2px solid transparent;
}
html[dir="rtl"] .dropdown-menu--simple .dropdown-item:hover,
html[dir="rtl"] .dropdown-menu--simple .dropdown-item.active {
  border-right-color: var(--accent-blue);
}
@media (max-width: 768px) {
  html[dir="rtl"] .dropdown-menu {
    padding: 0.5rem 1rem 0.5rem 0;
  }
}
/* ==========================================================================
   Sayfa düzeni: satır > sütun > modül (App\Blocks · resources/views/blocks)
   ========================================================================== */
/* Satır: zemin, üst/alt boşluk, çizgi */
.zr--bg-white { background: #ffffff; }
.zr--bg-gray { background: #f8fafc; }
.zr--bg-alt { background: var(--bg-card-alt); }
.zr--bg-dark { background: var(--bg-dark-section); }
.zr--bg-soft { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.zr--bg-glow { background: radial-gradient(circle at 50% 50%, #1e3a66 0%, #0c1c33 100%); color: #ffffff; }

/* Sayfa başı: lacivert geçiş + ince ızgara deseni (eski .page-hero) */
.zr--bg-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, #1e3a66 0%, #0c1c33 70%, #06101e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.zr--bg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.zr--bg-hero > .container {
  position: relative;
  z-index: 2;
}

.zr--bg-deep { background: radial-gradient(circle at 50% 50%, #0e1e35 0%, #06101e 100%); color: #ffffff; }

/* Vitrin: ana sayfa girişi (eski .hero-section) */
.zr--bg-showcase {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
              linear-gradient(135deg, #07192f 0%, #0f294a 60%, #173863 100%);
  color: #ffffff;
}

.zr--bg-showcase > .container { position: relative; z-index: 2; }

.zr--bg-navy { background: linear-gradient(135deg, #0f294a 0%, #07192f 100%); color: #ffffff; }

/* İletişim kartları "üstteki bölümün üzerine taşsın": sayfa başlığının altına biner (eski .contact-channels) */
.zr:has(.zb-overlap) {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  background: transparent;
}

.zr--sp-none { padding: 0; }
.zr--sp-xl { padding: 5.5rem 0; }
.zr--sp-head { padding: 4.5rem 0 3.5rem; }
.zr--sp-head:has(.zb-page-head--compact) { padding-bottom: 3rem; }
.zr--sp-sm { padding: 3rem 0 3.5rem; }
.zr--sp-md { padding: 4rem 0; }
.zr--sp-lg { padding: 5rem 0; }

.zr--bt { border-top: 1px solid var(--border-light); }
.zr--bb { border-bottom: 1px solid var(--border-light); }

/* 12'lik ızgara: sütun genişliği --span */
.zr-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.zr-grid--gap-narrow { gap: 1.5rem; }
.zr-grid--gap-wide { gap: 3.5rem; }
.zr-grid--start { align-items: start; }
.zr-grid--center { align-items: center; }

.zr-col {
  grid-column: span var(--span, 12);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Modüller alt alta; sütundaki tek modül sütunu doldurur (yan yana kartlar eşit yükseklikte) */
.zm { min-width: 0; }
.zm:not(:last-child) { margin-bottom: 2.5rem; }
.zm:only-child { flex: 1; }
.zm > .details-card { height: 100%; }

/* Üst bölüm modülleri kendi aralıklarıyla (başlık > giriş > özet > butonlar) */
.zm--heading:not(:last-child),
.zm--lead:not(:last-child),
.zm--key_specs:not(:last-child) { margin-bottom: 0; }
.zm:last-child > .product-lead-text:last-child,
.zm:last-child > .product-key-specs-bar:last-child { margin-bottom: 0; }

@media (min-width: 1025px) {
  .features-clean-grid[style*="--zb-cols"] {
    grid-template-columns: repeat(var(--zb-cols), 1fr);
  }
}

@media (max-width: 768px) {
  .zr-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .zr-grid--center > .zr-col { justify-content: center; }
  /* Alt alta: sütun tam genişlik (yoksa slider gibi kendi genişliği olmayan modüller görünmez) */
  .zr-grid > .zr-col { align-self: stretch; }
  .zr-grid--reverse { flex-direction: column-reverse; }

  /* Sayfa yolu olan üst satır telefonda daha sıkı */
  .zr--crumb.zr--sp-sm { padding: 1.25rem 0 2.25rem; }
}

@media (max-width: 575px) {
  .zr--sp-md { padding: 3rem 0; }
}

.zb-narrow {
  max-width: 860px;
}
.zb-narrow--center { margin-inline: auto; }

.zb-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--primary);
}

.zb-center {
  text-align: center;
}

.zb-prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--secondary-slate);
}

.zb-prose p {
  margin: 0 0 1rem;
}

.zb-prose ul,
.zb-prose ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}

.zb-prose li {
  margin-bottom: 0.35rem;
}

.zb-prose a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.zb-prose h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.zb-prose blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 1.25rem;
  border-inline-start: 4px solid var(--accent-blue);
  background: var(--bg-card-alt);
}

/* Görsel + metin */
.zb-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.zb-media--right .zb-media-figure {
  order: 2;
}

.zb-media-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  background: var(--bg-card-alt);
}

.zb-media-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.zb-media-body .btn {
  margin-top: 0.5rem;
}

/* Sayılar */
.zb-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.zb-stat {
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
}

.zb-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--accent-blue);
}

.zb-stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SSS */
.zb-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.zb-faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.zb-faq-item summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}

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

.zb-faq-item summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-blue);
}

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

.zb-faq-answer {
  padding: 0 1.25rem 1.2rem;
  line-height: 1.75;
  color: var(--secondary-slate);
}

/* Video */
.zb-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  background: #0f172a center / cover no-repeat;
}

.zb-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.zb-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.45);
  transition: transform 0.2s;
}

.zb-video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.zb-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Belgeler */
.zb-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.zb-download {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--primary);
  transition: var(--transition);
}

.zb-download:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.zb-download-icon {
  flex: 0 0 auto;
  min-width: 46px;
  padding: 0.55rem 0.4rem;
  border-radius: 8px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.zb-download-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.zb-download-body small {
  color: var(--text-muted);
}

/* Galeri */
.zb-gallery {
  display: grid;
  grid-template-columns: repeat(var(--zb-cols, 3), 1fr);
  gap: 1rem;
}

.zb-gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--bg-card-alt);
}

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

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

/* Sayfa başlığı modülü: kompakt görünüm (eski .page-hero--compact) */
.zb-page-head--compact .badge-tag { margin-bottom: 1rem; }
.zb-page-head--compact .page-hero-desc { margin-bottom: 0; }

/* ---- Bölüm tasarımı (satır > Bölüm tasarımı): sitenin mevcut bölüm CSS'i aynen; burada yalnızca satırın
   kendi ızgarasına uyarlamalar (eski şablonlardaki satır içi stiller ve ızgara kırılımları) ---- */
.zr--design > .container { position: relative; z-index: 2; }

/* Eski ızgaralar gibi tablette alt alta: giriş (hero-grid), teklif (rfq-grid), iletişim (contact-main-grid) */
@media (max-width: 1024px) {
  .hero-section .zr-grid,
  .rfq-section .zr-grid,
  .contact-main .zr-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .rfq-section .zr-grid,
  .contact-main .zr-grid { gap: 2.5rem; }

  /* Alt alta dizilince sütun tam genişlik: "ortala" hizası (align-items) sütunu içeriği kadar daraltıp
     kendi genişliği olmayan slider'ı görünmez yapıyordu */
  .hero-section .zr-grid > .zr-col,
  .rfq-section .zr-grid > .zr-col,
  .contact-main .zr-grid > .zr-col { align-self: stretch; }
}

@media (max-width: 768px) {
  .hero-section .zr-grid { gap: 2.5rem; }
}

/* Misyon & vizyon: başlık renkleri (eski satır içi stiller) */
.values-section .section-subtitle { color: var(--accent-cyan); }
.values-section .section-title { color: #ffffff; }
.values-section .section-desc { color: #cbd5e1; }

/* Neden biz: gri zemin, üst çizgi; kartlar başlıktan 2.5rem aşağıda (eski satır içi stiller) */
.zr-design-why { background: var(--bg-card-alt); border-top: 1px solid var(--border-light); }
.zr-design-why .section-header + .features-bullet-grid { margin-top: 2.5rem; }
.zr-design-why .features-bullet-grid { margin-bottom: 2.5rem; }

/* Çağrı banner'ı (Hakkımızda sonu; eski .cta-banner satır içi stilleri) */
.zr-design-cta-banner {
  background: radial-gradient(circle at 50% 50%, #1e3a66 0%, #0c1c33 100%);
  padding: 5rem 0;
  color: #ffffff;
  text-align: center;
}

.zr-design-cta-banner .zb-cta-banner h2 { color: #ffffff; }
.zr-design-cta-banner .zb-cta-banner p { color: #cbd5e1; }
.zr-design-cta-banner .zb-cta-banner .badge-tag { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 640px) {
  .zr-design-cta-banner { padding: 3.5rem 1rem; }
}

/* Vitrin (ana sayfa girişi): başlık, slogan, metin ve butonlar arası eski .hero-content gibi 1.5rem */
.zm--heading:has(.hero-title):not(:last-child),
.zm--lead:has(.hero-desc):not(:last-child) { margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .zm--heading:has(.hero-title):not(:last-child),
  .zm--lead:has(.hero-desc):not(:last-child) { margin-bottom: 1.1rem; }
}

/* Ürün kartları, ikonlu kartlar, sertifikalar: modülde seçilen sütun sayısı (masaüstü) */
@media (min-width: 1025px) {
  .product-categories-grid[style*="--cols"],
  .solutions-grid[style*="--cols"],
  .values-grid[style*="--cols"],
  .features-bullet-grid[style*="--cols"],
  .certs-grid[style*="--cols"] {
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  }
}

/* Modül içinde bölüm başlığından sonra ızgaraların kendi üst boşluğu tekrar etmesin */
/* (Bölüm tasarımı seçili satırlarda eski aralıklar korunur) */
.zr:not(.zr--design) .zm .section-header + .values-grid,
.zr:not(.zr--design) .zm .section-header + .certs-grid,
.zr:not(.zr--design) .zm .section-header + .features-bullet-grid { margin-top: 0; }
.zr:not(.zr--design) .zm .features-bullet-grid { margin-bottom: 0; }

a.cert-card { color: inherit; text-decoration: none; }

@media (min-width: 1025px) {
  .facilities-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
}

.zr:not(.zr--design) .zm .section-header + .facilities-grid,
.zr:not(.zr--design) .zm .section-header + .timeline-list { margin-top: 0; }

.facility-location { margin-top: auto; }
.facility-location span { font-size: 0.85rem; color: #64748b; font-weight: 600; }

.zr--bg-deep .section-subtitle { color: var(--accent-cyan); }

@media (max-width: 640px) {
  .zr--sp-xl { padding: 3.5rem 0; }
}

/* İkonlu şerit (Sayılar > firma bilgileri) satırın içinde */
.zm > .company-stats-grid { width: 100%; }

/* Yazılar modülü: bir satırdaki yazı sayısı */
@media (min-width: 1025px) {
  /* Sütun genişliği sabit (satırın 1/n'i); yazı azsa kartlar ortalanır */
  .posts-grid[style*="--cols"] {
    grid-template-columns: repeat(auto-fit, calc((100% - (var(--cols) - 1) * 1.75rem) / var(--cols)));
  }
}

/* Çağrı modülü: banner görünümü (Hakkımızda sonu) */
.zb-cta-banner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.zb-cta-banner .badge-tag {
  display: inline-flex;
  margin: 0 auto 1.5rem;
}

.zb-cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
}

.zb-cta-banner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.zb-cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Lacivert zeminlerde (sayfa başı, ışıltılı, lacivert) yazılar açık renk */
.zr--bg-deep .section-title,
.zr--bg-showcase .section-title,
.zr--bg-glow .zb-cta-banner h2,
.zr--bg-hero .zb-cta-banner h2,
.zr--bg-dark .zb-cta-banner h2,
.zr--bg-glow .section-title,
.zr--bg-hero .section-title,
.zr--bg-dark .section-title {
  color: #ffffff;
}

.zr--bg-deep .section-desc,
.zr--bg-glow .zb-cta-banner p,
.zr--bg-hero .zb-cta-banner p,
.zr--bg-dark .zb-cta-banner p,
.zr--bg-glow .section-desc,
.zr--bg-hero .section-desc,
.zr--bg-dark .section-desc {
  color: #cbd5e1;
}

.zr--bg-glow .zb-cta-banner .badge-tag,
.zr--bg-hero .zb-cta-banner .badge-tag,
.zr--bg-dark .zb-cta-banner .badge-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 640px) {
  .zr--sp-head,
  .zr--sp-head:has(.zb-page-head--compact) { padding: 3rem 0 2.5rem; }
  .zb-cta-banner .btn { width: 100%; justify-content: center; }
}

/* Hazır bölümler önizlemesi (/moduller-onizleme): bölüm adları */
.zl-preview-label {
  background: #fef3c7;
  border-top: 2px dashed #f59e0b;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #92400e;
}

.zl-preview-label span { color: #b45309; opacity: 0.8; margin-left: 0.5rem; }

/* Lacivert zeminde yazılar açık renk (kartların kendi zemini olanlar hariç) */
.zr--bg-dark .zb-heading,
.zr--bg-dark .product-main-title,
.zr--bg-dark .zm > h2,
.zr--bg-dark .table-section-heading h2,
.zr--bg-dark .posts-related-head h2 {
  color: #ffffff;
}

.zr--bg-dark .zb-prose,
.zr--bg-dark .product-lead-text,
.zr--bg-dark .zb-media-body > p,
.zr--bg-dark .product-breadcrumb,
.zr--bg-dark .product-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .zb-media {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .zb-media--right .zb-media-figure {
    order: 0;
  }

  .zb-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .zb-gallery {
    grid-template-columns: 1fr;
  }
}
/* Yasal metin sayfaları (KVKK, çerez politikası): eski şablondaki satır içi boşluk */
.zr-design-legal { padding: 3rem 0 5rem; }
/* Eski şablonda metin kutusu .container ile aynı öğeydi: ortalı, kenar boşluklu 820px */
.zr-design-legal .legal-content { margin: 0 auto; }
@media (min-width: 868px) { .zr-design-legal .legal-content { padding: 0 1.5rem; } }

/* ==========================================================================
   TASARIM: header, top bar, footer, yapışkan elementler (Tasarım ekranları; App\Support\Design)
   ========================================================================== */

/* Cihaz görünürlüğü: elementte "yalnızca masaüstü / yalnızca mobil" */
@media (max-width: 768px) {
  .zd-desktop { display: none !important; }
}
@media (min-width: 769px) {
  .zd-mobile { display: none !important; }
}

/* Top bar: sosyal ikonlar ve dil seçici */
.topbar-socials { display: inline-flex; align-items: center; gap: 0.75rem; }
.topbar-socials a { display: inline-flex; color: var(--text-light); }
.topbar-socials a:hover { color: #fff; }
.topbar-socials svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-lang { display: inline-flex; }

/* Top bar mobilde: yalnızca "mobilde de" seçilen elementler, tek satır, ortalı */
@media (max-width: 768px) {
  .topbar.topbar--mobile { display: block; padding: 0.45rem 0; font-size: 0.75rem; }
  .topbar--mobile .topbar-container { justify-content: center; gap: 0.25rem 1rem; flex-wrap: wrap; }
  .topbar--mobile .topbar-left, .topbar--mobile .topbar-right { gap: 0.25rem 1rem; flex-wrap: wrap; justify-content: center; }
  .topbar--mobile .topbar-left:empty, .topbar--mobile .topbar-right:empty { display: none; }
}

/* Header'ın sağı: telefon ve bağlantı butonu */
.nav-phone { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--primary); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.nav-phone svg { color: var(--accent-cyan, #0ea5e9); flex-shrink: 0; }
.nav-phone small { display: block; font-size: 0.7rem; font-weight: 500; color: #64748b; line-height: 1.1; }
.nav-link-btn { display: inline-flex; align-items: center; gap: 0.45rem; }
@media (max-width: 768px) {
  /* Teklif butonu mobilde de seçildiyse: hamburger'in yanında küçük */
  .nav-actions .btn-primary.nav-cta--mobile { display: inline-flex; padding: 0.5rem 0.85rem; font-size: 0.8rem; }
  .nav-phone small { display: none; }
  .nav-phone span { display: none; }
}

/* Mobil menünün altı (menü açılınca linklerin altında) */
.nav-mobile-extra { display: none; }
@media (max-width: 768px) {
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 0.85rem; width: 100%; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0; }
  .nav-mobile-item { display: flex; align-items: center; gap: 0.75rem; color: var(--primary); font-weight: 600; font-size: 0.95rem; }
  .nav-mobile-item svg { color: var(--accent-cyan, #0ea5e9); flex-shrink: 0; }
  .nav-mobile-item small { display: block; font-size: 0.72rem; font-weight: 500; color: #64748b; }
  .nav-mobile-cta { width: 100%; justify-content: center; }
  .nav-mobile-socials { display: flex; gap: 1rem; }
  .nav-mobile-socials a { display: inline-flex; color: var(--primary); }
  .nav-mobile-socials svg { width: 20px; height: 20px; fill: currentColor; }
  .nav-mobile-text { font-size: 0.85rem; color: #64748b; }
}

/* Footer: sütun genişlikleri panelden (geniş ekranda; tablet 2, telefon 1 sütun kalır) */
@media (min-width: 1025px) {
  .footer-top { grid-template-columns: var(--footer-cols, 1.5fr 1fr 1fr 1.25fr); }
}
/* Footer: mobilde açılır-kapanır sütun */
@media (max-width: 768px) {
  .footer-col--accordion .footer-heading { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin-bottom: 0; padding: 0.35rem 0; }
  .footer-col--accordion .footer-heading::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 4px; }
  .footer-col--accordion.open .footer-heading::after { transform: rotate(-135deg); }
  .footer-col--accordion .footer-col-body { display: none; padding-top: 1rem; }
  .footer-col--accordion.open .footer-col-body { display: block; }
}

/* Yapışkan elementler: balonlar */
.floating-actions--left { right: auto; left: 25px; }
.float-call { background-color: var(--primary); }
.float-email, .float-link { background-color: #0369a1; }
.float-quote { background-color: var(--accent-cyan, #0ea5e9); }

/* Yapışkan elementler: etiketli butonlar (beyaz kapsül, renkli ikon dairesi); hepsi en uzun yazınınki kadar geniş */
.floating-actions--pill { display: grid; grid-template-columns: max-content; justify-items: stretch; gap: 8px; }
.floating-actions--pill .float-scrolltop { justify-self: end; }
.floating-actions--pill.floating-actions--left .float-scrolltop { justify-self: start; }
.float-pill {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 4px 1.1rem 4px 4px; border: 0; border-radius: 999px;
  background: #ffffff; color: #0f172a; font: inherit; font-size: 0.86rem; font-weight: 700; line-height: 1;
  box-shadow: 0 6px 18px rgba(15, 41, 74, 0.13), 0 1px 3px rgba(15, 41, 74, 0.08);
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 41, 74, 0.17), 0 1px 3px rgba(15, 41, 74, 0.08); }
.float-pill-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #ffffff;
}
.float-pill--whatsapp .float-pill-icon { background: #25d366; }
.float-pill--call .float-pill-icon { background: #1e4f7a; }
.float-pill--email .float-pill-icon { background: #0369a1; }
.float-pill--quote .float-pill-icon { background: var(--accent-cyan); }
.floating-actions--pill .float-scrolltop { width: 40px; height: 40px; }

/* Yapışkan elementler: köşede ince bar (WhatsApp | Ara | Teklif Al), buzlu cam, ince ayraçlar */
.floating-actions--bar { align-items: flex-end; }
.floating-actions--bar.floating-actions--left { align-items: flex-start; }
.floating-actions--bar .float-scrolltop { order: -1; width: 40px; height: 40px; }
.float-bar {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(15, 41, 74, 0.16), 0 1px 3px rgba(15, 41, 74, 0.08);
}
.float-bar-item {
  position: relative; display: inline-flex; align-items: center; gap: 0.45rem;
  height: 38px; padding: 0 0.95rem; border: 0; border-radius: 999px;
  background: transparent; color: #0f172a; font: inherit; font-size: 0.86rem; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
.float-bar-item:hover { background: rgba(15, 41, 74, 0.06); color: #0f172a; }
.float-bar-item + .float-bar-item::before {
  content: ''; position: absolute; left: -2px; top: 50%; width: 1px; height: 18px;
  transform: translateY(-50%); background: rgba(15, 41, 74, 0.14);
}
.float-bar-item:hover::before, .float-bar-item:hover + .float-bar-item::before, .float-bar-item--quote::before { opacity: 0; }
.float-bar-item--whatsapp svg { color: #25d366; }
.float-bar-item--call svg, .float-bar-item--link svg { color: var(--primary); }
.float-bar-item--email svg { color: #0369a1; }
.float-bar-item--quote {
  margin-left: 4px; padding: 0 1rem 0 1.1rem; font-weight: 700; color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0369a1 100%);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.float-bar-item--quote:hover { color: #ffffff; background: linear-gradient(135deg, #0369a1 0%, #075985 100%); }

/* Balonlar mobilde de seçildiyse telefonda yalnızca ikon (barda Teklif Al yazısı kalır) */
@media (max-width: 768px) {
  .float-pill { padding: 5px; }
  .float-pill-label { display: none; }
  .float-bar-item:not(.float-bar-item--quote) { padding: 0 0.7rem; }
  .float-bar-item:not(.float-bar-item--quote) span { display: none; }
}

/* Seçim asistanı notu panelde düzenlenince zengin metin (<p>) içinde gelir */
div.selector-page-note p { margin: 0; }

/* Mobil alt aksiyon çubuğu */
.mobile-action-bar { display: none; }
@media (max-width: 768px) {
  .mobile-action-bar {
    position: fixed; right: 0; bottom: 0; left: 0; z-index: 1001;
    display: grid; grid-template-columns: repeat(var(--mab-count, 3), 1fr);
    background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -6px 20px rgba(15, 41, 74, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
    min-height: 58px; padding: 0.4rem 0.25rem; border: 0; background: none; font: inherit;
    font-size: 0.72rem; font-weight: 700; color: var(--primary); cursor: pointer; text-align: center;
  }
  .mab-item + .mab-item { border-left: 1px solid #eef2f7; }
  .mab-item--whatsapp { color: #16a34a; }
  .mab-item--quote { background: var(--primary); color: #ffffff; }
  .mab-item--quote + .mab-item, .mab-item + .mab-item--quote { border-left-color: transparent; }
  body.has-mobile-bar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar .nav-menu { padding-bottom: calc(2rem + 58px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar .cookie-consent--box, body.has-mobile-bar .cookie-consent--bar { bottom: calc(58px + 0.75rem + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Sayfa bulunamadı (404) — errors/404.blade.php
   ========================================================================== */
.notfound {
  padding: 9rem 0 5rem;
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08), transparent 60%), var(--bg-card-alt, #f8fafc);
}

.notfound-inner {
  max-width: 820px;
  text-align: center;
}

.notfound-code {
  margin: 0;
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound-title {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
}

.notfound-text {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.notfound-subtitle {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.notfound-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.notfound-products a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md, 12px);
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.notfound-products a:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 41, 74, 0.08);
}

.notfound-products img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.notfound-help {
  margin: 2.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .notfound {
    padding: 7rem 0 3.5rem;
  }

  .notfound-actions .btn {
    flex: 1 1 100%;
  }
}
/* ==========================================================================
   PageSpeed: erişilebilirlik ve akıcı animasyon (17.10.2026). Görünüm aynı; ölçüler önce/sonra karşılaştırıldı.
   ========================================================================== */
/* Yazı kontrastı en az 4.5:1 (açık zeminlerde). Ton %12 / %4 koyulaştırıldı; koyu zeminlerdeki camgöbeği aynı */
.section-subtitle {
  color: #0274af;
}

.spec-mini-item span {
  color: #606f85;
}

/* Slider noktaları: görünen nokta aynı boyutta, dokunma alanı 24 px (parmakla kolay basılır) */
.slider-dot {
  --dot-color: rgba(255, 255, 255, 0.25);
  --dot-width: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max(24px, var(--dot-width));
  height: 24px;
  padding: 0;
  border-radius: 0;
  background: none;
}

.slider-dot::before {
  content: '';
  width: var(--dot-width);
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--dot-color);
  transition: var(--transition);
}

.slider-dot.active {
  --dot-color: var(--accent-cyan);
  --dot-width: 24px;
  width: max(24px, var(--dot-width));
  background: none;
}

.hero-slider-dots {
  gap: 0;
  bottom: 6px; /* 24 px yükseklik: noktalar eski yerinde kalsın */
}

.hero-slider-dots .slider-dot {
  --dot-color: #cbd5e1;
  background: none;
}

.hero-slider-dots .slider-dot.active {
  --dot-color: var(--accent-blue);
  --dot-width: 22px;
  border-radius: 0;
  background: none;
}

.hero-slider-dots .slider-dot.active::before {
  border-radius: 6px;
}

/* Yanıp sönen nokta: halka gölge yerine dönüşüm + saydamlık (ekran kartında çizilir, kasma yapmaz) */
.badge-pulse {
  position: relative;
  box-shadow: none;
  animation: pulseDotScale 2s infinite;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.7);
  animation: pulseDotRing 2s infinite;
}

@keyframes pulseDotScale {
  0%, 100% { transform: scale(0.95); }
  70% { transform: scale(1); }
}

@keyframes pulseDotRing {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-pulse,
  .badge-pulse::after {
    animation: none;
  }
}
/* Uygulama alanları kartındaki seri etiketi: alt başlıkla aynı ton (kontrast ≥ 4.5) */
.solution-badge {
  color: #0274af;
}

/* Slider noktası butonu sabit 24 px; genişleme animasyonu yalnızca görünen noktada (ölçüm anında küçük kalmasın) */
.slider-dot,
.slider-dot.active,
.hero-slider-dots .slider-dot.active {
  width: 24px;
  min-width: 24px;
  transition: none;
}
/* Kaydırma akıcılığı: ekranda sabit duran öğelerde arka plan bulanıklığı yok. Bulanıklık her kaydırma karesinde yeniden
   hesaplanıyor; ölçeklenmiş ekranlı Mac'lerde (Chrome/Safari) kaydırma takılıyordu. Zemin rengi korunur. */
.site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #ffffff; /* %95 beyaz bulanıklıksız kalınca alttan geçen yazı seçiliyordu */
}

.float-bar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.96);
}
/* ==========================================================================
   Sağdan sola diller (Arapça), telefon: kapalı menü sağ dışarıda beklesin.
   Sol dışarıda (left: -100%) beklerken RTL'de sayfanın kaydırılabilir alanına giriyor, tarayıcı sayfayı 375 px yerine
   ~1500 px genişliğinde kurup boş bölgeden açıyordu (canlı test 18.10.2026).
   ========================================================================== */
@media (max-width: 768px) {
  html[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    transition: right 0.3s ease;
  }

  html[dir="rtl"] .nav-menu.open {
    right: 0;
  }
}