/* ============================================================
   ASCENT — Industrial Design System
   Brand palette: #0078C8 (cobalt blue) · #F5A623 (amber)
   Direction: simple, honest, industrial — matches the logo
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand */
  --blue:       #0078C8;
  --blue-deep:  #005BA0;
  --blue-bg:    #E8F4FD;
  --amber:      #F5A623;
  --amber-deep: #D48B10;

  /* Neutral scale */
  --ink:    #0B1120;
  --steel:  #18273A;
  --dark2:  #1F3048;
  --slate:  #3D5166;
  --mist:   #7A8FA6;
  --smoke:  #F0F3F7;
  --line:   #D0D8E2;
  --line-dk: rgba(255, 255, 255, 0.09);
  --white:  #FFFFFF;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:  1200px;
  --nav-h:  56px;
  --pad:    1.5rem;

  /* Radius — minimal for industrial feel */
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.22s;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-CN"] body {
  font-family: var(--font), 'Noto Sans SC', sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: color var(--t) var(--ease); }
ul  { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--slate); line-height: 1.75; margin-bottom: 1rem; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 120, 200, 0.28);
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
  font-weight: 700;
}
.btn-amber:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary {
  background: transparent;
  color: var(--slate);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--slate);
  color: var(--ink);
}

.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ─── Section utilities ──────────────────────────────────────── */
/* Small amber-bar + uppercase label above section headings */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.section-tag.light { color: rgba(255, 255, 255, 0.45); }
.section-tag.light::before { background: var(--amber); }

/* Legacy alias so existing HTML using .section-label still works */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
  width: fit-content;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* Section header block */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p   { font-size: 1rem; max-width: 560px; }

.section-header.center { text-align: center; }
.section-header.center .section-tag,
.section-header.center .section-label {
  margin-left: auto;
  margin-right: auto;
}
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow var(--t) var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(11, 17, 32, 0.08);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo a { display: flex; align-items: center; }
.logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  /* counteract any uneven whitespace inside the PNG */
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-menu a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--mist);
  padding: 0.38rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color var(--t) var(--ease);
  letter-spacing: -0.01em;
  position: relative;
}
.nav-menu a:hover { color: var(--ink); }

.nav-menu a.nav-active:not(.lang-switch):not(.nav-quote-btn) {
  color: var(--blue);
  font-weight: 600;
}

/* Language switch */
.lang-switch {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: var(--mist) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  padding: 0.3rem 0.65rem !important;
  margin-left: 0.35rem;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease) !important;
}
.lang-switch:hover { border-color: var(--blue) !important; color: var(--blue) !important; }
.lang-switch::before, .lang-switch::after { display: none !important; }

/* Navbar quote button */
.nav-quote-btn {
  background: var(--amber) !important;
  color: var(--ink) !important;
  border-radius: var(--r-sm) !important;
  padding: 0.32rem 0.95rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  margin-left: 0.5rem;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
              transform var(--t) var(--ease) !important;
}
.nav-quote-btn:hover {
  background: var(--amber-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35) !important;
}
.nav-quote-btn::before, .nav-quote-btn::after { display: none !important; }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all var(--t) var(--ease);
}

/* ─── HERO — homepage ────────────────────────────────────────── */
.hero {
  background: var(--ink);
  padding-top: calc(var(--nav-h) + 5.5rem);
  padding-bottom: 5.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Engineering grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Blue accent bar on left edge */
.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--blue) 35%, var(--blue) 65%, transparent);
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 560px; }

/* Eyebrow / badge above the headline */
.hero-eyebrow,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--r-sm);
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.hero-subtitle p { color: rgba(255, 255, 255, 0.48); }

.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Product showcase */
.hero-image { position: relative; }

.hero-visual {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-lg);
  padding: 1.1rem;
}

.hero-products-showcase { width: 100%; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0.4rem;
  transition: opacity 0.3s ease;
}

.product-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  padding: 0.6rem;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.product-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 120, 200, 0.5);
}

.product-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform var(--t) var(--ease);
}
.product-item:hover .product-img { transform: scale(1.06); }

.product-indicators {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.25rem;
}
.product-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
  padding: 0;
  outline: none;
}
.product-indicator:hover  { transform: scale(1.5); }
.product-indicator.active {
  background: var(--blue);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.25);
}
.product-indicator:focus-visible { outline: 2px solid var(--blue); }

/* ─── PAGE HERO — service sub-pages ─────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--blue);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-tag,
.page-hero .section-label {
  color: var(--amber);
  margin-bottom: 0.85rem;
}
.page-hero .section-tag::before,
.page-hero .section-label::before { background: var(--amber); }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255, 255, 255, 0.48); font-size: 1rem; max-width: 600px; margin: 0; }

/* ─── Services section — homepage ───────────────────────────── */
.services {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: background var(--t) var(--ease);
  overflow: hidden;
}

/* Left amber accent bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { background: var(--smoke); }

/* Vertical dividers between cards */
.services-grid .service-card + .service-card {
  border-left: 1.5px solid var(--line);
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--blue-bg);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue);
  transition: background var(--t) var(--ease);
  flex-shrink: 0;
}
.service-card:hover .service-icon { background: rgba(0, 120, 200, 0.14); }
.service-icon svg { width: 24px; height: 24px; }

/* Optional photo strip on homepage service cards */
.service-card-media {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--smoke);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.5rem;
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 0.65rem; color: var(--ink); }
.service-card p   { font-size: 0.9rem; }

.service-features {
  margin: 1rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-features li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  padding-top: 1.25rem;
  transition: gap var(--t) var(--ease);
}
.service-link::after { content: '→'; }
.service-link:hover { gap: 0.75rem; }

/* ─── PAGE CONTENT — service sub-pages ──────────────────────── */
.page-content {
  padding: 5rem 0;
  background: var(--white);
}

.page-content-inner {
  max-width: 880px;
  margin: 0 auto;
}

/* Service section inside a service page */
.service-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.service-section:first-child { padding-top: 0; }
.service-section:last-child  { border-bottom: none; }

.service-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}
.service-section h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.service-section-body {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.service-section-text { flex: 1.5; min-width: 260px; }
.service-section-image {
  flex: 1;
  min-width: 220px;
}
.service-section-image img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.page-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

/* Inline service cards on service pages (legacy support) */
.page-content .service-card {
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  margin-bottom: 1.5rem;
}
.page-content .service-card::before { display: none; }

/* ─── Solutions / Why Choose Us — dark section ───────────────── */
.solutions {
  padding: 6rem 0;
  background: var(--steel);
}

.solutions .section-header h2     { color: var(--white); }
.solutions .section-header p      { color: rgba(255, 255, 255, 0.45); }
.solutions .section-header .section-label,
.solutions .section-header .section-tag {
  color: rgba(255, 255, 255, 0.4);
}

.solutions-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid var(--line-dk);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.solution-item {
  background: rgba(255, 255, 255, 0.025);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  transition: background var(--t) var(--ease);
  position: relative;
}
.solution-item:hover { background: rgba(255, 255, 255, 0.05); }

/* Borders between grid cells */
.solutions-content .solution-item:nth-child(odd)  { border-right: 1.5px solid var(--line-dk); }
.solutions-content .solution-item:nth-child(1),
.solutions-content .solution-item:nth-child(2)    { border-bottom: 1.5px solid var(--line-dk); }

.solution-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t) var(--ease);
}
.solution-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.solution-item:hover .solution-icon { background: rgba(0, 120, 200, 0.28); }

.solution-number {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  line-height: 1;
}
.solution-text h3 {
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}
.solution-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.65;
}

/* ─── About section ──────────────────────────────────────────── */
.about {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-content { display: grid; grid-template-columns: 1fr; }

.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-text h2  { margin-bottom: 1rem; }
.about-text p   { font-size: 1.025rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border: none; border-radius: 0; box-shadow: none;
  transition: background var(--t) var(--ease);
}
.stat-item:hover { background: var(--smoke); }
.stat-item + .stat-item { border-left: 1.5px solid var(--line); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: none;
  -webkit-text-fill-color: var(--blue);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mist);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Certifications — light gray section ────────────────────── */
.about[aria-label="Certifications"],
.about[aria-label="资质认证"] {
  background: var(--smoke);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.certifications-section {
  padding: 0;
}
.certifications-section > h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ink);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.certification-item {
  background: var(--white);
  padding: 2rem 1.75rem;
  text-align: center;
  border: none; border-radius: 0; box-shadow: none;
  transition: background var(--t) var(--ease);
}
.certification-item:hover { background: var(--blue-bg); }
.certification-item + .certification-item { border-left: 1.5px solid var(--line); }

.certification-item img {
  max-width: 100%;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform var(--t) var(--ease);
}
.certification-item:hover img { transform: scale(1.04); }

/* ─── Contact section — dark ─────────────────────────────────── */
.contact {
  padding: 6rem 0;
  background: var(--ink);
  border-top: 3px solid var(--blue);
}
.contact .section-header h2        { color: var(--white); }
.contact .section-header p         { color: rgba(255, 255, 255, 0.45); }
.contact .section-header .section-label,
.contact .section-header .section-tag {
  color: rgba(255, 255, 255, 0.4);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item > div:not(.contact-icon) { flex: 1; }

.contact-icon {
  width: 38px; height: 38px;
  background: rgba(0, 120, 200, 0.14);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-item h4 {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.3rem;
}
.contact-item p,
.contact-item span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.contact-link {
  color: rgba(255, 255, 255, 0.7) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--t) var(--ease);
}
.contact-link:hover { color: var(--white) !important; }
.contact-link svg   { opacity: 0.5; width: 13px; height: 13px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.copy-btn:hover {
  background: rgba(0, 120, 200, 0.18);
  border-color: var(--blue);
  color: var(--white);
}
.copy-btn.copied {
  background: rgba(5, 150, 105, 0.18);
  border-color: #10b981;
  color: #10b981;
}
.copy-btn svg  { width: 12px; height: 12px; }
.copy-text     { font-size: 0.74rem; }

/* Contact form on dark bg */
.contact-form { display: grid; gap: 0.85rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #070C14;
  color: #4A5A6B;
  padding: 3.5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}
.footer-section h4 {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-section p { color: #374656; font-size: 0.85rem; line-height: 1.65; }

.footer-section ul li   { margin-bottom: 0.55rem; }
.footer-section ul a    { font-size: 0.85rem; color: #374656; transition: color var(--t) var(--ease); }
.footer-section ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #243040;
}

.social-links { display: flex; gap: 1rem; }
.social-links a { font-size: 0.76rem; color: #243040; transition: color var(--t) var(--ease); }
.social-links a:hover { color: var(--white); }

/* ─── Production carousel (service pages) ───────────────────── */
.production-carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.carousel-container { position: relative; width: 100%; height: 360px; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.45s var(--ease); height: 100%; }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--t) var(--ease);
}
.carousel-nav:hover { background: var(--white); }
.carousel-nav.prev { left: 12px; }
.carousel-nav.next { right: 12px; }
.carousel-nav svg  { width: 17px; height: 17px; stroke: var(--ink); }

.carousel-indicators {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.carousel-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.carousel-indicator.active { background: var(--white); transform: scale(1.35); }

/* ─── Scroll Reveal ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-22px); }
[data-reveal="right"] { transform: translateX(22px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }

/* ─── Toast ──────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--steel);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.86rem; font-weight: 500;
  z-index: 99999;
  opacity: 0; pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  min-width: 240px; text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.toast.show   { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast.success { background: #063D2C; border-color: #10b981; }
.toast.error   { background: #4C0F0F; border-color: #ef4444; }

/* ─── Quote Modal ────────────────────────────────────────────── */
.quote-modal {
  position: fixed;
  inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.quote-modal.open { opacity: 1; pointer-events: auto; }

.quote-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 10, 22, 0.75);
  backdrop-filter: blur(6px);
}

.quote-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  width: 100%; max-width: 900px; max-height: 92vh;
  overflow-y: auto;
  padding: 2.75rem 3rem;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
}
.quote-modal.open .quote-modal-panel { transform: translateY(0) scale(1); }

.quote-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--smoke);
  color: var(--mist);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  z-index: 2;
}
.quote-modal-close:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }

.quote-modal-header { margin-bottom: 2rem; }
.quote-modal-header h2 { font-size: 1.65rem; margin-bottom: 0.4rem; }
.quote-modal-header p  { font-size: 0.9rem; margin: 0; }

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2rem;
}
.quote-form-col { display: flex; flex-direction: column; gap: 0.9rem; }

.form-group label {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.quote-form .form-group input,
.quote-form .form-group textarea,
.quote-form .form-group select {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font); font-size: 0.875rem;
  background: var(--white); color: var(--ink);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.quote-form .form-group input:focus,
.quote-form .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.1);
}
.quote-form .form-group textarea { resize: vertical; min-height: 100px; }

.file-upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  padding: 1.65rem 1.25rem;
  text-align: center;
  cursor: pointer;
  background: var(--smoke);
  user-select: none;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.file-upload-zone:hover,
.file-upload-zone.drag-over { border-color: var(--blue); background: var(--blue-bg); border-style: solid; }

.file-upload-icon {
  width: 42px; height: 42px;
  background: rgba(0, 120, 200, 0.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  color: var(--blue);
}
.file-upload-icon svg  { width: 21px; height: 21px; }
.file-upload-text      { font-size: 0.875rem; font-weight: 500; color: var(--ink); margin-bottom: 0.2rem; }
.file-upload-text span { color: var(--blue); text-decoration: underline; }
.file-upload-hint      { font-size: 0.72rem; color: var(--mist); margin: 0; }

.file-list { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.file-list-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--smoke);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  animation: fadeInUp 0.2s ease;
}
.file-list-item-icon {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--blue-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.55rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--blue);
}
.file-list-item-name   { flex: 1; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list-item-size   { color: var(--mist); font-size: 0.74rem; flex-shrink: 0; }
.file-list-item-remove {
  background: none; border: none;
  color: var(--mist); cursor: pointer;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.file-list-item-remove:hover { background: #fee2e2; color: #dc2626; }

.quote-form-footer {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.quote-submit-btn { min-width: 200px; }
.quote-privacy    { font-size: 0.76rem; color: var(--mist); margin: 0; flex: 1; min-width: 180px; line-height: 1.5; }
.quote-privacy svg { display: inline; vertical-align: middle; margin-right: 0.25rem; }

.quote-success      { text-align: center; padding: 4rem 2rem 3rem; }
.quote-success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #063D2C;
  border: 1px solid #10b981;
  color: #10b981;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.quote-success h3 { font-size: 1.55rem; margin-bottom: 0.6rem; }
.quote-success p  { max-width: 400px; margin: 0 auto 2rem; }

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container  { grid-template-columns: 1fr; text-align: center; }
  .hero-content     { max-width: 100%; }
  .hero-eyebrow,
  .hero-badge       { margin-left: auto; margin-right: auto; }
  .hero-subtitle    { margin-left: auto; margin-right: auto; }
  .hero-buttons     { justify-content: center; }
  .hero-image       { order: -1; }
  .contact-content  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-content   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card + .service-card { border-left: none; border-top: 1.5px solid var(--line); }
  .service-card::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 3px; transform: scaleX(0); transform-origin: left; }
  .service-card:hover::before { transform: scaleX(1); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem; gap: 0.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .solutions-content { grid-template-columns: 1fr; }
  .solutions-content .solution-item:nth-child(odd)  { border-right: none; }
  .solutions-content .solution-item                  { border-bottom: 1.5px solid var(--line-dk) !important; }
  .solutions-content .solution-item:last-child       { border-bottom: none !important; }
  .stats { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; border-top: 1.5px solid var(--line); }
  .certifications-grid { grid-template-columns: 1fr; }
  .certification-item + .certification-item { border-left: none; border-top: 1.5px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-modal-panel { padding: 2rem 1.5rem; }
  .quote-form-grid   { grid-template-columns: 1fr; }
  .quote-form-footer { flex-direction: column; }
  .quote-submit-btn  { width: 100%; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  .service-section-body { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .footer-content { grid-template-columns: 1fr; }
}
