html {
  scroll-behavior: smooth;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-\[shimmer_2\.5s_infinite\] {
    animation: none !important;
  }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

.group:hover .group-hover\:translate-y-0 {
  transform: translateY(0);
}

/* Menü ile açılır listenin arasındaki boşlukta hover kopmasın */
header nav .group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

header .group:focus-within > .absolute {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.sayac-item {
  position: relative;
}

.sayac-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
}

.sayac-flyout {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 6px;
  min-width: 13.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.sayac-item:hover .sayac-flyout,
.sayac-item:focus-within .sayac-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.divide-neutral-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(38, 38, 38, 0.7);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-nav {
  display: none;
  border-top: 1px solid #475569;
  background: #1e293b;
  max-height: calc(100vh - 4.5rem);
  overflow: auto;
}

#mobile-nav a,
#mobile-nav summary {
  color: #e2e8f0;
  text-decoration: none;
}

#mobile-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#mobile-nav a:hover,
#mobile-nav a[aria-current="page"] {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
}

#mobile-nav details {
  border-top: 1px solid rgba(71, 85, 105, 0.7);
}

#mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#mobile-nav summary::-webkit-details-marker {
  display: none;
}

#mobile-nav summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  margin-top: -4px;
}

#mobile-nav details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

#mobile-nav details a {
  padding-left: 2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.875rem;
  color: #cbd5e1;
  background: #0f172a;
}

#mobile-nav details details {
  border-top: 0;
}

#mobile-nav details details summary {
  padding-left: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #0f172a;
  color: #cbd5e1;
}

#mobile-nav details details a {
  padding-left: 2.75rem;
}

#mobile-nav .mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(71, 85, 105, 0.7);
  color: #94a3b8;
  font-size: 0.85rem;
}

#mobile-nav .mobile-contact a {
  padding: 0.2rem 0;
  font-weight: 600;
  letter-spacing: 0;
  color: #e2e8f0;
  background: transparent;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
}

.slider-dot.is-active {
  width: 22px;
  background: #3b82f6;
}

.logo-mark {
  display: block;
  height: 3.85rem;
  width: auto;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 0;
  margin-right: 1.25rem;
  box-sizing: border-box;
  mix-blend-mode: normal;
  filter: none;
}

.logo-footer {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
  background: transparent;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  #mobile-nav:not([hidden]) {
    display: block;
  }

  .bg-brandDark.text-xs .container > div:first-child {
    display: none;
  }

  header .container .logo-mark {
    height: 2.45rem;
    padding: 0;
  }
}

@media (min-width: 1280px) {
  #mobile-nav {
    display: none !important;
  }
}

.stat-strip {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.5rem;
  background:
    radial-gradient(55% 140% at 15% 0%, rgba(125, 211, 252, 0.45), transparent 60%),
    radial-gradient(50% 120% at 90% 100%, rgba(30, 64, 175, 0.55), transparent 65%),
    linear-gradient(115deg, #1d4ed8 0%, #2563eb 45%, #0284c7 100%);
  border-top: 1px solid rgba(186, 230, 253, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.stat-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.stat-grid { position: relative; }
.stat-item {
  position: relative;
  padding: 1.9rem 1rem 1.7rem;
  text-align: center;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px -22px rgba(7, 20, 60, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.stat-strip.js-anim:not(.is-in) .stat-item { opacity: 0; transform: translateY(18px); }
.stat-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0.9;
}
.stat-strip.is-in .stat-item { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1), border-color 0.35s ease, box-shadow 0.35s ease; }
.stat-strip.is-in .stat-item:nth-child(2) { transition-delay: 0.08s; }
.stat-strip.is-in .stat-item:nth-child(3) { transition-delay: 0.16s; }
.stat-strip.is-in .stat-item:nth-child(4) { transition-delay: 0.24s; }
.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 26px 50px -22px rgba(7, 20, 60, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition-delay: 0s !important;
}
.stat-value {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4.4vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(15, 40, 110, 0.35), 0 10px 30px rgba(7, 20, 60, 0.45);
}
.stat-label {
  font-family: "Outfit", "Segoe UI", sans-serif;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0f2fe;
}
@media (max-width: 640px) {
  .stat-item { padding: 1.4rem 0.6rem 1.3rem; }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .stat-item { opacity: 1; transform: none; transition: none; }
}

.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 210px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.08) 15%, rgba(7, 17, 31, 0.78) 100%);
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .page-banner {
    height: 300px;
  }
}

.bench-cover {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #071427;
}

.bench-slide {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.bench-slide.is-on {
  opacity: 1;
  animation: bench-drift 6.5s ease-out both;
}

@keyframes bench-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.bench-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

@media (min-width: 768px) {
  .bench-cover {
    height: 300px;
  }
}

.logo-footer-mark {
  display: block;
  height: 4.75rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 0;
  box-sizing: border-box;
}

/* Mekanik sayaç galerisi */
.mek-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.mek-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}
.mek-open {
  display: block;
  width: 100%;
  padding: 1.25rem;
  background: #ffffff;
  border: 0;
  cursor: zoom-in;
}
.mek-open img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 420px);
  object-fit: contain;
}
.mek-card figcaption {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0f172a;
}
#mek-dialog {
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
  max-width: min(92vw, 900px);
  width: 100%;
}
#mek-dialog::backdrop {
  background: rgba(7, 17, 31, 0.8);
}
#mek-dialog img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  padding: 1.5rem;
  box-sizing: border-box;
}
#mek-dialog p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  text-align: center;
  font-weight: 800;
  color: #0f172a;
}
.mek-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Üst bardaki slogan */
.bg-brandDark.text-xs span.font-black.bg-clip-text {
  font-size: 0.95rem;
  line-height: 1.5;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

/* Açılış videosu (ana sayfa slider'ının ilk slaytı) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030912;
}

/* Header logosu: menüyle çakışmasın */
header .container > div:first-child { flex-shrink: 0; }
@media (min-width: 768px) and (max-width: 1150px) {
  .logo-mark { height: 2.6rem; margin-right: 0.75rem; }
}
@media (min-width: 1151px) and (max-width: 1400px) {
  .logo-mark { height: 3.2rem; margin-right: 1rem; }
}

/* Alt bilgideki slogan: üst bardaki sloganla aynı yazı stili */
.footer-motto {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 26rem;
}

/* Marka: şeffaf simge + menüyle aynı yazı tipinde, parlak (3D) KURASTECH */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  line-height: 1;
}
.brand-icon {
  display: block;
  height: 3.2rem;
  width: auto;
}
.brand-word {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
  /* derinlik: ince kenar + alt kalınlık + yumuşak gölge */
  text-shadow: 0 1px 0 rgba(10, 22, 44, 0.9),
               0 2px 0 rgba(10, 22, 44, 0.8),
               0 3px 0 rgba(10, 22, 44, 0.6),
               0 5px 8px rgba(0, 0, 0, 0.5),
               0 0 14px rgba(78, 164, 255, 0.25);
}
/* tam dolu renkler; 3D etkisi yalnızca kabartma gölgelerinden */
.brand-a { color: #4ea4ff; }
.brand-b { color: #eef2f7; }
.brand--footer .brand-icon { height: 3.8rem; }
.brand--footer .brand-word { font-size: 2.3rem; }
@media (min-width: 768px) and (max-width: 1150px) {
  .brand-icon { height: 2.4rem; }
  .brand-word { font-size: 1.45rem; }
}
@media (min-width: 1151px) and (max-width: 1400px) {
  .brand-icon { height: 2.9rem; }
  .brand-word { font-size: 1.75rem; }
}
@media (max-width: 767px) {
  header .container .brand-icon { height: 2.4rem; }
  header .container .brand-word { font-size: 1.45rem; }
}

/* Tablet / küçük dizüstü: menü tek satıra sığsın, sayfa yana taşmasın */
@media (min-width: 768px) and (max-width: 1279px) {
  header nav.md\:flex { column-gap: 2px; }
  header nav.md\:flex > * { margin-left: 0 !important; margin-right: 0 !important; }
  header nav.md\:flex > a,
  header nav.md\:flex > div > a,
  header nav.md\:flex > div > button { padding: 6px 7px !important; font-size: 12px; letter-spacing: 0.02em; }
  .logo-mark { margin-right: 0.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .brand-word { display: none; }
}

/* Sayaç kartları: görsel + "İncele" bağlantısı */
.mek-link { display: block; padding: 1.25rem; background: #fff; }
.mek-link img { display: block; width: 100%; height: clamp(260px, 38vw, 420px); object-fit: contain; transition: transform 0.4s ease; }
.mek-card:hover .mek-link img { transform: scale(1.03); }
.mek-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; }
.mek-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; border-radius: 0.75rem;
  background: #3b82f6; color: #fff; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
  box-shadow: 0 6px 14px -6px rgba(59, 130, 246, 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mek-btn:hover { background: #2563eb; transform: translateX(2px); }

/* Sayaç detay sayfası */
.det-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #64748b; margin-bottom: 1.75rem; }
.det-crumb a:hover { color: #3b82f6; }
.det-media { position: relative; }
@media (min-width: 1024px) { .det-media { position: sticky; top: 7rem; } }
.det-zoom {
  position: relative; display: block; width: 100%; padding: 2rem; cursor: zoom-in;
  background: #ffffff;
  border: 1px solid #e2e8f0; border-radius: 1.5rem;
  box-shadow: 0 20px 45px -28px rgba(15, 23, 42, 0.35);
}
.det-zoom img { display: block; width: 100%; height: clamp(300px, 42vw, 520px); object-fit: contain; transition: transform 0.4s ease; }
.det-zoom:hover img { transform: scale(1.04); }
.det-hint {
  position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  color: #fff; background: rgba(15, 23, 42, 0.72);
}
.det-block { margin-top: 1.75rem; }
.det-block h2 { font-size: 1.15rem; font-weight: 800; color: #0f172a; margin-bottom: 0.6rem; }
.det-soon { padding: 1rem 1.1rem; border: 1px dashed #cbd5e1; border-radius: 0.9rem; background: #f8fafc; color: #64748b; font-size: 0.95rem; }
.det-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.det-other { display: block; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; padding: 0.9rem; text-align: center; transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.det-other:hover { border-color: rgba(59, 130, 246, 0.45); box-shadow: 0 12px 26px -14px rgba(15, 23, 42, 0.3); transform: translateY(-2px); }
.det-other img { width: 100%; height: 140px; object-fit: contain; }
.det-other span { display: block; margin-top: 0.6rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.03em; color: #0f172a; }

/* Mekanik sayaç kartı: üst çizginin ortasında tip etiketi */
.mek-card--tag { position: relative; overflow: visible; margin-top: 1rem; }
.mek-card--tag .mek-link { border-radius: 1rem 1rem 0 0; padding-top: 2rem; }
.mek-card--tag figcaption { border-radius: 0 0 1rem 1rem; }
.mek-tag {
  position: absolute; top: 0; left: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(115deg, #1d4ed8, #2563eb 50%, #0284c7);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px -8px rgba(29, 78, 216, 0.7);
}
@media (max-width: 480px) { .mek-tag { font-size: 0.7rem; letter-spacing: 0.08em; padding: 0.45rem 0.9rem; } }
.det-type { margin-top: 0.5rem; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: #2563eb; }

/* Dil seçici: seçili dil belirgin, üzerine gelince dilin kendi adı */
.lang-switch { gap: 0.4rem; }
.lang-switch > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; }
.lang-switch > span { display: none; }
.lang-switch a {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.35rem; padding: 0.3rem 0.5rem !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important; border-radius: 0.55rem;
  color: #cbd5e1; font-weight: 800; letter-spacing: 0.06em; line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch a:hover { color: #ffffff; border-color: #3b82f6 !important; background: rgba(59, 130, 246, 0.18); }
.lang-switch a[aria-current] {
  color: #ffffff !important; background: #3b82f6; border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28), 0 6px 16px -6px rgba(59, 130, 246, 0.9);
}
.lang-switch a::after {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
  transform: translate(-50%, -4px);
  padding: 0.35rem 0.65rem; border-radius: 0.45rem;
  background: #0b1220; color: #ffffff; border: 1px solid rgba(96, 165, 250, 0.45);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-switch a::before {
  content: ""; position: absolute; top: calc(100% + 5px); left: 50%; z-index: 61;
  width: 9px; height: 9px; transform: translate(-50%, -4px) rotate(45deg);
  background: #0b1220; border-left: 1px solid rgba(96, 165, 250, 0.45); border-top: 1px solid rgba(96, 165, 250, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-switch a[hreflang="tr"]::after { content: "Türkçe"; }
.lang-switch a[hreflang="en"]::after { content: "English"; }
.lang-switch a[hreflang="ru"]::after { content: "Русский"; }
.lang-switch a:hover::after, .lang-switch a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.lang-switch a:hover::before, .lang-switch a:focus-visible::before { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }

/* Dar masaüstü (768–1279px): 3 dil + uzun Rusça menü tek satıra sığsın */
a[href^="tel:"] { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1279px) {
  header nav.md\:flex > a, header nav.md\:flex > div > a, header nav.md\:flex > div > button { white-space: nowrap; }
  .lang-switch { gap: 0.25rem; margin-left: 0.4rem; }
  .lang-switch a { min-width: 1.9rem; padding: 0.25rem 0.35rem !important; font-size: 11px; letter-spacing: 0.03em; }
  html[lang="ru"] header nav.md\:flex > a, html[lang="ru"] header nav.md\:flex > div > a, html[lang="ru"] header nav.md\:flex > div > button { font-size: 10.5px; letter-spacing: 0; padding: 6px 5px !important; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .sayac-flyout { left: auto; right: 100%; margin-left: 0; margin-right: 6px; transform: translateX(-6px); }
  .sayac-item::after { left: auto; right: 100%; }
}

/* Isı istasyonu sayfası ölçüm etiketleri */
.sub-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: .85rem; font-weight: 700; }
.sub-chip::before { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
@media (min-width: 1280px) and (max-width: 1535px) {
  header nav.md\:flex > :not([hidden]) ~ :not([hidden]) { margin-left: 0.85rem !important; }
  .lang-switch { gap: 0.3rem; margin-left: 0.6rem; }
}
@media (min-width: 1280px) and (max-width: 1535px) {
  header nav.md\:flex > a, header nav.md\:flex > div > a, header nav.md\:flex > div > button { font-size: 13px; letter-spacing: 0.03em; padding-left: 10px !important; padding-right: 10px !important; white-space: nowrap; }
  header nav.md\:flex > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem !important; }
}
@media (min-width: 768px) and (max-width: 899px) {
  header nav.md\:flex > a, header nav.md\:flex > div > a, header nav.md\:flex > div > button { font-size: 10.5px; letter-spacing: 0; padding: 6px 5px !important; }
  .lang-switch a { min-width: 1.7rem; padding: 0.22rem 0.28rem !important; }
}
html[lang="ru"] .mek-tag { letter-spacing: 0.04em; font-size: 0.74rem; padding: 0.45rem 1rem; }
@media (max-width: 1023px) { html[lang="ru"] .mek-tag { white-space: normal; text-align: center; width: max-content; max-width: 92%; line-height: 1.25; } }
@media (min-width: 1280px) and (max-width: 1439px) { .xl\:-mx-28 { margin-left: -3.5rem !important; margin-right: -3.5rem !important; } }
/* Telefon: logo + menü düğmesi + 3 dil tek satıra sığsın */
@media (max-width: 767px) {
  header .container { padding-left: 1rem; padding-right: 1rem; }
  .lang-switch { gap: 0.2rem; margin-left: 0.25rem; }
  .lang-switch a { min-width: 1.75rem; padding: 0.22rem 0.3rem !important; font-size: 11px; letter-spacing: 0.02em; }
}
@media (max-width: 399px) {
  header .container .brand { gap: 0.4rem; }
  header .container .brand-icon { height: 2rem; }
  header .container .brand-word { font-size: 1.15rem; letter-spacing: 0.03em; }
}
/* son dilin ipucu sağ kenardan taşmasın */
.lang-switch a:last-child::after { left: auto; right: -2px; transform: translate(0, -4px); }
.lang-switch a:last-child:hover::after, .lang-switch a:last-child:focus-visible::after { transform: translate(0, 0); }
/* alt menü öğeleri tek satırda kalsın */
.sayac-flyout a { white-space: nowrap; }
/* Test masası kartları: başlık + İncele */
.tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tm-foot h3 { flex: 1 1 12rem; }
/* Büyütülmüş görsel: ekranın çoğunu kaplasın */
#mek-dialog { max-width: min(96vw, 1500px); max-height: 96vh; }
#mek-dialog img { max-height: calc(96vh - 4.5rem); padding: 1rem 1rem 0.75rem; }
@media (max-width: 640px) { #mek-dialog img { padding: 0.5rem; } }
/* Detay sayfası: açıklama, teknik tablo, özellik listesi */
.det-text { color: #475569; line-height: 1.7; font-size: 0.98rem; }
.det-specs { border: 1px solid #e2e8f0; border-radius: 0.9rem; overflow: hidden; background: #fff; }
.det-specs > div { display: grid; grid-template-columns: minmax(8rem, 38%) 1fr; gap: 1rem; padding: 0.7rem 1rem; font-size: 0.92rem; }
.det-specs > div + div { border-top: 1px solid #f1f5f9; }
.det-specs > div:nth-child(odd) { background: #f8fafc; }
.det-specs dt { font-weight: 700; color: #334155; }
.det-specs dd { color: #0f172a; font-weight: 600; }
.det-feat-wrap { border: 1px solid #e2e8f0; border-radius: 1.25rem; background: #fff; padding: 1.75rem 1.5rem; box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.35); }
@media (min-width: 768px) { .det-feat-wrap { padding: 2rem 2.25rem; } }
.det-feat-title { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.det-feat-title span { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #3b82f6; }
.det-feats { display: grid; grid-template-columns: 1fr; gap: 1.35rem 2.5rem; }
@media (min-width: 768px) { .det-feats { grid-template-columns: 1fr 1fr; } }
.det-feats li { display: flex; gap: 0.75rem; align-items: flex-start; }
.det-chk { flex: none; width: 1.3rem; height: 1.3rem; color: #2563eb; margin-top: 0.1rem; }
.det-feats h3 { font-weight: 800; color: #0f172a; font-size: 1rem; margin-bottom: 0.3rem; }
.det-feats p { color: #64748b; font-size: 0.9rem; line-height: 1.55; }
.det-feat-side { border: 1px solid #e2e8f0; border-radius: 1.1rem; background: #fff; padding: 1.4rem 1.3rem; box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.35); }
.det-feat-side h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-bottom: 1.1rem; }
.det-feat-side h2 span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #3b82f6; }
.det-feat-side .det-feats { grid-template-columns: 1fr; gap: 1.05rem; }
@media (min-width: 768px) and (max-width: 1023px) { .det-feat-side .det-feats { grid-template-columns: 1fr 1fr; } }
/* Test masası detay: geniş görsel solda, metin sağda; özellikler altta 2 sütun */
.container.det-wide-wrap { max-width: 80rem; }
@media (min-width: 1024px) { .grid.det-wide { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); } }
.det-wide .det-zoom img { height: auto; max-height: 70vh; aspect-ratio: auto; object-fit: contain; }
.det-wide .det-zoom { padding: 0.5rem 0.5rem 3rem; }
/* Yaşlandırma: alt başlık, tablo, çevrim grafiği */
.det-feat-title + .det-feat-sub { margin-top: -1rem; margin-bottom: 1.4rem; font-size: 0.9rem; font-weight: 700; color: #64748b; }
.det-table-wrap { overflow-x: auto; }
.det-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.det-table th, .det-table td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid #f1f5f9; }
.det-table tr:first-child th { font-weight: 800; color: #0f172a; border-bottom: 2px solid #e2e8f0; }
.det-table th[scope="row"] { font-weight: 600; color: #334155; }
.det-table td { color: #0f172a; font-weight: 600; }
.det-table tr:hover td, .det-table tr:hover th[scope="row"] { background: #f8fafc; }
.det-note { margin-top: 1rem; font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.det-cycle { margin-top: 2rem; }
.det-cycle figcaption { font-weight: 800; color: #0f172a; margin-bottom: 0.75rem; }
.det-cycle-box { position: relative; max-width: 680px; }
.det-cycle-box svg { display: block; width: 100%; height: auto; }
.cy-l { position: absolute; transform: translate(-50%, -50%); font-weight: 700; color: #0f172a; font-size: clamp(0.75rem, 2.2vw, 1.05rem); white-space: nowrap; }
.cy-q3 { left: 6%; top: 26%; } .cy-0 { left: 7%; top: 78%; }
.cy-f1 { left: 24.2%; top: 18%; } .cy-f2 { left: 67.6%; top: 18%; } .cy-s { left: 46%; top: 70%; }
.cy-t1 { left: 24.2%; top: 93%; } .cy-t2 { left: 46.1%; top: 93%; } .cy-t3 { left: 67.6%; top: 93%; }
@media (max-width: 520px) { .cy-t1, .cy-t2, .cy-t3 { font-size: 0.62rem; } }
.det-feats.det-feats-side { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.1rem; }
/* Qmax: büyük görsel + video yan yana */
.container.qm-wrap { max-width: 100rem; }
.qm-head { margin-bottom: 1.5rem; }
.qm-media { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .qm-media { grid-template-columns: 1fr 1fr; } }
.qm-media .det-media { position: relative; top: auto; }
.qm-media .det-zoom { padding: 0.5rem 0.5rem 3rem; }
.qm-media .det-zoom img { height: auto; aspect-ratio: 16 / 9; max-height: none; object-fit: contain; }
.qm-video-box { margin: 0; background: #071426; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 45px -28px rgba(15, 23, 42, 0.45); border: 1px solid #1e3a8a; }
.qm-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #071426; }
.qm-video-box figcaption { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.1rem; color: #cbd5e1; font-weight: 700; font-size: 0.9rem; }
.qm-live { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); animation: qmPulse 1.6s ease-in-out infinite; flex: none; }
@keyframes qmPulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.qm-info { display: grid; grid-template-columns: 1fr; gap: 1rem 3rem; margin-top: 1rem; }
@media (min-width: 1024px) { .qm-info { grid-template-columns: 1.2fr 1fr; } }
/* Yapım aşamasında kartı */
.soon-card { text-align: center; border: 1px dashed #93c5fd; background: linear-gradient(180deg, #eff6ff, #ffffff); border-radius: 1.5rem; padding: 3rem 1.5rem; }
.soon-icon { width: 5rem; height: 5rem; margin: 0 auto 1.25rem; display: grid; place-items: center; border-radius: 1.25rem; background: #dbeafe; color: #2563eb; animation: soonFloat 3s ease-in-out infinite; }
@keyframes soonFloat { 50% { transform: translateY(-6px); } }
.soon-title { font-size: 1.6rem; font-weight: 900; color: #0f172a; }
.soon-text { margin-top: 0.6rem; color: #64748b; }
/* 1279px ve altı: masaüstü menü yerine açılır (hamburger) menü */
@media (max-width: 1279px) {
  header nav.md\:flex { display: none !important; }
  .nav-toggle { display: inline-flex; }
  #mobile-nav:not([hidden]) { display: block; }
  header .container .lang-switch { margin-left: 0.5rem; }
  header .container > .nav-toggle { margin-left: auto; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  #mobile-nav nav { max-width: 56rem; margin: 0 auto; }
}
/* 1280px ve üstü: 7 menü öğesi tek satıra sığsın */
@media (min-width: 1280px) and (max-width: 1535px) {
  header nav.md\:flex > a, header nav.md\:flex > div > a, header nav.md\:flex > div > button { font-size: 12px !important; letter-spacing: 0.02em !important; padding-left: 7px !important; padding-right: 7px !important; }
  header nav.md\:flex > :not([hidden]) ~ :not([hidden]) { margin-left: 0.3rem !important; }
}
@media (min-width: 1536px) {
  header nav.md\:flex > a, header nav.md\:flex > div > a, header nav.md\:flex > div > button { font-size: 13px; letter-spacing: 0.04em; padding-left: 10px !important; padding-right: 10px !important; }
  header nav.md\:flex > :not([hidden]) ~ :not([hidden]) { margin-left: 0.6rem !important; }
}
/* Dil seçici sağ kenara dayalı: üst menü satırı tam genişlik */
header .container:has(> .lang-switch) { max-width: none; }
@media (min-width: 1280px) { header .container:has(> .lang-switch) { padding-left: 2rem; padding-right: 2rem; } }

/* Ultrasonik sayaç sayfaları: büyük ürün görseli */
.us-hero { margin: 0; border-radius: 1.5rem; overflow: hidden; background: #1c1e21; box-shadow: 0 25px 50px -12px rgba(15,23,42,.35); }
.us-hero img { display: block; width: 100%; height: auto; }
