/* 
  MAHİR ISIL İŞLEM - INDUSTRIAL CSS DESIGN SYSTEM
  Created according to skill_pro_web.md guidelines.
  - 8px Spacing System: 8, 16, 24, 32, 48, 64, 96px
  - Brand Palette: Dark Carbon Slate + Molten Ember Orange Accent
  - Light Mode Theme Support with #F1F1F1 Style Backgrounds
  - Official Mahir Isıl İşlem Brand Logo & Favicon Integration
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* 8px Spacing System Tokens */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  /* Dark Theme Palette (Default) */
  --bg-primary: #0B0F17;
  --bg-surface: #121824;
  --bg-surface-elevated: #1A2234;
  --bg-surface-hover: #222C42;
  --bg-section-alt: #0E1420;
  --bg-topbar: #070A0F;

  --accent-ember: #FF5722;
  --accent-ember-hover: #F4511E;
  --accent-ember-light: #FF7D54;
  --accent-ember-glow: rgba(255, 87, 34, 0.2);
  --accent-ember-glow-strong: rgba(255, 87, 34, 0.4);

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  --border-subtle: #1E293B;
  --border-medium: #2B3952;
  --border-highlight: rgba(255, 87, 34, 0.35);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(255, 87, 34, 0.25);
}

/* Light Theme Palette (#F1F1F1 / #F8FAFC) */
[data-theme="light"] {
  --bg-primary: #F1F3F6;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #E2E8F0;
  --bg-surface-hover: #CBD5E1;
  --bg-section-alt: #E8ECEF;
  --bg-topbar: #E2E8F0;

  --accent-ember: #E64A19;
  --accent-ember-hover: #D84315;
  --accent-ember-light: #F4511E;
  --accent-ember-glow: rgba(230, 74, 25, 0.12);
  --accent-ember-glow-strong: rgba(230, 74, 25, 0.25);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-highlight: rgba(230, 74, 25, 0.4);

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px -5px rgba(230, 74, 25, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-ember);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-1) 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

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

.top-bar-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--text-secondary);
  white-space: nowrap;
}

.top-bar-item i, .top-bar-item svg {
  color: var(--accent-ember);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-ember-glow);
  border: 1px solid var(--border-highlight);
  color: var(--accent-ember-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

[data-theme="light"] .navbar {
  background: rgba(241, 243, 246, 0.92);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: var(--space-3);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 2px 8px rgba(230, 74, 25, 0.3));
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: var(--space-4);
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-1) 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-ember);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Theme Toggle Switcher Button */
.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-ember);
  color: var(--accent-ember-light);
  transform: rotate(15deg);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; color: var(--accent-ember); }
[data-theme="light"] .moon-icon { display: none; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-ember);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--accent-ember-glow);
}

.btn-primary:hover {
  background: var(--accent-ember-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-ember-glow-strong);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  color: var(--accent-ember-light);
  transform: translateY(-2px);
}

/* Section Common Layout */
.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  position: relative;
  transition: background-color var(--transition-smooth);
}

.section-alt {
  background-color: var(--bg-section-alt);
}

.section-header {
  margin-bottom: var(--space-8);
  max-width: 680px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--accent-ember);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
}

.section-title {
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-12);
  background: radial-gradient(circle at 75% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(30, 41, 59, 0.3) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .hero-section {
  background: radial-gradient(circle at 75% 20%, rgba(230, 74, 25, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(203, 213, 225, 0.5) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-ember);
  box-shadow: 0 0 10px var(--accent-ember);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

.hero-title {
  margin-bottom: var(--space-3);
}

.hero-title span {
  color: var(--accent-ember);
  background: linear-gradient(135deg, #FF7D54, var(--accent-ember));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-number span {
  color: var(--accent-ember);
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Showcase Frame */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-overlay-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  background: rgba(18, 24, 36, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

[data-theme="light"] .hero-overlay-badge {
  background: rgba(255, 255, 255, 0.92);
}

.overlay-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-ember-glow);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ember-light);
  flex-shrink: 0;
}

.overlay-badge-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.overlay-badge-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* About Section Visual Image Composition */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-image-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
  height: 380px;
}

.about-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-overlay-box {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.about-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-card);
}

.about-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-6);
  width: 60px;
  height: 3px;
  background: var(--accent-ember);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.feature-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  transition: var(--transition-fast);
}

.feature-pill:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.feature-pill-icon {
  color: var(--accent-ember);
  background: var(--accent-ember-glow);
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-pill-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-pill-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services Section Card Banners */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-4);
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 25px rgba(255, 87, 34, 0.15);
}

.service-card-img-banner {
  width: calc(100% + var(--space-8));
  height: 150px;
  margin-top: calc(-1 * var(--space-4));
  margin-left: calc(-1 * var(--space-4));
  margin-right: calc(-1 * var(--space-4));
  margin-bottom: var(--space-3);
  overflow: hidden;
  position: relative;
}

.service-card-img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-img-banner img {
  transform: scale(1.06);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ember);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--accent-ember);
  color: #FFF;
  border-color: var(--accent-ember);
}

.service-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.service-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-ember-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}

.service-btn:hover {
  color: var(--accent-ember-hover);
}

/* NEW: Interactive Industrial Gallery Showcase Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-4);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  transition: opacity var(--transition-fast);
}

.gallery-overlay h4 {
  color: #FFF;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.gallery-overlay p {
  color: var(--text-muted);
  font-size: 0.825rem;
}

.gallery-zoom-icon {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  background: rgba(255, 87, 34, 0.85);
  color: #FFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Modal Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-ember);
  color: #FFF;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Interactive Heat Process Finder Calculator */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-8);
  box-shadow: var(--shadow-glow);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-select, .form-input {
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent-ember);
  box-shadow: 0 0 0 3px var(--accent-ember-glow);
}

.calc-result-box {
  background: var(--bg-primary);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-badge {
  color: var(--accent-ember);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Steel Groups Filterable Selector */
.steel-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.steel-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.steel-tab:hover, .steel-tab.active {
  background: var(--accent-ember-glow);
  border-color: var(--accent-ember);
  color: var(--accent-ember-light);
}

.steel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}

.steel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: var(--transition-fast);
}

.steel-card:hover {
  border-color: var(--border-highlight);
  transform: translateX(4px);
  background: var(--bg-surface-elevated);
}

.steel-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ember);
  flex-shrink: 0;
}

.steel-card-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Quality Certificates Section Visual Grid */
.quality-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .quality-box {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.quality-lab-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  height: 220px;
  margin-top: var(--space-4);
}

.quality-lab-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-badges-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cert-badge-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cert-icon {
  color: #10B981;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cert-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.cert-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Contact & Dual Location Section */
.location-tab-header {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-2);
  overflow-x: auto;
}

.loc-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.loc-tab-btn.active {
  background: var(--accent-ember-glow);
  color: var(--accent-ember-light);
  border: 1px solid var(--border-highlight);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ember);
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-info-content p, .contact-info-content a {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-info-content a:hover {
  color: var(--accent-ember-light);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Footer Logo Styling */
.footer-brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-2);
}

/* Footer */
.footer {
  background-color: var(--bg-topbar);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background-color var(--transition-smooth);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--accent-ember-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

/* Responsive Breakpoints & Mobile Drawer */
@media (max-width: 1083px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-3);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-card);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .top-bar-info {
    font-size: 0.775rem;
  }
  .brand-logo-img {
    height: 38px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
