/* =============================================
   TBT TANKBAU TEKNİK - ANA STİL DOSYASI
   Renk Paleti: Kırmızı / Siyah / Beyaz
============================================= */

/* ---- CSS Değişkenleri ---- */
:root {
  --red:       #CC0000;
  --red-dark:  #A00000;
  --red-light: #FF1A1A;
  --black:     #0d0d0d;
  --dark:      #1a1a1a;
  --dark2:     #252525;
  --gray:      #888888;
  --light:     #f5f5f5;
  --white:     #ffffff;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 8px 32px rgba(0,0,0,0.15);
  --radius:    6px;
  --font:      'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.7;
  position: relative;
}

/* Horizontal overflow güvenlik ağı — sayfa yatay taşmasın */
section, .navbar, .footer, .hero { width: 100%; max-width: 100%; }

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Spacing ---- */
.section { padding: 100px 0; }
.section-dark  { background: var(--dark);  color: var(--white); }
.section-light { background: var(--light); }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 60px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  padding: 6px 16px;
  border: 1px solid var(--red);
  border-radius: 2px;
  margin-bottom: 20px;
}
.section-label.light { color: var(--red); border-color: var(--red); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}
.section-subtitle.light { color: #aaa; }

/* ---- Text Red ---- */
.text-red { color: var(--red); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVIGATION
============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0 24px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.16);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* ============================================
   HERO SLIDER — FULL SCREEN + 3D TANK
============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

.hero-slider { width: 100%; height: 100%; position: relative; }

/* Slide base */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }

/* Left: text content */
.slide-content {
  position: relative;
  z-index: 4;
  padding: 0 0 0 80px;
  max-width: 520px;
  color: var(--white);
}

/* Right: tank image */
.slide-tank {
  position: absolute;
  right: 0;
  top: 80px;
  bottom: 0;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  padding: 20px 20px 40px 0;
}
.slide-tank::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 60%, rgba(204,0,0,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.slide-tank::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 35%;
  background: linear-gradient(to right, var(--black), transparent);
  z-index: 3;
  pointer-events: none;
}

.tank-3d {
  position: relative;
  z-index: 2;
  max-height: 86vh;
  max-width: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: drop-shadow(0 0 40px rgba(204,0,0,0.10)) drop-shadow(0 20px 60px rgba(0,0,0,0.55));
}

.tank-floor-glow {
  position: absolute;
  z-index: 1;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(204,0,0,0.22) 0%, transparent 70%);
  opacity: 0.5;
}

.tank-scan-ring { display: none; }

/* ---- Slide text ---- */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(204,0,0,0.5);
  padding: 7px 18px;
  border-radius: 2px;
  margin-bottom: 28px;
  width: fit-content;
}
.slide-tag::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: tagBlink 1.4s ease-in-out infinite;
}
@keyframes tagBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.slide-content h1 {
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--white);
}

.slide-content p {
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.85;
}

.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Slider controls ---- */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 80px;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--red);
  width: 28px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 36px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.4; }
  50%       { transform: scaleY(0.5); opacity: 0.9; }
}

/* ============================================
   STATS
============================================= */
.stats-section {
  background: var(--black);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stat-item {
  background: var(--black);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-item:hover { background: var(--dark); }

.stat-number {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}

/* ============================================
   HAKKIMIZDA
============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: var(--white);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(204,0,0,0.4);
}
.badge-number { font-size: 28px; font-weight: 900; line-height: 1; }
.badge-number sup { font-size: 16px; }
.badge-text { font-size: 11px; font-weight: 600; line-height: 1.3; margin-top: 4px; }

.about-content .section-label { margin-bottom: 16px; }

.about-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 16px;
}

.about-content > p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.feature-item i { color: var(--red); font-size: 16px; flex-shrink: 0; }

/* ============================================
   ÜRÜNLER
============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(204,0,0,0.3);
}

.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transition: transform 0.6s ease;
  box-sizing: border-box;
}
.product-card:hover .product-image img { transform: none; }

/* Resimsiz ürün kartı için placeholder (admin'den görsel yüklenene kadar) */
.product-image-empty {
  background: linear-gradient(135deg, #1a1a1f 0%, #15151a 100%);
}
.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.18);
}
.product-image-placeholder svg {
  width: 64px;
  height: 64px;
}

/* Modal: resim yoksa görsel alanını gizle, sadece metin göster */
.tbt-product-modal.no-img .tbt-pm-imgwrap { display: none; }

.product-overlay { display: none; }
.product-card:hover .product-overlay { display: none; }

.product-body {
  padding: 22px 24px;
  text-align: center;
}

.product-icon { display: none; }

.product-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

.product-body p { display: none; }

.product-card { cursor: pointer; }

/* ============================================
   REFERANSLAR
============================================= */
.references-section { background: var(--light); }

.ref-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ref-logo-item {
  background: var(--white);
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: default;
}
.ref-logo-item img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}
.ref-logo-item:hover {
  border-color: rgba(204,0,0,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

/* ============================================
   GALERİ
============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  cursor: pointer;
  background: #1a1a1a;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: none; }

.gallery-hover { display: none; }

/* ============================================
   KALİTE
============================================= */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.quality-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.quality-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204,0,0,0.4);
}
.quality-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
}

.quality-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.q-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.3);
  border-radius: 2px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.q-badge:hover { background: var(--red); border-color: var(--red); }
.q-badge i { color: var(--red); font-size: 16px; }
.q-badge:hover i { color: var(--white); }

/* ============================================
   İLETİŞİM
============================================= */
.contact-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(180,0,0,0.4));
}
.contact-hero-text {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.contact-hero-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-hero-text p {
  font-size: 17px;
  opacity: 0.9;
}

.contact-section { padding: 0; }
.contact-section .container { padding-top: 80px; padding-bottom: 100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.info-block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-icon {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
}
.info-content h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.info-content p,
.info-content a {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.6;
  transition: var(--transition);
}
.info-content a:hover { color: var(--red); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.social-link {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--black);
  position: relative;
  padding-bottom: 16px;
}
.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(0,150,0,0.08);
  border: 1px solid rgba(0,150,0,0.3);
  border-radius: var(--radius);
  color: #228B22;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ============================================
   FOOTER
============================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 52px;
  width: auto;
  display: inline-block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-nav h4,
.footer-products h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer-nav h4::after,
.footer-products h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--red);
}

.footer-nav ul li,
.footer-products ul li {
  margin-bottom: 10px;
}
.footer-nav a,
.footer-products a {
  font-size: 14px;
  color: #888;
  transition: var(--transition);
}
.footer-nav a:hover,
.footer-products a:hover {
  color: var(--red);
  padding-left: 6px;
}

.footer-contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #888;
}
.footer-contact i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: #888; transition: var(--transition); }
.footer-contact a:hover { color: var(--red); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #555;
}

/* ============================================
   BACK TO TOP
============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image img { height: 380px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hero tablet */
  .slide-content { padding: 0 0 0 48px; max-width: 420px; }
  .slide-tank { width: 58%; right: -2%; }
  .scroll-indicator { display: none; }
  .slider-dots { left: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav — 3 çizgi butonu + X geçişi */
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    width: 32px;
    height: 28px;
    justify-content: center;
    align-items: center;
  }
  .nav-toggle span {
    position: absolute;
    left: 3px;
    right: 3px;
    width: auto;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
  }
  .nav-toggle span:nth-child(1) { top: 6px; }
  .nav-toggle span:nth-child(2) { top: 13px; }
  .nav-toggle span:nth-child(3) { top: 20px; }
  .nav-toggle.open span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
  }

  /* Menü paneli */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 92px 0 32px;
    gap: 0;
    transition: right 0.4s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu li:has(.nav-cta) { border-bottom: none; }
  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--black);
    border-radius: 0;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(204,0,0,0.06);
    color: var(--red);
    padding-left: 32px;
  }
  .nav-link.nav-cta {
    margin: 16px 26px 0;
    padding: 14px 20px;
    width: auto;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white) !important;
  }
  .nav-link.nav-cta:hover {
    background: var(--red-dark);
    color: var(--white) !important;
    padding-left: 20px;
  }

  /* Hero mobile */
  .slide-content { padding: 0 24px 0 24px; max-width: 100%; z-index: 4; }
  .slide-tank { width: 100%; right: 0; opacity: 0.25; z-index: 1; }
  .tank-3d { height: 80vh; }
  .slide-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .slider-btn { width: 38px; height: 38px; font-size: 13px; }
  .slider-dots { left: 24px; }
  .scroll-indicator { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products — mobilde yana kaydırılır sayfa (3 ürün/sayfa, dikey) */
  .products-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-auto-columns: 100%;
    grid-template-columns: unset;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 16px;
    scroll-padding: 0;
  }
  .products-grid::-webkit-scrollbar { display: none; }
  .product-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
    min-width: 0;
  }

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

  /* Refs — mobilde yana kaydırılır sayfa (2 sütun × 4 satır = 8 ref/sayfa) */
  .ref-logo-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-auto-columns: calc(50% - 5px);
    grid-template-columns: unset;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 12px;
  }
  .ref-logo-grid::-webkit-scrollbar { display: none; }
  .ref-logo-grid > .ref-logo-item:nth-child(8n + 1) {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .ref-logo-item { min-width: 0; padding: 14px 10px; }
  .ref-logo-item img { max-height: 42px; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }

  /* Quality */
  .quality-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .q-badge { width: 100%; }
}

/* ============================================
   INTRO SCREEN (Giriş Ekranı)
============================================ */
#introScreen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}
#introScreen.hide {
  transform: translateY(-100%);
  pointer-events: none;
}
.intro-inner {
  text-align: center;
  user-select: none;
}
#introLogo {
  width: 340px;
  max-width: 72vw;
  opacity: 0;
  transform: scale(0.78) translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0, 0, 1);
}
#introLogo.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}
#introLine {
  height: 2px;
  background: var(--red);
  width: 0;
  margin: 20px auto 0;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}
#introLine.expand {
  width: 340px;
}
#introTagline {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 16px;
  opacity: 0;
  transition: opacity 0.55s ease 0.75s;
}
#introTagline.show {
  opacity: 1;
}

/* ============================================
   DİL DEĞİŞTİRİCİ
============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--gray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.lang-btn:hover {
  color: var(--red);
  border-color: rgba(204,0,0,0.3);
}
.lang-btn.active {
  color: var(--red);
  border-color: var(--red);
  background: rgba(204,0,0,0.06);
}
@media (max-width: 768px) {
  .lang-switcher {
    position: absolute;
    top: 18px;
    right: 64px;
  }
}

/* =============================================
   GLİGHTBOX — Resimler tam sığsın
============================================= */
.glightbox-container .gslide-image img {
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.glightbox-container .gslide-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
}
.glightbox-container .ginner-container {
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ============================================
   MOBİL İYİLEŞTİRME (≤768 / ≤480)
   Sadece media query içi — masaüstü stilleri değişmez.
============================================= */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero: dikey akışta büyüsün, slaytlar üst üste + opacity ile smooth geçiş */
  .hero {
    height: auto !important;
    min-height: 560px !important;
    padding: 96px 0 60px;
    overflow: hidden;
    display: block;
    position: relative;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    min-height: 460px;
  }

  .slide {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
    z-index: 1;
  }
  .slide.active {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s ease, visibility 0s linear 0s;
    z-index: 2;
  }

  .slide-content {
    order: 2;
    max-width: 100%;
    padding: 18px 20px 0;
    text-align: center;
  }

  .slide-tag {
    margin-left: auto;
    margin-right: auto;
    font-size: 9px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .slide-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .slide-actions .btn {
    padding: 9px 14px;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    width: auto;
    min-height: 0;
    flex: 0 1 auto;
  }

  .slide-tank {
    order: 1;
    position: relative !important;
    inset: auto !important;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 16px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide-tank::before,
  .slide-tank::after {
    display: none !important;
  }

  .tank-3d {
    position: relative;
    height: auto !important;
    max-height: 240px;
    max-width: 85%;
    width: auto;
    margin: 0 auto;
  }

  .tank-floor-glow {
    display: none;
  }

  /* Yazılar küçülsün */
  .slide-content h1,
  .slide-content h1 span,
  .slide-content h1 .text-red {
    font-size: clamp(16px, 4.5vw, 22px) !important;
    line-height: 1.2;
    word-break: break-word;
  }
  .slide-content h1 {
    margin-bottom: 10px;
  }

  .slide-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  /* Slider kontrolleri hero'nun altında akışta dursun */
  .slider-btn {
    top: 42%;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }

  .slider-dots {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 18px auto 0;
    justify-content: center;
  }

  .scroll-indicator { display: none !important; }

  .about-image {
    width: 100%;
    background: #f5f5f5;
    border-radius: var(--radius);
  }
  .about-image img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
  }

  .stat-item {
    padding: 28px 10px;
  }

  .stat-number {
    font-size: clamp(26px, 9vw, 44px);
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.5px;
    line-height: 1.35;
  }

  .contact-hero-text h2 {
    font-size: clamp(22px, 6vw, 34px);
  }

  .section-title {
    font-size: clamp(22px, 5.5vw, 36px);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 50px;
  }

  .slide-content h1,
  .slide-content h1 span,
  .slide-content h1 .text-red {
    font-size: clamp(15px, 5vw, 19px) !important;
  }

  .slide-content p {
    font-size: 11.5px;
    margin-bottom: 12px;
  }

  .tank-3d {
    max-height: 200px;
    max-width: 90%;
  }

  .slider-dots {
    left: auto;
    bottom: auto;
  }

  .slider-prev { left: 6px; }
  .slider-next { right: 6px; }

  #introLine.expand {
    width: min(340px, 88vw);
  }
}

/* ============================================
   MOBİL PAGER (Ürünler / Referanslar yana ok butonları)
============================================ */
.mobile-pager { display: none; }

@media (max-width: 768px) {
  .mobile-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
  }
  .mp-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(204,0,0,0.35);
    background: rgba(204,0,0,0.08);
    color: var(--red);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
  }
  .mp-btn:hover:not(:disabled) {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
  }
  .mp-btn:disabled {
    opacity: 0.3;
    cursor: default;
  }
  /* Koyu bölüm içindeki (Ürünler) buton kontrastı */
  .section-dark .mp-btn {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    color: #fff;
  }
  .section-dark .mp-btn:hover:not(:disabled) {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
  }
  .mp-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
  .mp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
  }
  .mp-dot.active {
    background: var(--red);
    width: 22px;
    border-radius: 4px;
  }
  .section-dark .mp-dot {
    background: rgba(255,255,255,0.22);
  }
  .section-dark .mp-dot.active {
    background: var(--red);
  }
}

/* ============================================
   LIGHTBOX (Galeri & Sertifika tam ekran)
============================================ */
.tbt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: tbtLbFade 0.2s ease;
}
.tbt-lightbox.open { display: flex; }
@keyframes tbtLbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.tbt-lb-img {
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  user-select: none;
  -webkit-user-drag: none;
}
.tbt-lb-close,
.tbt-lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tbt-lb-close:hover,
.tbt-lb-nav:hover {
  background: var(--red);
  border-color: var(--red);
}
.tbt-lb-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
}
.tbt-lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 16px;
}
.tbt-lb-prev { left: 20px; }
.tbt-lb-next { right: 20px; }

@media (max-width: 768px) {
  .tbt-lightbox { padding: 12px; }
  .tbt-lb-img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .tbt-lb-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .tbt-lb-nav {
    width: 40px;
    height: 40px;
  }
  .tbt-lb-prev { left: 8px; }
  .tbt-lb-next { right: 8px; }
}

/* Galeri ve sertifika: zoom kursörü */
.gallery-item { cursor: zoom-in; }
.quality-card img { cursor: zoom-in; }

/* ============================================
   ÜRÜN DETAY MODAL (tıklayınca büyük görsel + açıklama)
============================================ */
.tbt-product-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: tbtLbFade 0.2s ease;
}
.tbt-product-modal.open { display: flex; }
.tbt-pm-box {
  position: relative;
  background: var(--dark2);
  color: var(--white);
  border-radius: 14px;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.tbt-pm-imgwrap {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 320px;
}
.tbt-pm-imgwrap img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tbt-pm-body {
  padding: 36px 36px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.tbt-pm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(204,0,0,0.4);
  padding: 5px 12px;
  border-radius: 2px;
  width: fit-content;
}
.tbt-pm-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.tbt-pm-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.tbt-pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 3;
}
.tbt-pm-close:hover {
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 768px) {
  .tbt-product-modal { padding: 12px; }
  .tbt-pm-box {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
  .tbt-pm-imgwrap {
    min-height: 0;
    padding: 14px;
    max-height: 38vh;
  }
  .tbt-pm-imgwrap img { max-height: 32vh; }
  .tbt-pm-body {
    padding: 18px 20px 22px;
    gap: 10px;
  }
  .tbt-pm-tag { font-size: 9px; padding: 4px 10px; }
  .tbt-pm-title { font-size: 17px; }
  .tbt-pm-desc { font-size: 13px; line-height: 1.55; }
  .tbt-pm-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

/* ===================== CAPABILITIES (YETENEKLERİMİZ) ===================== */
/* 3 dilli blokların dile göre görünürlüğü (i18n.js html[lang] üzerinden) */
.caps-lang { display: none; }
html[lang="tr"] .caps-lang[data-caps-lang="tr"] { display: block; }
html[lang="en"] .caps-lang[data-caps-lang="en"] { display: block; }
html[lang="de"] .caps-lang[data-caps-lang="de"] { display: block; }
/* Hiç lang eşleşmezse (fallback) İngilizceyi göster */
html:not([lang="tr"]):not([lang="de"]) .caps-lang[data-caps-lang="en"] { display: block; }

.capabilities-section {
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  padding: 90px 0;
  position: relative;
}

.capabilities-section .section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.capabilities-section .section-subtitle {
  color: #4a5160;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 16px;
}

.caps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 36px;
}

.caps-block {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 4px 16px rgba(20, 30, 60, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex: 1 1 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}
.caps-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20, 30, 60, 0.08);
  border-color: #cfd6e0;
}

.caps-block h3 {
  font-size: 15px;
  font-weight: 800;
  color: #b00020;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f2d7db;
}

.caps-list-wrap {
  position: relative;
  max-height: 240px;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
}
.caps-block.expanded .caps-list-wrap {
  max-height: 2400px;
}
.caps-list-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.caps-block.expanded .caps-list-wrap::after { opacity: 0; }
.caps-block.no-overflow .caps-list-wrap::after { opacity: 0; }

.caps-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caps-block li {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2a2f3a;
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dashed #eef1f5;
}
.caps-block li:last-child { border-bottom: none; }
.caps-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b00020;
}

.caps-toggle {
  margin-top: 14px;
  align-self: flex-start;
  background: transparent;
  border: 1.5px solid #e5e9ef;
  color: #b00020;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.caps-toggle i {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.caps-toggle:hover {
  background: #b00020;
  color: #fff;
  border-color: #b00020;
}
.caps-block.expanded .caps-toggle i { transform: rotate(180deg); }
.caps-block.no-overflow .caps-toggle { display: none; }

@media (max-width: 1024px) {
  .caps-block { flex: 1 1 calc(50% - 12px); max-width: calc(50% - 12px); }
}
@media (max-width: 560px) {
  .capabilities-section { padding: 60px 0; }
  .caps-grid { gap: 16px; }
  .caps-block { flex: 1 1 100%; max-width: 100%; padding: 18px 18px 14px; }
  .caps-block h3 { font-size: 14px; }
  .caps-block li { font-size: 13px; }
  .caps-list-wrap { max-height: 200px; }
}

.footer-keywords {
  padding: 18px 0 8px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}
.footer-keywords p { margin: 0; }
.footer-keywords strong { color: rgba(255, 255, 255, 0.8); font-weight: 700; }

@media (max-width: 560px) {
  .footer-keywords { font-size: 11px; line-height: 1.7; }
}
