/* ============================================
   Professional Manufacturing Partners LLC
   Modern Industrial Rebuild
   ============================================ */

:root {
  --navy: #0b1c2c;
  --navy-light: #13293d;
  --steel: #1e3a5f;
  --accent: #c45c26;
  --accent-hover: #a34a1c;
  --gold: #d4a017;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-200: #d8dee6;
  --gray-500: #6b7c8f;
  --gray-700: #3d4f61;
  --text: #1a2a3a;
  --shadow: 0 10px 40px rgba(11, 28, 44, 0.12);
  --radius: 10px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header.light h2,
.section-header.light .section-lead {
  color: var(--white);
}

.section-header.light .eyebrow {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 28, 44, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 8px;
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 500;
  opacity: 0.9;
}

.logo-text strong {
  font-weight: 700;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--white);
}

.nav .btn {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.18), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 50%, #0a1622 100%);
  z-index: 0;
}

.hero-overlay {
  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: 60px 60px;
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(196, 92, 38, 0.2);
  border: 1px solid rgba(196, 92, 38, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f0c4a8;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-num {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.about-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.about-icon {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.about-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* Services */
.services {
  background: var(--navy);
  color: var(--white);
}

.services h2,
.services h3 {
  color: var(--white);
}

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

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(196, 92, 38, 0.4);
  transform: translateY(-3px);
}

.service-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.service-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1.1rem;
  position: relative;
}

.service-card li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Approach */
.approach {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--gray-700);
}

/* Why Us */
.why-us {
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.why-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.why-list strong {
  color: var(--navy);
  font-size: 1rem;
}

.why-list span {
  font-size: 0.92rem;
  color: var(--gray-700);
}

.highlight-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.highlight-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.highlight-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #a34a1c 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

/* Contact */
.contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}

.detail a {
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}

.detail a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.12);
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .services-grid,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .process-steps {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-toggle {
    display: flex;
  }

  .about-grid,
  .services-grid,
  .process-steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 60px;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* ========== Multi-page additions ========== */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(196, 92, 38, 0.15), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.content-block {
  max-width: 720px;
}

.content-block p {
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}

.content-block h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition);
}

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

.case-card-body {
  padding: 1.5rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.case-result {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--gray-700);
}

.nav a.active {
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 900px) {
  .two-col,
  .case-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
}
