:root {
  --bg: #f4f7fb;
  --bg2: #eef3fa;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.72);

  --border: rgba(11, 18, 32, 0.12);

  --accent: #0b1220;
  --radius: 18px;
  --transition: all 0.25s ease;

  --shadow: 0 18px 45px rgba(11, 18, 32, 0.14);
  --shadow2: 0 12px 25px rgba(11, 18, 32, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* MICRO INTERACTIONS */
.card, .industry-card, .pain-card, .process-card, .standard-badge {
  transition: var(--transition);
}

.card:hover,
.industry-card:hover,
.pain-card:hover,
.standard-badge:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(244, 247, 251, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo img { height: 46px; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

.nav a {
  text-decoration: none;
  font-weight: 750;
  color: rgba(11, 18, 32, 0.75);
}

.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 99px;
}

/* Top Get a Quote button */
.header-quote {
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  font-weight: 900;
  white-space: nowrap;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.7rem 0 4.5rem;
  background: linear-gradient(135deg, var(--bg2), var(--bg));
}

.hero-engineering-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  color: rgba(11, 18, 32, 0.9);
}

.hero-blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

/* ======================================================
   HERO ANIMATED ELEMENTS
====================================================== */

/* Turbo Fan Housing (STATIC) */
.hero-turbine {
  position: absolute;
  width: 480px;
  left: -210px;
  top: 10%;
  opacity: 0.82;
  transform-origin: center center;
  will-change: transform;
}

/* ONLY blades rotate */
.hero-turbine .turbine-rotor {
  transform-origin: 300px 300px;
  animation: rotorSpin 32s linear infinite;
  will-change: transform;
}

@keyframes rotorSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Technical schematic lines */
.hero-schematic {
  position: absolute;
  width: 410px;
  right: -150px;
  bottom: 12%;
  opacity: 0.65;
  animation: schematicFloat 12s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes schematicFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-22px) rotate(2deg); opacity: 0.85; }
}

/* Existing right pattern */
.hero-right-pattern {
  position: absolute;
  width: 520px;
  right: -120px;
  top: 14%;
  opacity: 0.8;
  animation: floatRight 10s ease-in-out infinite;
}

/* Existing gear */
.hero-gear {
  position: absolute;
  width: 520px;
  left: -240px;
  bottom: -270px;
  opacity: 0.9;
  animation: gearSpin 40s linear infinite;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatRight {
  0%, 100% { transform: translateY(0px); opacity: 0.55; }
  50% { transform: translateY(-18px); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 980px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow2);
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.hero-tag strong { font-weight: 950; }

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.55);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow2);
}

.btn-outline {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(11, 18, 32, 0.12);
  color: var(--text);
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.hero-badges {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: var(--shadow2);
  font-size: 0.92rem;
}

/* SECTIONS */
.section { padding: 5rem 0; }
.section.alt { background: white; }

.section-title {
  text-align: center;
  max-width: 880px;
  margin: auto;
}

.section-title span {
  display: inline-block;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.55);
  margin-bottom: 0.9rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 950;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow2);
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.10);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.1rem;
}

.icon svg {
  width: 36px;
  height: 36px;
  stroke: rgba(11, 18, 32, 0.88);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 950;
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.service-list {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-list li { margin: 0.4rem 0; }

/* PAIN POINTS */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.pain-card {
  background: rgba(244, 247, 251, 0.75);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow2);
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 950;
  margin-bottom: 0.7rem;
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.industry-card {
  background: rgba(244, 247, 251, 0.75);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow2);
  text-align: center;
}

.industry-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.10);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.1rem;
}

.industry-icon svg {
  width: 38px;
  height: 38px;
  stroke: rgba(11, 18, 32, 0.88);
}

.industry-card h3 {
  font-size: 1.15rem;
  font-weight: 950;
  margin-bottom: 0.6rem;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* STANDARDS */
.standards-grid {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.standard-badge {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.10);
  font-weight: 850;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* PROCESS TIMELINE */
.process-timeline {
  max-width: 800px;
  margin: 3.2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.process-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 1.3rem;
  position: relative;
}

.process-col-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.process-badge {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #0b1220;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 950;
  font-size: 1.35rem;
  position: relative;
  z-index: 5;
}

.process-line {
  width: 2px;
  flex: 1;
  margin-top: 12px;
  background: linear-gradient(to bottom, rgba(11,18,32,0.30), rgba(11,18,32,0.03));
  border-radius: 99px;
  min-height: 80px;
}

.process-card {
  background: white;
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow2);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.process-card h3 {
  font-size: 1.2rem;
  font-weight: 950;
  margin-bottom: 0.7rem;
}

.process-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Pulse animation */
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(11, 18, 32, 0.25);
  animation: pulseRing 2s infinite ease-out;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.reveal-step {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.9s ease;
}

.reveal-step.active {
  opacity: 1;
  transform: translateY(0px);
}

/* CONTACT */
.contact-layout {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-box {
  background: white;
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
  background: rgba(244, 247, 251, 0.6);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(11, 18, 32, 0.35);
  box-shadow: 0 0 0 4px rgba(11, 18, 32, 0.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-box {
  background: rgba(244, 247, 251, 0.8);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow2);
}

.contact-info-box h3 {
  font-size: 1.4rem;
  font-weight: 950;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.contact-info-list {
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
}

.contact-info-list strong {
  color: rgba(11,18,32,0.9);
}

.legal-box {
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.legal-box h4 {
  font-weight: 950;
  margin-bottom: 0.7rem;
}

/* FOOTER */
.footer {
  background: rgba(11, 18, 32, 0.97);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  font-size: 0.98rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.05rem;
  font-weight: 950;
  margin-bottom: 1rem;
  color: white;
}

.footer-links a {
  display: block;
  text-decoration: none;
  margin: 0.55rem 0;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-contact p {
  margin: 0.55rem 0;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

.footer-contact strong { color: rgba(255,255,255,0.9); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 1.8rem 0;
  margin-top: 1rem;
  background: rgba(255,255,255,0.02);
}

.footer-disclaimer h4 {
  font-size: 1rem;
  font-weight: 950;
  margin-bottom: 0.7rem;
  color: rgba(255,255,255,0.92);
}

.footer-disclaimer p {
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
  font-size: 0.95rem;
}

.footer-bottom {
  padding: 1.2rem 0;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-weight: 650;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0px);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .pain-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 74px;
    right: 0;
    background: rgba(244, 247, 251, 0.97);
    width: 100%;
    height: calc(100vh - 74px);
    transform: translateX(100%);
    transition: var(--transition);
    padding: 2rem;
  }

  .nav.open { transform: translateX(0); }

  .nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav-toggle { display: block; }

  /* Hide header CTA on small screens to avoid crowding */
  .header-quote { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right-pattern {
    width: 340px;
    right: -180px;
    top: 18%;
    opacity: 0.55;
  }

  .hero-gear {
    width: 380px;
    left: -240px;
    bottom: -260px;
    opacity: 0.75;
  }

  /* MOBILE HERO ENGINEERING ELEMENTS */
  .hero-turbine {
    width: 340px;
    left: -200px;
    opacity: 0.5;
  }

  .hero-schematic {
    width: 300px;
    right: -160px;
    opacity: 0.45;
  }

  /* Process Mobile */
  .process-row {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .process-badge {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  .process-card {
    padding: 1.2rem 1.1rem;
  }

  .process-line {
    min-height: 65px;
  }
}

@media (max-width: 600px) {
  .hero-turbine {
    width: 280px;
    left: -180px;
    opacity: 0.35;
  }

  .hero-schematic {
    display: none;
  }
}
