/* ==========================================================================
   TAKIM BİLEME (www.takimbileme.com) — Modern Flagship Hardware Design System
   Akbal Makina End. San. ve Dış Tic. Ltd. Şti.
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-tile-light: #f5f5f7;
  --bg-tile-dark: #000000;
  --bg-tile-obsidian: #0b0f17;
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-on-dark: #f5f5f7;
  --text-muted-on-dark: #a1a1a6;
  --brand-blue: #0071e3;
  --brand-blue-hover: #0077ed;
  --brand-blue-dark: #2997ff;
  --brand-gold: #f5a623;
  --brand-green: #10b981;
  --border-hairline: rgba(0, 0, 0, 0.08);
  --border-hairline-dark: rgba(255, 255, 255, 0.12);
  --font-sans: system-ui, BlinkMacSystemFont, 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: system-ui, BlinkMacSystemFont, 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --container-wide: 1280px;
  --container-editorial: 980px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  timeline-scope: --tl-1, --tl-2, --tl-3, --tl-4;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.016em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .tile-headline, .section-title {
  text-wrap: balance;
  letter-spacing: -0.028em;
  line-height: 1.08;
  font-weight: 700;
}

p, li, blockquote {
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 640px;
}

.container {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-editorial);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

/* ==========================================================================
   1. MINIMAL FROSTED-GLASS GLOBAL NAVIGATION & STICKY LOCAL SUBNAV
   ========================================================================== */
.scroll-laser-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 130;
  background: transparent;
  pointer-events: none;
}

.scroll-laser-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-dark) 65%, var(--brand-gold) 100%);
  transform-origin: left center;
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes pageScrollLaser {
    from { width: 0%; }
    to { width: 100%; }
  }
  .scroll-laser-fill {
    animation: pageScrollLaser auto linear both;
    animation-timeline: scroll(root block);
    animation-range: 0% 100%;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 43px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  scroll-target-group: auto;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(29, 29, 31, 0.82);
  letter-spacing: -0.01em;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.main-nav a:is(:target-current, .\:target-current, .active) {
  color: var(--brand-blue);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--brand-blue);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.local-subnav {
  display: none;
}

/* ==========================================================================
   2. PILL BUTTONS & INTERACTIVE LINKS
   ========================================================================== */
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  padding: 0.72rem 1.45rem;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 140ms var(--ease-spring), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.button:active,
.btn:active {
  transform: scale(0.97);
}

.button-primary,
.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
}

.button-secondary,
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.theme-dark .button-secondary,
.bg-dark .button-secondary {
  color: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.button-small {
  font-size: 0.76rem;
  padding: 0.36rem 0.92rem;
  font-weight: 600;
}

.btn-spark {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn-whatsapp {
  background: #1d1d1f;
  color: #ffffff;
}

.theme-dark .btn-whatsapp {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .btn-primary:hover,
  .btn-spark:hover {
    background: var(--brand-blue-hover);
  }
  .button-secondary:hover,
  .btn-outline:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
  }
  .btn-whatsapp:hover {
    background: #333336;
  }
}

.tile-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ==========================================================================
   3. FULL-BLEED EDITORIAL HERO TILES & 2-COLUMN PROMO GRID
   ========================================================================== */
.section-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  padding-bottom: 12px;
}

.tile-wrapper {
  position: relative;
  background: var(--bg-tile-light);
  color: var(--text-primary);
  text-align: center;
  padding: clamp(2.25rem, 3.8vw, 3.25rem) 1.5rem clamp(2.25rem, 3.8vw, 3.25rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.tile-wrapper.theme-dark {
  background: radial-gradient(1200px 600px at 50% 75%, #111a2e 0%, #05070c 65%, #000000 100%);
  color: var(--text-on-dark);
}

.tile-wrapper.theme-white {
  background: #ffffff;
  border-bottom: 1px solid var(--border-hairline);
}

.tile-copy-wrapper {
  max-width: 760px;
  margin-inline: auto;
  z-index: 2;
}

.tile-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--brand-blue);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.theme-dark .tile-eyebrow {
  color: var(--brand-gold);
}

.tile-headline {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.06;
  margin-bottom: 0.55rem;
}

.tile-subhead {
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.38;
  max-width: 680px;
  margin-inline: auto;
}

.theme-dark .tile-subhead {
  color: var(--text-muted-on-dark);
}

.tile-callout {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.tile-image-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 1.65rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-closeup-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 940px;
}

.hero-closeup-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0.55rem;
  text-align: left;
  transition: transform 240ms var(--ease-spring), border-color 200ms ease;
}

.hero-closeup-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41, 151, 255, 0.45);
}

.hero-closeup-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-closeup-card span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #f5f5f7;
  padding: 0 0.25rem 0.2rem;
}

/* Telemetry Ribbon inside Hero */
.hero-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 940px;
  margin-top: 1.25rem;
}

.ribbon-cell {
  background: rgba(11, 15, 23, 0.88);
  padding: 1.25rem 1rem;
  text-align: center;
}

.ribbon-cell .ribbon-val {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: block;
}

.ribbon-cell .ribbon-label {
  font-size: 0.78rem;
  color: var(--text-muted-on-dark);
  margin-top: 0.25rem;
  display: block;
}

/* 2-Column Promo Grid (12px gap, 12px side margin) */
.section-promo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 12px;
  background: #ffffff;
  max-width: 1440px;
  margin-inline: auto;
}

.section-promo .tile-wrapper {
  border-radius: 24px;
  min-height: 350px;
  padding: 2.75rem 2.25rem 2.35rem;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--border-hairline);
}

.section-promo .tile-headline {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.section-promo .tile-subhead {
  font-size: 1.02rem;
  line-height: 1.48;
  max-width: 480px;
}

.promo-spec-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.promo-pill {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.42rem 0.95rem;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.055);
  color: var(--text-primary);
}

.theme-dark .promo-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

/* ==========================================================================
   4. PINNED 4-STAGE SCROLLYTELLING CNC SIMULATION
   ========================================================================== */
.scrollytelling-section {
  background: #000000;
  color: #f5f5f7;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--brand-blue-dark);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted-on-dark);
  line-height: 1.5;
}

.scrollytelling-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.5rem;
  align-items: start;
}

.tracked-steps {
  display: flex;
  flex-direction: column;
  gap: 18vh;
  padding-bottom: 10vh;
}

#tracked > section:nth-of-type(1) { view-timeline: --tl-1 block; }
#tracked > section:nth-of-type(2) { view-timeline: --tl-2 block; }
#tracked > section:nth-of-type(3) { view-timeline: --tl-3 block; }
#tracked > section:nth-of-type(4) { view-timeline: --tl-4 block; }

.scroll-step-card {
  background: #10141d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-blue-dark);
  display: block;
  margin-bottom: 0.55rem;
}

.scroll-step-card h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.scroll-step-card p {
  font-size: 0.96rem;
  color: var(--text-muted-on-dark);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.step-telemetry-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.step-telemetry-chip {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 0.75rem 1rem;
}

.step-telemetry-chip span {
  font-size: 0.68rem;
  color: var(--text-muted-on-dark);
  display: block;
}

.step-telemetry-chip strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #ffffff;
}

.sticky-cnc-stage {
  position: sticky;
  top: 120px;
}

.cnc-stage-card {
  background: #10141d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 1.75rem;
}

.cnc-stage-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted-on-dark);
  margin-bottom: 1rem;
}

.cnc-rig-canvas {
  background: #070a10;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.cnc-rig-canvas svg {
  width: 100%;
  height: auto;
}

.cnc-axis-readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.axis-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.65rem;
  text-align: center;
}

.axis-box span {
  font-size: 0.64rem;
  color: var(--text-muted-on-dark);
  display: block;
}

.axis-box strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ffffff;
}

#animated {
  display: grid;
  grid-template-columns: 1fr;
}

#animated section {
  grid-area: 1 / 1;
  background: rgba(0, 113, 227, 0.14);
  border: 1px solid rgba(41, 151, 255, 0.35);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
}

#animated section:first-child,
#animated section.is-active {
  opacity: 1;
}

#animated section h4 {
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

#animated section p {
  font-size: 0.8rem;
  color: var(--text-muted-on-dark);
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes stagePulse {
    0%, 15% { opacity: 0; }
    30%, 70% { opacity: 1; }
    85%, 100% { opacity: 0; }
  }
  #animated section:nth-of-type(1) { animation: stagePulse auto linear both; animation-timeline: --tl-1; }
  #animated section:nth-of-type(2) { animation: stagePulse auto linear both; animation-timeline: --tl-2; }
  #animated section:nth-of-type(3) { animation: stagePulse auto linear both; animation-timeline: --tl-3; }
  #animated section:nth-of-type(4) { animation: stagePulse auto linear both; animation-timeline: --tl-4; }
}

/* ==========================================================================
   5. EDITORIAL SPECIFICATION TABLE & INTERACTIVE ROI / WHEEL SUITE
   ========================================================================== */
.editorial-section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: #ffffff;
}

.editorial-section.bg-light {
  background: var(--bg-tile-light);
}

.editorial-section.bg-dark {
  background: #000000;
  color: #f5f5f7;
}

.spec-comparison-list {
  border-top: 1px solid var(--border-hairline);
}

.spec-row-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-hairline);
  align-items: baseline;
}

.spec-row-item span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-row-item strong {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.engineering-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.calc-panel,
.wheel-selector-panel {
  background: #ffffff;
  color: var(--text-primary);
  border-radius: 28px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-hairline);
}

.bg-dark .calc-panel,
.bg-dark .wheel-selector-panel {
  background: #10141d;
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.1);
}

.calc-slider-group {
  margin-bottom: 1.15rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brand-blue);
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: inherit;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--bg-tile-light);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}

.bg-dark .form-select,
.bg-dark .form-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.roi-stat-box {
  background: var(--bg-tile-light);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.bg-dark .roi-stat-box {
  background: rgba(255, 255, 255, 0.05);
}

.roi-stat-box.highlight {
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.35);
}

.roi-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}

.roi-stat-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 0.25rem;
  display: block;
}

.selector-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.wheel-recommendation-box {
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: 18px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.wheel-code-badge {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0.3rem 0 0.5rem;
}

.bg-dark .wheel-code-badge {
  color: var(--brand-blue-dark);
}

/* ==========================================================================
   6. SUBPAGE PRODUCT GRID & FAQ ACCORDION
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-tile-light);
  border-radius: 28px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 280ms var(--ease-spring);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.status-pill {
  color: var(--brand-blue);
  font-weight: 700;
}

.product-thumb {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}

.product-thumb.thumb-cover {
  padding: 0;
  background: #0d1320;
}

.product-thumb img {
  width: 100%;
  max-width: 280px;
  height: 175px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}

.product-thumb.thumb-cover img {
  max-width: none;
  height: 195px;
  object-fit: cover;
}

.product-category-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.product-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.product-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.specs-mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.specs-mini-table th,
.specs-mini-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}

.specs-mini-table th {
  color: var(--text-muted);
  font-weight: 500;
}

.specs-mini-table td {
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
}

.product-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
  padding: 1.35rem 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item summary span:last-child {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 220ms var(--ease-spring), color 180ms ease;
  flex-shrink: 0;
}

.faq-item[open] summary span:last-child {
  transform: rotate(45deg);
  color: var(--brand-blue);
}

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

.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   7. MOBILE POPOVER DRAWER & CLEAN EDITORIAL FOOTER
   ========================================================================== */
.drawer-trigger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 980px;
  border: 1px solid var(--border-hairline);
  background: transparent;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.Drawer {
  --drawer-width: min(22em, 84dvw);
  --drawer-backdrop: 0;
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.Drawer::backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
}

.Drawer-scroller {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
}

.Drawer-sheet {
  width: var(--drawer-width);
  height: 100dvh;
  background: #ffffff;
  color: var(--text-primary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer-close-btn {
  background: var(--bg-tile-light);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.drawer-nav-list a {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.site-footer {
  background: var(--bg-tile-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-hairline);
}

.footer-footnotes {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   8. CLOSE-UP WORK & CLAMPING FRAMES GALLERY (UYGULAMA KESİTLERİ)
   ========================================================================== */
.video-theater-section {
  background: var(--bg-tile-obsidian);
  color: var(--text-on-dark);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.video-chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.video-chapter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1rem;
  color: var(--text-on-dark);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 240ms var(--ease-spring), border-color 200ms ease, background-color 200ms ease;
}

.video-chapter-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(41, 151, 255, 0.45);
  transform: translateY(-3px);
}

.chapter-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1320;
}

.chapter-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chapter-time-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.76);
  color: #2997ff;
  backdrop-filter: blur(6px);
}

.chapter-title-tr {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f5f5f7;
}

.chapter-title-en {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted-on-dark);
}

@media (max-width: 1024px) {
  .main-nav,
  .local-subnav-links {
    display: none;
  }
  .drawer-trigger {
    display: inline-flex;
  }
  .section-promo,
  .scrollytelling-grid,
  .engineering-tools-grid,
  .catalog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .video-chapters-grid,
  .hero-closeup-strip,
  .hero-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .sticky-cnc-stage {
    position: relative;
    top: 0;
  }
  .tracked-steps {
    gap: 1.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-closeup-strip,
  .hero-metrics-ribbon,
  .cnc-axis-readout,
  .roi-results-grid,
  .selector-controls,
  .spec-row-item,
  .video-chapters-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #animated section {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   9. AKBAL MAKİNA SHOWROOM CONTACT & GOOGLE MAPS SHOWCASE
   ========================================================================== */
.contact-map-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.contact-map-copy .tile-headline {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.contact-map-copy .tile-subhead {
  margin-inline: 0;
  max-width: 540px;
}

.contact-map-copy .tile-ctas {
  justify-content: flex-start;
}

.showroom-map-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 0.75rem;
  width: 100%;
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.55);
}

.showroom-map-frame {
  width: 100%;
  height: 290px;
  border: 0;
  border-radius: 16px;
  display: block;
  background: #0d1320;
}

.showroom-map-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.4rem 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted-on-dark);
}

.showroom-map-caption a {
  color: #2997ff;
  font-weight: 600;
  white-space: nowrap;
}

.showroom-map-caption a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-map-copy .tile-subhead {
    margin-inline: auto;
  }
  .contact-map-copy .tile-ctas {
    justify-content: center;
  }
}

/* ==========================================================================
   10. HIGH-REVENUE B2B PACKAGES, COMPARISON MATRIX, OSB & STICKY DOCK
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.package-card {
  background: var(--bg-tile-light);
  border: 1px solid var(--border-hairline);
  border-radius: 28px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  transition: transform 260ms var(--ease-spring), box-shadow 220ms ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
  background: #0b132b;
  color: #f5f5f7;
  border: 2px solid #0071e3;
  box-shadow: 0 24px 52px -18px rgba(0, 113, 227, 0.32);
}

.package-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 980px;
  background: rgba(0, 113, 227, 0.12);
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.package-card.featured .package-badge {
  background: #FD6200;
  color: #ffffff;
}

.package-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.45rem;
}

.package-card.featured h3 {
  color: #ffffff;
}

.package-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.package-card.featured .package-desc {
  color: var(--text-muted-on-dark);
}

.package-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.1rem;
}

.package-card.featured .package-list {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.package-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.42;
}

.package-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-blue);
}

.package-card.featured .package-list li svg {
  color: #2997ff;
}

.btn-accent-spark {
  background: #FD6200;
  color: #ffffff;
  border: 1px solid #FD6200;
}

@media (hover: hover) and (pointer: fine) {
  .btn-accent-spark:hover {
    background: #e35600;
    border-color: #e35600;
  }
}

/* Comparison Matrix Table (Modern Responsive Container + Sticky Headers) */
.comparison-table-wrap {
  width: 100%;
  max-inline-size: 100%;
  overflow: auto;
  container-type: inline-size;
  border-radius: 24px;
  border: 1px solid var(--border-hairline);
  background: #ffffff;
  box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.06);
}

.comparison-table-wrap:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.comparison-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.comparison-matrix-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

.comparison-matrix-table th,
.comparison-matrix-table td {
  padding: 1.05rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.comparison-matrix-table thead th {
  background: var(--bg-tile-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-matrix-table thead th.col-highlight {
  background: #0b132b;
  color: #ffffff;
}

.comparison-matrix-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #ffffff;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-matrix-table tbody td.col-highlight {
  background: rgba(0, 113, 227, 0.06);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-matrix-table tbody tr:last-child th,
.comparison-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

@container (width < 640px) {
  .comparison-matrix-table,
  .comparison-matrix-table thead,
  .comparison-matrix-table tbody,
  .comparison-matrix-table tr,
  .comparison-matrix-table th,
  .comparison-matrix-table td {
    display: block;
  }

  .comparison-matrix-table thead {
    display: none;
  }

  .comparison-matrix-table tbody tr {
    border-bottom: 2px solid var(--border-hairline);
  }

  .comparison-matrix-table tbody tr:last-child {
    border-bottom: 0;
  }

  .comparison-matrix-table tbody th {
    position: sticky;
    inset-block-start: 0;
    background: var(--bg-tile-light);
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
  }

  .comparison-matrix-table tbody td {
    padding: 0.75rem 1.1rem;
  }

  .comparison-matrix-table tbody td[data-label]::before {
    content: attr(data-label) ": ";
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
  }
}

/* OSB Industrial Zones Grid */
.osb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.osb-card {
  background: var(--bg-tile-light);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: 1.35rem;
}

.osb-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.osb-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

/* Engineering Guide Hub Cards & Article Body */
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.guide-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 240ms var(--ease-spring), border-color 200ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}

.guide-card h3 {
  font-size: 1.2rem;
  margin: 0.35rem 0 0.5rem;
}

.guide-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.52;
}

.tech-article-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
}

.tech-article-body h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-top: 0.75rem;
}

.tech-article-body p {
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Consumable B2B Order Builder & Free Shipping Progress Bar */
.sarf-builder-panel {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 28px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 16px 42px -16px rgba(0, 0, 0, 0.07);
  margin-bottom: 2.75rem;
}

.shipping-bar-box {
  background: var(--bg-tile-light);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.shipping-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.shipping-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #0071e3, #10b981);
  border-radius: 980px;
  transition: width 260ms var(--ease-spring);
}

.sarf-builder-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hairline);
}

.sarf-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.sarf-qty-info strong {
  display: block;
  font-size: 0.96rem;
}

.sarf-qty-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tile-light);
  border: 1px solid var(--border-hairline);
  border-radius: 980px;
  padding: 0.25rem 0.4rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.qty-btn:active {
  transform: scale(0.94);
}

.qty-val {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

/* Floating Desktop WhatsApp Dock & Mobile Sticky Action Bar */
.floating-wa-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0b132b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 980px;
  padding: 0.72rem 1.2rem 0.72rem 0.95rem;
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, 0.42);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 220ms var(--ease-spring), background-color 180ms ease;
}

.floating-wa-dock:hover {
  transform: translateY(-3px);
  background: #0066cc;
}

.floating-wa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.mobile-sticky-bar {
  display: none;
}

@media (max-width: 1024px) {
  .packages-grid,
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
  .osb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
  .floating-wa-dock {
    display: none;
  }
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 995;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem max(0.65rem, env(safe-area-inset-bottom));
    background: rgba(11, 19, 43, 0.94);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .mobile-sticky-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 0.75rem;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
  }
  .mobile-bar-call {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mobile-bar-wa {
    background: #FD6200;
    color: #ffffff;
  }
}

@media (max-width: 640px) {
  .osb-grid {
    grid-template-columns: 1fr;
  }
  .sarf-qty-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .local-subnav {
    background: #ffffff;
    backdrop-filter: none;
  }
}
