/* Genel responsive katman — tüm sayfalarda en son yüklenir */
@media (max-width: 1000px) {
  .nav { height: 68px; }
  .nav-links { display: none; }
  .menu-toggle, .menu-btn { display: grid; place-items: center; }
  .mobile-menu, .mobile-nav { display: none; }
  .mobile-menu.open, .mobile-nav.open {
    display: flex;
    position: fixed;
    inset: 68px 0 0;
    z-index: 70;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 34px var(--gap);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #100f0f;
    color: #e7e6e4;
  }
  .mobile-menu.open a, .mobile-nav.open a {
    color: #e7e6e4;
    font-size: clamp(28px, 4.6vw, 40px);
    line-height: 1.08;
    letter-spacing: -.04em;
    white-space: normal;
  }
  .mobile-menu.open a:hover, .mobile-nav.open a:hover { color: #ee7540; }
}

/* Ürünler hero — tablette başlık, metin ve tank alt alta */
@media (min-width: 701px) and (max-width: 1150px) {
  .products-page .products-hero { height: auto; min-height: 100svh; padding-bottom: 40px; }
  .products-page .hero-copy { height: auto; padding-top: 7vh; }
  .products-page .hero-lead {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 560px;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .products-page .hero-lead p { width: 100%; max-width: 520px; margin: 0; font-size: 14px; line-height: 1.7; }
  .products-page .hero-lead a { font-size: 12px; }
  .products-page .hero-machine.tank-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 420px;
    inset: auto;
    margin: 18px 0 0;
    transform: none;
  }
  .products-page .hero-machine.tank-stage canvas { width: 100%; height: 100%; }
  .products-page .hero-scrim { height: 18vh; }
}

@media (max-width: 700px) {
  .project-tools { flex-wrap: wrap; overflow: visible; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 11px; }
  .footer h2 { font-size: clamp(38px, 12.5vw, 55px); }
  .footer-links a, .footer-links span { overflow-wrap: anywhere; }
  .exp-cta-grid, .exp-cta-grid > *, .exp-cta-copy, .exp-cta-side, .exp-cta-code { min-width: 0; }
  .exp-cta .title { overflow-wrap: anywhere; }
  .exp-cta-code b { min-width: 0; }
}

/* Index hero — tablette metin üstte, tank altta; üst üste binme yok */
@media (min-width: 701px) and (max-width: 1150px) {
  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-top: 116px;
    padding-bottom: 36px;
  }
  .hero h1 { font-size: clamp(54px, 8.6vw, 82px); line-height: .86; margin-top: 22px; }
  .hero h1 span { font-size: clamp(28px, 4.6vw, 38px); line-height: 1.08; margin-top: 16px; }
  .hero-lead { max-width: 560px; margin-top: 18px; font-size: 14px; line-height: 1.62; }
  .hero-copy { max-width: 560px; margin-top: 9px; font-size: 12px; line-height: 1.6; }
  .hero-cta { margin-top: 18px; padding: 12px 19px; font-size: 11px; }
  .home-actions { margin-top: 14px; gap: 14px; }
  .hero .home-actions .pill { padding: 10px 15px; font-size: 10.5px; }
  .hero .home-actions .home-secondary { font-size: 10.5px; }
  .hero-stats {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 480px);
    max-width: 480px;
    margin-top: 22px;
    z-index: 5;
  }
  .hero-stats strong { font-size: 15px; }
  .hero-visual {
    position: relative;
    width: 106vw;
    height: 460px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    margin: 24px 0 0;
    z-index: 1;
  }
  .hero-bottom {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
    padding-top: 16px;
    z-index: 6;
  }
  .hero-bottom .scroll-label { display: none; }
  html[dir="rtl"] .hero-stats { left: auto; right: auto; }
}

/* Ana sayfa mobil: dil seçici tankın üzerine binmesin */
@media (max-width: 700px) {
  body[data-page="index"] .production-language {
    top: 78px;
    right: 13px;
    bottom: auto;
  }
}
