/* ============================================================
   A&K Machine & Fabrication Shop — Main Stylesheet
   Industrial Dark Theme | Orange Accent
   ============================================================ */

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

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg-dark:       #09111e;
  --bg-mid:        #0f1925;
  --bg-card:       #131f30;
  --bg-card-hover: #1a2b40;
  --bg-nav:        rgba(9, 17, 30, 0.97);
  --orange:        #f97316;
  --orange-dark:   #ea580c;
  --orange-light:  #fb923c;
  --orange-glow:   rgba(249, 115, 22, 0.12);
  --orange-border: rgba(249, 115, 22, 0.35);
  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;
  --border:        rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.12);
  --radius:        4px;
  --radius-lg:     10px;
  --shadow:        0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.35);
  --transition:    0.28s ease;
  --nav-height:    76px;
  --container:     1200px;
  --font-head:     'Oswald', sans-serif;
  --font-body:     'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem);   font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }

p { color: var(--text-muted); line-height: 1.78; }

.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.accent-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.accent-line::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ============================================================
   Layout
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

.section       { padding: 100px 0; }
.section-sm    { padding: 60px 0; }
.section-dark  { background: var(--bg-dark); }
.section-mid   { background: var(--bg-mid); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { color: var(--text); margin-bottom: 16px; }
.section-header p  { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.divider { width: 56px; height: 3px; background: var(--orange); margin: 18px auto 0; border-radius: 2px; }
.divider-left { margin: 18px 0 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange-border);
}
.btn-outline-orange:hover {
  background: var(--orange-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
  border-bottom-color: rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2px;
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  border-bottom-color: var(--orange);
}
.nav-chevron {
  font-size: 0.6rem;
  transition: transform 0.2s;
  display: inline-block;
}
.nav-item:hover .nav-chevron,
.nav-item.open .nav-chevron { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 800px;
  background: #0d1929;
  border: 1px solid var(--border-bright);
  border-top: 2px solid var(--orange);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 999;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.nav-item:hover .mega-menu,
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
}
.mega-inner {
  display: grid;
  padding: 36px 32px;
  gap: 32px;
}
.mega-inner.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mega-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-col-title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-bright);
}
.mega-col ul li a {
  display: block;
  padding: 5px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}
.mega-col ul li a:hover {
  color: var(--text);
  padding-left: 8px;
}
.mega-col ul li.sub-item a {
  padding-left: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.mega-col ul li.sub-item a::before { content: '↳ '; color: var(--orange); }
.mega-col ul li.sub-item a:hover { color: var(--text-muted); }
.mega-highlight {
  background: var(--orange-glow);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 12px;
}
.mega-highlight .mh-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.mega-highlight .mh-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.mega-highlight .mh-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 600;
}

/* Simple Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 230px;
  background: #0d1929;
  border: 1px solid var(--border-bright);
  border-top: 2px solid var(--orange);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 999;
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  color: var(--text);
  background: var(--orange-glow);
  padding-left: 26px;
}

/* Nav CTA area */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--orange); }
.nav-phone i { color: var(--orange); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  z-index: 997;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  padding: 20px 28px 40px;
}
.mobile-nav.open { display: flex; }

.mob-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mob-link .icon { color: var(--orange); font-size: 0.9rem; transition: transform 0.2s; }
.mob-link.open-sub .icon { transform: rotate(45deg); }

.mob-sub {
  display: none;
  flex-direction: column;
  background: var(--bg-mid);
  border-radius: var(--radius);
  margin: 4px 0 8px;
  overflow: hidden;
}
.mob-sub.visible { display: flex; }
.mob-sub a {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}
.mob-sub a:last-child { border-bottom: none; }
.mob-sub a:hover { color: var(--orange); padding-left: 28px; }

.mob-contact-card {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}
.mob-contact-card .label { display: block; margin-bottom: 10px; }
.mob-contact-card a { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.mob-contact-card a:last-of-type { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1565945970893-5f8c84de8427?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.22) saturate(0.5);
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(9, 17, 30, 0.92) 0%,
    rgba(9, 17, 30, 0.45) 55%,
    rgba(9, 17, 30, 0.75) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-text { max-width: 780px; padding: 80px 0 60px; }
.hero h1 { color: var(--text); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-desc {
  font-size: 1.12rem;
  color: rgba(241,245,249,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-bright);
  border-top: 1px solid var(--border-bright);
}
.hero-stat {
  background: rgba(9, 17, 30, 0.88);
  padding: 28px 32px;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 150px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.15) saturate(0.4);
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark) 30%, rgba(9,17,30,0.7) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 { color: var(--text); margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { font-size: 1.06rem; max-width: 600px; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover {
  border-color: var(--orange-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(249,115,22,0.08);
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  background: var(--orange-glow);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 22px;
  transition: background var(--transition);
}
.card:hover .card-icon { background: rgba(249,115,22,0.2); }
.card h3 { color: var(--text); font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.875rem; margin-bottom: 22px; }
.card-link {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.card-link:hover { gap: 14px; }

/* Small service tag cards */
.service-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.service-tag:hover {
  border-color: var(--orange-border);
  color: var(--text);
  background: var(--orange-glow);
}
.service-tag i { color: var(--orange); }

/* ============================================================
   Features / Why Us
   ============================================================ */
.features-section { position: relative; }
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.feature-item:hover { background: var(--bg-card); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.feature-text h4 { color: var(--text); margin-bottom: 7px; }
.feature-text p { font-size: 0.875rem; }

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1929 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-bright);
}
.stat-item {
  background: var(--bg-dark);
  padding: 40px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   Industries Grid
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.industry-card:hover {
  border-color: var(--orange-border);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.industry-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.industry-name {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
.industry-card:hover .industry-name { color: var(--orange); }

/* ============================================================
   Split Section (About, solutions detail)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-content { order: 1; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split-media-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 148px; height: 148px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  box-shadow: 0 8px 30px rgba(249,115,22,0.4);
}
.split-media-badge .big { font-size: 2.8rem; font-weight: 700; line-height: 1; }
.split-media-badge .sm { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; margin-top: 4px; }

.split-content h2 { color: var(--text); margin-bottom: 18px; }
.split-content > p { margin-bottom: 28px; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.check-item::before {
  content: '✓';
  min-width: 24px; height: 24px;
  background: var(--orange-glow);
  border: 1px solid var(--orange-border);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item.span2 { grid-column: span 2; }
.gallery-item.tall   { aspect-ratio: 3/4; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f1929 0%, var(--bg-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--text); margin-bottom: 14px; }
.cta-section p { font-size: 1.08rem; max-width: 560px; margin: 0 auto 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* Contact cards row */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--orange-border);
  transform: translateY(-3px);
}
.contact-card i { font-size: 1.8rem; color: var(--orange); margin-bottom: 14px; display: block; }
.contact-card h4 { color: var(--text); margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 0.9rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--orange); }

/* ============================================================
   Accordion
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.acc-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  transition: background var(--transition);
  gap: 16px;
}
.acc-header:hover { background: var(--orange-glow); }
.acc-icon {
  color: var(--orange);
  font-size: 1.2rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.acc-item.open .acc-body { max-height: 400px; }
.acc-body-inner { padding: 0 24px 22px; }
.acc-body-inner p { font-size: 0.875rem; }

/* ============================================================
   Form
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select option { background: var(--bg-card); color: var(--text); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #060d17;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 18px 0 24px;
}
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition), padding-left var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 6px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.fci-icon { color: var(--orange); margin-top: 2px; flex-shrink: 0; font-size: 0.9rem; }
.fci-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.fci-text a { color: var(--text-muted); transition: color var(--transition); }
.fci-text a:hover { color: var(--orange); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 0.78rem; color: var(--text-dim); }

/* ============================================================
   Utility
   ============================================================ */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }

.badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--orange-glow);
  border: 1px solid var(--orange-border);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orange-box {
  background: var(--orange-glow);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.orange-box h3 { color: var(--text); margin-bottom: 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-media,
  .split.reverse .split-content { order: unset; }
  .split-media-badge { right: 16px; bottom: -16px; width: 120px; height: 120px; }
  .split-media-badge .big { font-size: 2.2rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span2 { grid-column: span 1; }

  .hero-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  :root { --nav-height: 68px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-bar { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .hero-bar { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
}
