/* FONA İşitme Cihazları - Layout */

/* ========== Floating Pill Header (Maxtone benzeri) ========== */
.site-header-v2.header-floating {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding-top: var(--header-float-top);
  background: transparent;
  border-bottom: none;
}

.header-floating .header-pill {
  box-sizing: border-box;
  width: var(--header-pill-width);
  max-width: 1280px;
  height: var(--header-pill-height);
  min-height: var(--header-pill-height);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 999px;
  background: var(--header-pill-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--header-pill-shadow);
  transition: height var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
  overflow: visible;
}

.header-floating.is-scrolled .header-pill {
  height: var(--header-pill-height-scrolled);
  min-height: var(--header-pill-height-scrolled);
  box-shadow: var(--header-pill-shadow-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-pill-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 8px 16px;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-pill-left {
  flex-shrink: 0;
}

.header-pill-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-pill-center .primary-nav-list-v2 {
  justify-content: center;
  gap: 18px;
}

.header-pill-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

/* Pill header: logo koyu metin (açık zemin) – premium logo boyutu */
.header-floating .brand-v2--pill {
  color: var(--color-text-main);
  font-size: 1.05rem;
}

.header-floating .brand-v2--pill:hover {
  color: var(--color-accent);
}

.header-floating .brand-v2 .brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-soft) 100%);
  box-shadow: 0 0 0 1px rgba(15, 46, 61, 0.12);
}

.brand-v2--logo-only {
  display: inline-flex;
  align-items: center;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 182px;
  height: 68px;
  overflow: hidden;
}

.brand-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-logo-wrap {
    width: 132px;
    height: 48px;
  }
}

/* CTA pill butonları */
.header-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.99rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.header-cta-pill:hover {
  transform: scale(1.02);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.header-cta-pill--primary {
  background: var(--color-accent);
  color: var(--color-text-invert);
}

.header-cta-pill--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-text-invert);
}

.header-cta-pill--whatsapp {
  background: #25D366;
  color: var(--color-text-invert);
}

.header-cta-pill--whatsapp:hover {
  background: #1da851;
  color: var(--color-text-invert);
}

.header-cta-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cta-pill-icon svg {
  width: 18px;
  height: 18px;
}

/* Pill içi nav linkleri – premium tipografi */
.header-floating .primary-nav-link-v2 {
  color: var(--color-text-main);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.04rem;
  line-height: 1.2;
  padding: 12px 20px;
  white-space: nowrap;
}

.header-floating .primary-nav-link-v2--trigger,
.header-floating .primary-nav-link-v2--dropdown-trigger {
  font-size: 1.04rem;
  line-height: 1.2;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header-floating .primary-nav-link-v2:hover,
.header-floating .primary-nav-link-v2:focus-visible {
  color: var(--color-accent, var(--color-text-accent));
}

.header-floating .primary-nav-link-v2[aria-current="page"],
.header-floating .primary-nav-link-v2.primary-nav-link-v2--active {
  color: var(--color-primary);
}

.header-floating .primary-nav-link-v2::after {
  background: var(--color-accent);
  left: 20px;
  right: 20px;
  bottom: 8px;
}

.header-floating .primary-nav-link-v2--trigger::after,
.header-floating .primary-nav-link-v2--dropdown-trigger::after {
  left: 10px;
  right: 10px;
  bottom: 8px;
}

/* Dropdown pill'den aşağı (margin-top) */
.header-floating .nav-dropdown {
  margin-top: var(--space-8);
}

/* Mobil: pill daha dar, CTAs küçülsün veya sadece ikon */
@media (max-width: 991px) {
  .header-pill-inner {
    padding: 6px var(--space-16);
    gap: 16px;
  }

  .header-cta-pill-text {
    display: none;
  }

  .header-cta-pill {
    padding: 12px 16px;
    min-height: 46px;
  }

  .header-cta-pill-icon {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .header-floating .header-pill {
    width: 96%;
  }

  .header-pill-inner {
    padding: 0 var(--space-12);
  }
}

/* ========== 2 Katmanlı Header (Üst bar + Navbar) – legacy, pill yoksa ========== */
.site-header-v2:not(.header-floating) {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-border-subtle);
}

.header-top {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft));
  color: var(--color-text-invert);
  padding: var(--space-12) var(--space-16);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.brand-v2 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  color: var(--color-text-invert);
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-md);
}

.brand-v2:hover {
  color: var(--color-accent);
}

.brand-v2 .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, var(--color-accent) 0%, var(--color-primary-soft) 45%, var(--color-primary) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.brand-name {
  letter-spacing: 0.02em;
}

/* Slogan – script/el yazısı, logo ile CTA tam ortada, tek satır */
.header-tagline {
  display: none;
  margin: 0;
  flex: 1;
  font-family: var(--font-family-tagline);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.3px;
  color: var(--color-text-invert);
  opacity: 0.95;
  font-size: calc(1.35rem + 2px);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-tagline:hover {
  opacity: 1;
}

.header-contact {
  display: flex;
  align-items: center;
}

/* Üst bar: Telefon – sade metin (menü tarafında) */
.header-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--color-text-invert);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.header-phone-block:hover {
  color: var(--color-text-accent);
}

/* Telefon CTA – gerçek buton hissi: pill form, ikon + HEMEN ARA + numara */
.header-phone-cta {
  flex-direction: row;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-24);
  background: var(--header-cta-bg);
  border-radius: 999px;
  color: var(--color-text-invert);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.header-phone-cta:hover {
  background: var(--header-cta-bg-hover);
  color: var(--color-text-invert);
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.header-phone-cta .header-phone-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.header-phone-cta .header-phone-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.95;
}

.header-phone-cta .header-phone-number {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.header-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-phone-icon svg {
  width: 22px;
  height: 22px;
}

.header-phone-number {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.header-phone-label {
  font-size: var(--font-size-xs);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Alt header - Navbar */
.header-nav {
  background: rgba(247, 249, 251, 0.98);
  border-bottom: 1px solid rgba(209, 217, 224, 0.6);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.primary-nav-v2 {
  display: none;
}

.primary-nav-list-v2 {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tüm menü linkleri – tek ortak tipografi (font-size, font-weight, line-height, letter-spacing) */
.primary-nav-link-v2 {
  display: inline-block;
  position: relative;
  padding: 14px 18px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.primary-nav-link-v2::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  background: var(--color-soft-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav-link-v2:hover,
.primary-nav-link-v2:focus-visible {
  color: var(--color-text-accent);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.primary-nav-link-v2:hover::after,
.primary-nav-link-v2:focus-visible::after {
  transform: scaleX(1);
}

/* Aktif sayfa – sadece renk + alt çizgi (font-weight değişmez) */
.primary-nav-link-v2[aria-current="page"],
.primary-nav-link-v2.primary-nav-link-v2--active {
  color: var(--color-primary);
}

.primary-nav-link-v2[aria-current="page"]::after,
.primary-nav-link-v2.primary-nav-link-v2--active::after {
  transform: scaleX(1);
}

.nav-item-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item-has-dropdown > a.primary-nav-link-v2 {
  padding-right: 4px;
}

/* Dropdown tetikleyiciler – metin tipografisi linklerle birebir aynı (ok etkilenmez) */
.primary-nav-link-v2--trigger,
.primary-nav-link-v2--dropdown-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-family: inherit;
  color: inherit;
  padding: 14px 10px;
}

.primary-nav-link-v2--dropdown-trigger {
  padding-left: 0;
}

.primary-nav-link-v2--trigger::after,
.primary-nav-link-v2--dropdown-trigger::after {
  left: 10px;
  right: 10px;
}

.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
  vertical-align: middle;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-floating .nav-item-has-dropdown:hover .nav-caret {
  opacity: 0.9;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin-top: 0;
  padding: var(--space-8);
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle);
  display: none;
  z-index: 60;
}

/* Desktop: hover ile açılma + gap yok (mouse dropdown'a inince kapanmasın) */
@media (min-width: 992px) {
  .header-floating .nav-dropdown {
    margin-top: 0;
  }

  /* Hizmetler: parent li hover'da açık kalsın; dropdown panel de li içinde olduğu için hover sürer */
  .nav-item-has-dropdown:hover .nav-dropdown[data-services-menu] {
    display: block;
  }

  /* Ürünler: hover veya click (data-products-menu-visible) ile açık */
  .nav-item-has-dropdown:hover .nav-dropdown[data-products-menu],
  .nav-item-has-dropdown[data-products-menu-visible] .nav-dropdown[data-products-menu] {
    display: block;
  }
}

.nav-dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.nav-dropdown-list a {
  display: block;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-list a:hover {
  background: rgba(14, 42, 58, 0.06);
  color: var(--color-primary);
}

.nav-toggle-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle-v2-icon,
.nav-toggle-v2-icon::before,
.nav-toggle-v2-icon::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-v2-icon {
  position: relative;
}

.nav-toggle-v2-icon::before,
.nav-toggle-v2-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-v2-icon::before {
  top: -5px;
}

.nav-toggle-v2-icon::after {
  top: 5px;
}

.nav-toggle-v2[aria-expanded="true"] .nav-toggle-v2-icon {
  background: transparent;
}

.nav-toggle-v2[aria-expanded="true"] .nav-toggle-v2-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle-v2[aria-expanded="true"] .nav-toggle-v2-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobil menü v2 */
.mobile-nav-v2 {
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-border-subtle);
  max-height: 70vh;
  overflow-y: auto;
}

.mobile-nav-v2-inner {
  padding: var(--space-16);
}

.mobile-nav-v2-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-v2-link {
  display: block;
  padding: var(--space-12) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(209, 217, 224, 0.5);
}

.mobile-nav-v2-link:hover {
  color: var(--color-primary);
}

.mobile-nav-v2-group {
  border-bottom: 1px solid rgba(209, 217, 224, 0.5);
}

.mobile-nav-v2-accordion-trigger {
  width: 100%;
  text-align: left;
  padding: var(--space-12) 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-v2-accordion-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}

.mobile-nav-v2-accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.mobile-nav-v2-sublist {
  margin: 0;
  padding: 0 0 var(--space-8) var(--space-16);
  list-style: none;
  display: grid;
  gap: 2px;
}

.mobile-nav-v2-sublist a {
  display: block;
  padding: var(--space-8) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
}

.mobile-nav-v2-sublist a:hover {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .header-tagline {
    display: block;
  }
}

/* Tablet: slogan tek satır, taşma yok */
@media (min-width: 768px) and (max-width: 991px) {
  .header-tagline {
    font-size: calc(1.1rem + 2px);
  }
}

@media (min-width: 992px) {
  .primary-nav-v2 {
    display: block;
  }

  .nav-toggle-v2 {
    display: none;
  }
}

@media (max-width: 991px) {
  .header-top-inner {
    justify-content: space-between;
  }

  .header-tagline {
    display: none;
  }
}

/* ========== Mobil: sabit alt telefon CTA ========== */
.mobile-cta-phone {
  display: none;
}

@media (max-width: 991px) {
  .mobile-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: var(--space-16) var(--space-20);
    padding-bottom: max(var(--space-16), env(safe-area-inset-bottom));
    background: var(--color-primary);
    color: var(--color-text-invert);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-medium);
    min-height: 56px;
    transition: background var(--transition-fast);
  }

  .mobile-cta-phone:hover,
  .mobile-cta-phone:focus {
    background: var(--color-primary-soft);
    color: var(--color-text-invert);
  }

  .mobile-cta-phone-icon {
    display: inline-flex;
  }

  .mobile-cta-phone-icon svg {
    width: 24px;
    height: 24px;
  }

  .mobile-cta-phone-text {
    font-size: var(--font-size-lg);
  }

  .mobile-cta-phone-number {
    font-size: var(--font-size-base);
    letter-spacing: 0.02em;
  }

  .page-shell {
    padding-bottom: 72px;
  }
}

@media (min-width: 992px) {
  .page-shell {
    padding-bottom: 0;
  }
}

/* ========== Eski header (tek katman - geriye dönük) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 251, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 217, 224, 0.7);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  height: var(--header-height-mobile);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, var(--color-accent) 0%, var(--color-primary-soft) 45%, var(--color-primary) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: var(--font-size-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.primary-nav {
  display: none;
}

.primary-nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.primary-nav-item {
  position: relative;
}

.primary-nav-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  padding-block: 4px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
}

.primary-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-soft-blue));
  transition: width 160ms ease-out;
}

.primary-nav-link:hover::after,
.primary-nav-link:focus-visible::after {
  width: 100%;
}

.primary-nav-link--trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-nav-caret {
  width: 8px;
  height: 8px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 1px;
}

.primary-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 260px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--color-bg-section);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  display: none;
}

.primary-nav-dropdown-list {
  display: grid;
  gap: 4px;
}

.primary-nav-dropdown-list a {
  display: block;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.primary-nav-dropdown-list a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-primary);
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav-item--services:hover .primary-nav-dropdown {
    display: block;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.search-trigger {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-section);
  color: var(--color-primary-soft);
  cursor: pointer;
  transition: background 140ms ease-out, box-shadow 140ms ease-out, transform 140ms ease-out;
}

.search-trigger:hover {
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-section);
  cursor: pointer;
}

.nav-toggle-icon {
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--color-primary);
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid rgba(209, 217, 224, 0.7);
  background: rgba(247, 249, 251, 0.98);
}

.mobile-nav-inner {
  padding-block: var(--space-12);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mobile-nav-group {
  border-top: 1px solid rgba(209, 217, 224, 0.7);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
}

.mobile-nav-accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding-block: 6px;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.mobile-nav-accordion-indicator {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-accordion-indicator::before {
  content: "+";
  font-size: 11px;
}

.mobile-nav-accordion-trigger[aria-expanded="true"] .mobile-nav-accordion-indicator::before {
  content: "–";
}

.mobile-nav-sublist {
  padding-left: 4px;
  margin-top: 4px;
  display: grid;
  gap: 4px;
}

.mobile-nav-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  padding-block: 6px;
}

.mobile-nav-link--highlight {
  color: var(--color-primary);
  font-weight: 500;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: var(--color-text-invert);
  padding: var(--hero-padding-y-mobile) var(--space-20);
}

.hero h1,
.hero p {
  color: var(--color-text-invert);
}

.hero-content {
  max-width: var(--max-width-reading);
  margin: 0 auto;
}

.hero-actions {
  margin-top: var(--space-32);
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-section);
}

.site-footer-main {
  padding-block: var(--space-40) var(--space-32);
  display: grid;
  gap: var(--space-32);
}

.footer-brand {
  max-width: 260px;
}

.footer-columns {
  display: grid;
  gap: var(--space-16);
}

.footer-heading {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-8);
  color: var(--color-soft-blue);
}

.footer-meta-list {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  display: grid;
  gap: 4px;
}

.site-footer-bottom {
  border-top: 1px solid rgba(209, 217, 224, 0.7);
  padding-block: var(--space-12);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.site-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

/* ========== Footer koyu tema: 4 blok, premium (tüm sayfalar – footer-v2) ========== */
.site-footer--dark {
  background: linear-gradient(180deg, #0a2f52 0%, #082845 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-family-body);
}

.site-footer--dark .site-footer__inner {
  width: 100%;
}

/* 4 kolon grid – masaüstü; mobilde tek sütun */
.site-footer--dark .site-footer-main--four-cols {
  padding-block: var(--space-48) var(--space-40);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

@media (min-width: 768px) {
  .site-footer--dark .site-footer-main--four-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-32);
  }
}

/* 1. BLOK — MARKA */
.site-footer--dark .footer-col--brand {
  max-width: 320px;
}

.site-footer--dark .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}

.site-footer--dark .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 320px;
  height: 120px;
  overflow: hidden;
}

.site-footer--dark .footer-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.08));
}

.site-footer--dark .footer-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 25%, var(--color-accent) 0%, var(--color-primary-soft) 45%, var(--color-primary) 100%);
  flex-shrink: 0;
}

.site-footer--dark .footer-logo-name {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-invert);
  letter-spacing: 0.02em;
}

.site-footer--dark .footer-desc {
  color: #f3f8fc;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  max-width: 320px;
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer--dark .footer-desc {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (min-width: 768px) {
  .site-footer--dark .footer-col--brand {
    max-width: none;
  }
}

/* Başlıklar – parlak ve belirgin */
.site-footer--dark .footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7fc4ff;
  margin: 0 0 var(--space-16);
}

/* 2. BLOK — HIZLI MENÜ */

  /* kolon genişliği grid'den */


.site-footer--dark .footer-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer--dark .footer-menu-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: #f3f8fc;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.site-footer--dark .footer-menu-link:hover {
  color: #7fc4ff;
  text-decoration: underline;
}

/* 3. BLOK — ÇALIŞMA SAATLERİ + HARİTA */
.site-footer--dark .footer-col--hours-map {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.site-footer--dark .footer-hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: #f3f8fc;
  line-height: 1.7;
}

.site-footer--dark .footer-hours-list li {
  margin: 0;
}

/* Harita önizleme – kompakt, blok içinde */
.site-footer--dark .footer-map-preview {
  width: 100%;
  max-width: 280px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.25s ease;
}

.site-footer--dark .footer-map-preview:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.site-footer--dark .footer-map-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Yol Tarifi Al – mavi CTA, haritanın altında */
.site-footer--dark .footer-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-invert);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.site-footer--dark .footer-route-btn:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* 4. BLOK — İLETİŞİM: Hemen Ara + WhatsApp butonları (hizalı, premium) */
.site-footer--dark .footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.site-footer--dark .footer-cta-row {
  margin: 0;
}

/* Ortak CTA buton stili – aynı hizada, dengeli boyut */
.site-footer--dark .footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-footer--dark .footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.site-footer--dark .footer-cta-btn:active {
  transform: translateY(0);
}

.site-footer--dark .footer-cta-btn-icon,
.site-footer--dark .footer-cta-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.site-footer--dark .footer-cta-btn-icon svg,
.site-footer--dark .footer-cta-btn__icon svg {
  width: 18px;
  height: 18px;
}

.site-footer--dark .footer-cta-btn-text,
.site-footer--dark .footer-cta-btn__label {
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer--dark .footer-cta-btn-sub,
.site-footer--dark .footer-cta-btn__number {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin-left: 4px;
  white-space: nowrap;
}

/* Hemen Ara – güçlü CTA: dolu arka plan, net border, premium hover */
.site-footer--dark .footer-cta-btn--phone {
  background: rgba(14, 42, 58, 0.85);
  color: var(--color-text-invert);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.site-footer--dark .footer-cta-btn--phone:hover {
  background: var(--color-primary-soft);
  color: var(--color-text-invert);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.site-footer--dark .footer-cta-btn--phone {
  gap: 12px;
}

.site-footer--dark .footer-cta-btn--phone .footer-cta-btn-text,
.site-footer--dark .footer-cta-btn--phone .footer-cta-btn__label {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-footer--dark .footer-cta-btn--phone .footer-cta-btn-sub,
.site-footer--dark .footer-cta-btn--phone .footer-cta-btn__number {
  font-size: 0.8125rem;
  opacity: 1;
  font-weight: 500;
  color: #d3e0ea;
}

/* WhatsApp – yeşil marka rengi */
.site-footer--dark .footer-cta-btn--whatsapp {
  background: #25d366;
  color: var(--color-text-invert);
  border: none;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.site-footer--dark .footer-cta-btn--whatsapp:hover {
  background: #1da851;
  color: var(--color-text-invert);
}

/* Adres bloğu */
.site-footer--dark .footer-address-block {
  margin-top: 4px;
}

.site-footer--dark .footer-address-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d3e0ea;
  opacity: 1;
  margin: 0 0 6px;
}

.site-footer--dark .footer-address {
  font-style: normal;
  margin: 0 0 var(--space-8);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #f3f8fc;
}

.site-footer--dark .footer-address-link {
  color: #f3f8fc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer--dark .footer-address-link:hover {
  color: #7fc4ff;
}

.site-footer--dark .footer-link {
  font-size: 0.9375rem;
  color: #f3f8fc;
  text-decoration: none;
}

.site-footer--dark .footer-link:hover {
  color: #7fc4ff;
}

/* Haritada Gör – premium link (ok animasyonlu) */
.site-footer--dark .footer-link--map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f3f8fc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

.site-footer--dark .footer-link--map:hover {
  color: #7fc4ff;
}

.site-footer--dark .footer-link--map:hover .footer-link-map-arrow {
  transform: translateX(4px);
}

.site-footer--dark .footer-link-map-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Footer: e-posta satırı (İletişim bölümü) */
.site-footer--dark .footer-email {
  margin: 0 0 var(--space-8);
}

.site-footer--dark .footer-email-link {
  color: #f3f8fc;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer--dark .footer-email-link:hover {
  color: #7fc4ff;
}

/* Footer social: img icons only (sadece footer) – zorla görünür, SVG stroke/fill HTML’de #ffffff */

/* Mobil: 4 blok alt alta; harita önizleme tam genişlik */
@media (max-width: 767px) {
  .site-footer--dark .site-footer-main--four-cols {
    grid-template-columns: 1fr;
    gap: var(--space-36);
  }

  .site-footer--dark .footer-col--brand {
    max-width: none;
  }

  .site-footer--dark .footer-map-preview {
    max-width: 100%;
    height: 180px;
  }
}

@media (min-width: 768px) {
  .site-header-inner {
    height: 76px;
  }

  .primary-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: var(--hero-padding-y-desktop) var(--space-24);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-card {
    padding: var(--space-24);
  }

  /* Genel footer (açık tema) – 4 kolon sadece .site-footer--dark için */
  .site-footer-main:not(.site-footer-main--four-cols) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: flex-start;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 1024px) {
  .hero {
    padding: var(--space-100) var(--space-32);
  }

  .hero-title {
    font-size: var(--font-size-h1);
  }
}

/* ========== Sticky/Fixed header (scroll'da üstte sabit, daralma + gölge) ========== */
#siteHeader.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 0;
  transition: padding 220ms ease, box-shadow 220ms ease, background-color 220ms ease, backdrop-filter 220ms ease;
  background: transparent;
}

#siteHeader.site-header.is-scrolled {
  padding: 10px 0;
}

#siteHeader.site-header.is-scrolled .header-pill {
  box-shadow: var(--header-pill-shadow-scrolled);
  transition: height 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

#siteHeader.site-header:not(.is-scrolled) .header-pill {
  box-shadow: var(--header-pill-shadow);
  transition: height var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

/*
  #siteHeader: desktop pill (≥992px) — flex hizası: sol logo / orta menü / sağ CTA (hafif genişletilmiş).
*/
@media (min-width: 992px) {
  #siteHeader.site-header-v2.header-floating .header-pill {
    box-sizing: border-box;
    width: min(1480px, 99.2%);
    max-width: 1480px;
    height: 106px;
    min-height: 106px;
    padding-left: 22px;
    padding-right: 22px;
  }

  #siteHeader.site-header-v2.header-floating.is-scrolled .header-pill {
    height: 90px;
    min-height: 90px;
  }

  #siteHeader.site-header-v2.header-floating .header-pill-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 18px;
    max-width: 1480px;
  }

  #siteHeader.site-header-v2.header-floating .header-pill-left {
    flex: 0 0 auto;
  }

  #siteHeader.site-header-v2.header-floating .header-pill-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  #siteHeader.site-header-v2.header-floating .header-pill-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #siteHeader.site-header-v2.header-floating .brand-logo-wrap {
    width: 240px;
    height: 98px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-left: -14px;
  }

  #siteHeader.site-header-v2.header-floating .header-pill-center .primary-nav-list-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  #siteHeader.site-header-v2.header-floating .primary-nav-link-v2 {
    font-size: 0.98rem;
    line-height: 1.2;
    padding: 13px 12px;
    white-space: nowrap;
  }

  #siteHeader.site-header-v2.header-floating .primary-nav-link-v2--trigger,
  #siteHeader.site-header-v2.header-floating .primary-nav-link-v2--dropdown-trigger {
    font-size: 0.98rem;
    line-height: 1.2;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  #siteHeader.site-header-v2.header-floating .primary-nav-link-v2::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  #siteHeader.site-header-v2.header-floating .header-cta-pill {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* Ana sayfa: header ile hero arası — genel `section` üst padding'i burada fazladan boşluk veriyor (sadece body.page-home) */
body.page-home .hero-banner {
  padding-top: 0;
  margin-top: 0;
}

/* ========== BN Banner System - Premium Minimal ========== */
.bn {
  position: relative;
  width: 100%;
  height: 100%;
}

.bn__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 56px);
  padding: clamp(26px, 4vw, 72px);
  min-height: clamp(420px, 56vh, 680px);
}

.bn__inner--swap {
  flex-direction: row;
}

.bn__left {
  max-width: 640px;
}

.bn__left--media {
  position: relative;
  flex: 0 0 min(480px, 38vw);
  min-height: 340px;
}

.bn__right {
  position: relative;
  flex: 0 0 min(520px, 40vw);
  min-height: 360px;
}

.bn__right--text {
  flex: 1;
  min-height: auto;
  max-width: 580px;
}

.bn__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
}

.bn__desc {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  opacity: 0.90;
  color: rgba(255, 255, 255, 0.92);
}

.bn__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.bn__btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  will-change: transform;
}

.bn__btn--primary {
  color: #fff;
  background: rgba(0, 140, 255, 0.92);
  box-shadow: 0 12px 34px rgba(0, 140, 255, 0.22);
}

.bn__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 140, 255, 0.32);
  filter: saturate(1.06);
}

.bn__btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.bn__btn--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}

.bn__trust {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0.92;
}

.bn__trust-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.bn__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.bn__mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bn__mini-item {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.bn__steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bn__step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.bn__step:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.bn__portrait,
.bn__device,
.bn__clinic,
.bn__blur-back {
  position: absolute;
  height: auto;
  max-width: 100%;
  border-radius: 22px;
  user-select: none;
  pointer-events: none;
}

.bn__portrait {
  right: 0;
  bottom: 0;
  width: 78%;
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.02);
}

.bn__device {
  right: 10%;
  bottom: 6%;
  width: 46%;
  opacity: 0.95;
  transform: translateZ(0);
  animation: bnFloat 5.2s ease-in-out infinite;
}

.bn__device--close {
  left: 0;
  bottom: 8%;
  width: 76%;
  opacity: 0.98;
  animation: bnFloat 6s ease-in-out infinite;
}

.bn__clinic {
  right: 0;
  bottom: 0;
  width: 88%;
  opacity: 0.70;
  filter: saturate(1.03);
}

.bn__blur-back {
  left: -6%;
  bottom: 0;
  width: 92%;
  opacity: 0.35;
  filter: blur(14px) saturate(1.1);
}

.bn__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.55;
  pointer-events: none;
}

.bn__glow--a {
  right: 10%;
  top: 10%;
  background: rgba(0, 140, 255, 0.38);
}

.bn__glow--b {
  right: 40%;
  bottom: 10%;
  background: rgba(120, 210, 255, 0.22);
}

.bn__glow--c {
  left: 10%;
  top: 20%;
  background: rgba(0, 140, 255, 0.34);
}

.bn__glow--d {
  right: 15%;
  bottom: 18%;
  background: rgba(0, 140, 255, 0.28);
}

/* TEXT REVEAL - banner gelince efekt */
.bn-reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}

.bn-reveal--d1 {
  transition-delay: .12s;
}

.bn-reveal--d2 {
  transition-delay: .22s;
}

.bn-reveal--d3 {
  transition-delay: .34s;
}

.bn.is-active .bn-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes bnFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@media (max-width: 900px) {
  .bn__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .bn__inner--swap {
    flex-direction: column-reverse;
  }
  .bn__right {
    width: 100%;
    flex: 0 0 auto;
    min-height: 320px;
  }
  .bn__left--media {
    width: 100%;
    flex: 0 0 auto;
    min-height: 280px;
  }
  .bn__portrait {
    width: 70%;
    right: 0;
  }
  .bn__device {
    width: 44%;
    right: 10%;
  }
}

@media (max-width: 640px) {
  .bn__right,
  .bn__left--media {
    display: none;
  }
  .bn__left {
    text-align: center;
    max-width: 100%;
  }
  .bn__right--text {
    display: block;
    text-align: center;
  }
  .bn__cta {
    width: 100%;
    justify-content: center;
  }
  .bn__btn {
    width: 100%;
    max-width: 320px;
  }
  .bn__trust {
    justify-content: center;
  }
  .bn__mini {
    justify-content: center;
  }
  .bn__steps {
    justify-content: center;
  }
}

/* Banner Buton Hover Fill Effect */

.bn__btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bn__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,140,255,1) 0%, rgba(0,140,255,0.85) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}

.bn__btn:hover::before {
  transform: scaleX(1);
}

.bn__btn--primary {
  background: rgba(0,140,255,0.15);
  border: 1px solid rgba(0,140,255,0.6);
  color: #ffffff;
}

.bn__btn--primary:hover {
  color: #ffffff;
}

.bn__btn--secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
}

.bn__btn--secondary::before {
  background: linear-gradient(90deg, #ffffff 0%, #eaeaea 100%);
}

.bn__btn--secondary:hover {
  color: #111111;
  border-color: #ffffff;
}

/* Banner 3 steps = Banner 2 mini pills ile aynı görünüm */
.bn__steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bn__step {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.bn__step:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

/* Product slider arrows reposition */

.product-slider {
  position: relative;
}

.product-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-slider .slider-arrow-left {
  left: -50px;
}

.product-slider .slider-arrow-right {
  right: -50px;
}

.product-slider .slider-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 1100px) {
  .product-slider .slider-arrow-left { left: -30px; }
  .product-slider .slider-arrow-right { right: -30px; }
}

@media (max-width: 900px) {
  .product-slider .slider-arrow-left { left: -20px; }
  .product-slider .slider-arrow-right { right: -20px; }
}

@media (max-width: 768px) {
  .product-slider .slider-arrow-left { left: 5px; }
  .product-slider .slider-arrow-right { right: 5px; }
}

/* FORCE: slider oklarını simetrik hizala */
.slider-arrow-left,
.slider-arrow-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 50;
}

.slider-arrow-left {
  left: -24px !important;
  right: auto !important;
}

.slider-arrow-right {
  right: -24px !important;
  left: auto !important;
}

.slider-arrow-left:hover,
.slider-arrow-right:hover {
  transform: translateY(-50%) scale(1.06) !important;
}

@media (max-width: 1100px) {
  .slider-arrow-left { left: -14px !important; }
  .slider-arrow-right { right: -14px !important; }
}

@media (max-width: 768px) {
  .slider-arrow-left { left: 10px !important; }
  .slider-arrow-right { right: 10px !important; }
}

/* FORCE: okları aynı wrapper'a (.product-slider) göre simetrik hizala */
.product-slider {
  position: relative !important;
}

.product-slider > .slider-arrow-left,
.product-slider > .slider-arrow-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 999 !important;
}

.product-slider > .slider-arrow-left {
  left: -28px !important;
  right: auto !important;
}

.product-slider > .slider-arrow-right {
  right: -28px !important;
  left: auto !important;
}

.product-slider > .slider-arrow-left:hover,
.product-slider > .slider-arrow-right:hover {
  transform: translateY(-50%) scale(1.06) !important;
}

@media (max-width: 1100px) {
  .product-slider > .slider-arrow-left { left: -14px !important; }
  .product-slider > .slider-arrow-right { right: -14px !important; }
}

@media (max-width: 768px) {
  .product-slider > .slider-arrow-left { left: 10px !important; }
  .product-slider > .slider-arrow-right { right: 10px !important; }
}

/* Okları kart grubuna hizala (container padding'i baz al) */
.product-slider-section {
  position: relative;
}

.product-slider-section .product-slider-container,
.product-slider-section .container {
  position: relative;
}

.product-slider-section .slider-arrow-left,
.product-slider-section .slider-arrow-right {
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 999 !important;
}

/* Kart grubuna görsel hizalama: container min(1400px, 94vw) => yarım 700px */
.product-slider-section .slider-arrow-left {
  left: calc(50% - 700px - 22px) !important;
  right: auto !important;
}

.product-slider-section .slider-arrow-right {
  right: calc(50% - 700px - 22px) !important;
  left: auto !important;
}

.product-slider-section .slider-arrow-left:hover,
.product-slider-section .slider-arrow-right:hover {
  transform: translateY(-50%) scale(1.06) !important;
}

@media (max-width: 1280px) {
  .product-slider-section .slider-arrow-left { left: 8px !important; }
  .product-slider-section .slider-arrow-right { right: 8px !important; }
}

/* SADECE SOL OKU KAYDIR */
.product-slider-section .slider-arrow-left,
.product-slider .slider-arrow-left,
.slider-arrow-left {
  left: -60px !important;
}

/* ===============================
   SERVICE PAGES: HERO BREADCRUMB HIDE (SCOPED)
================================ */
.page-service .breadcrumb,
.page-service .breadcrumbs,
.page-service .page-breadcrumb,
.page-service .hero-breadcrumb,
.page-service .banner-breadcrumb,
.page-service .service-breadcrumb,
.page-service .hero-top-links,
.page-service .hero-links,
.page-service .hero-nav,
.page-service .service-hero .breadcrumb {
  display: none !important;
}

/* ===============================
   SERVICE HERO CTA (SCOPED) – Ucretsiz Isitme Testi ile ayni
================================ */

.page-service .service-hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

/* Ortak temel: boyutları eşitle */
.page-service .service-hero-cta .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 44px;
  padding: 0 24px;
  min-width: 160px;

  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;

  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Yazı hep görünür */
.page-service .service-hero-cta .btn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* İkon hizalama */
.page-service .service-hero-cta .btn i,
.page-service .service-hero-cta .btn svg {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* Soldan sağa dolma efekti (genel) */
.page-service .service-hero-cta .btn-fill::before,
.page-service .service-hero-cta .btn-outline-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

.page-service .service-hero-cta .btn-fill:hover::before,
.page-service .service-hero-cta .btn-outline-fill:hover::before {
  transform: scaleX(1);
}

/* TELEFON (DOLU MAVİ) */
.page-service .service-hero-cta .btn-call {
  background: #2f6edb;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-service .service-hero-cta .btn-call::before {
  background: #1f56b8;
}

.page-service .service-hero-cta .btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

/* WHATSAPP (BAŞTA TRANSPARENT + YEŞİL BORDER) */
.page-service .service-hero-cta .btn-whatsapp {
  background: transparent;
  color: #fff;
  border: 1px solid #25D366;
}

.page-service .service-hero-cta .btn-whatsapp::before {
  background: #25D366;
}

.page-service .service-hero-cta .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

/* Opsiyonel: odak görünümü */
.page-service .service-hero-cta .btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

/* ===============================
   URUN DETAY - HERO HEADER OFFSET
   SCOPE: only product detail pages
================================ */
.page-urun-detay .hero,
.page-urun-detay .page-hero,
.page-urun-detay .banner,
.page-urun-detay .service-hero,
.page-urun-detay main > section:first-of-type {
  padding-top: calc(var(--site-header-h, 90px) + 24px);
}

/* Ürün detay sayfaları – header/banner offset (replace-header kullanıldığı için) */
.page-urun-detay .page-hero,
.page-urun-detay .hero,
.page-urun-detay .banner,
.page-urun-detay .service-hero {
  margin-top: var(--header-offset, 92px);
  padding-top: 0;
}

/* =========================================
   FOOTER BOTTOM RESET (final)
========================================= */

/* =========================================
   FOOTER BOTTOM RESET (final-2)
========================================= */

.footer-bottom {
  background: #07233b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.footer-bottom .footer-copy {
  color: #d3e0ea;
  white-space: nowrap;
  min-width: 0;
}

.footer-bottom .footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.footer-bottom .footer-bottom-links a {
  color: #f3f8fc;
  text-decoration: none;
}

.footer-bottom .footer-bottom-links a:hover {
  color: #7fc4ff;
}

.footer-bottom .footer-bottom-links .sep {
  color: rgba(255, 255, 255, 0.22);
}

.footer-bottom .footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-bottom .footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
  flex: 0 0 auto;
}

.footer-bottom .footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.footer-bottom .footer-social-icon-img {
  width: 36pxpx;
  height: 36px;
  display: block;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  max-width: none;
}

@media (max-width: 768px) {
  .footer-bottom .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-bottom .footer-copy {
    white-space: normal;
  }

  .footer-bottom .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom .footer-social {
    justify-content: center;
  }
}
