/* ═══════════════════════════════════════
   ORION Industrial Systems — Stylesheet
   ═══════════════════════════════════════ */

:root {
  --bg:          #090f1a;
  --bg2:         #0d1626;
  --bg3:         #112038;
  --card:        #0f1e35;
  --card-hover:  #162843;
  --accent:      #e07b2a;
  --accent2:     #4895ef;
  --border:      rgba(72, 149, 239, 0.15);
  --border-card: rgba(255,255,255,0.06);
  --text:        #dce8f5;
  --text-sub:    #7a9bbf;
  --text-muted:  #4a6a8a;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Accent ── */
.accent { color: var(--accent); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #c96c20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,123,42,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .btn-text { display: none; }
.btn.loading .btn-spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(9, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-icon { color: var(--accent); font-size: 1.3rem; line-height: 1; }
.logo-sub {
  font-weight: 400;
  color: var(--text-sub);
  font-size: 0.85rem;
  margin-left: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #c96c20 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, #112040 0%, var(--bg) 60%);
}

#starCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(72, 149, 239, 0.1);
  border: 1px solid rgba(72, 149, 239, 0.25);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.stat-l { font-size: 0.82rem; color: var(--text-muted); }

.stat-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ══════════════════════════════════════
   SECTIONS (shared)
══════════════════════════════════════ */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p { color: var(--text-sub); font-size: 1rem; line-height: 1.7; }

.section-tag {
  display: inline-block;
  background: rgba(224,123,42,0.12);
  border: 1px solid rgba(224,123,42,0.25);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { background: var(--bg2); }

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}
.service-card:hover {
  background: var(--card-hover);
  border-color: rgba(72, 149, 239, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.service-icon {
  width: 52px; height: 52px;
  background: rgba(72, 149, 239, 0.1);
  border: 1px solid rgba(72, 149, 239, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-sub);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  color: var(--text-muted);
  font-size: 0.87rem;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
}

.about-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  min-width: 240px;
}
.about-card:hover { transform: scale(1.02); }

.about-card-1 { top: 20px; left: 0; }
.about-card-2 { top: 130px; right: 0; }
.about-card-3 { bottom: 80px; left: 20px; }

.about-card-icon { font-size: 2rem; }
.about-card-label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.about-card-value { font-size: 1rem; font-weight: 600; color: var(--white); }

.about-orion-badge {
  position: absolute;
  bottom: 20px;
  right: 0;
  background: linear-gradient(135deg, #e07b2a, #c45a12);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 32px rgba(224,123,42,0.4);
}
.orion-star { font-size: 1rem; }

.about-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}
.about-text p {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.highlight-dot {
  width: 10px; height: 10px;
  min-width: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
}
.highlight strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 4px;
}
.highlight span { color: var(--text-sub); font-size: 0.88rem; line-height: 1.6; }

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-us { background: var(--bg2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-item:hover {
  border-color: rgba(224, 123, 42, 0.3);
  transform: translateY(-3px);
}

.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(224,123,42,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.why-item p { color: var(--text-sub); font-size: 0.9rem; line-height: 1.7; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.contact-info > p {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(72, 149, 239, 0.1);
  border: 1px solid rgba(72, 149, 239, 0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-value { color: var(--text); font-size: 0.96rem; line-height: 1.5; }
.contact-value a { color: var(--accent2); }
.contact-value a:hover { text-decoration: underline; }

/* ── Form ── */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg3); color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(72, 149, 239, 0.12);
}

.form-notice {
  font-size: 0.88rem;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}
.form-notice.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
}
.form-notice.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border-card);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding: 64px 24px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.87rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.footer-col a,
.footer-col span {
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border-card);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-visual  { height: 280px; order: -1; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 40px; }
  .footer-links  { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   WHATSAPP
══════════════════════════════════════ */

/* — Contact section icon & link — */
.contact-icon-wa {
  background: rgba(37, 211, 102, 0.12) !important;
  border-color: rgba(37, 211, 102, 0.25) !important;
  color: #25d366 !important;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366 !important;
  font-weight: 500;
  transition: color var(--transition);
}
.wa-link:hover { color: #1aab52 !important; text-decoration: underline; }

.wa-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* — Floating button — */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.25s ease;
  text-decoration: none !important;
  overflow: hidden;
}
.wa-float:hover {
  background: #1aab52;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

.wa-float-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.wa-float-label {
  white-space: nowrap;
}

/* Pulsing ring to draw attention */
.wa-float-ping {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 2px solid #25d366;
  animation: waPing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPing {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Collapse to icon-only on small screens */
@media (max-width: 500px) {
  .wa-float { padding: 14px; border-radius: 50%; }
  .wa-float-label { display: none; }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg2);
    border-left: 1px solid var(--border-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
  .hamburger { display: flex; z-index: 101; }
  .why-grid   { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .about-card { min-width: unset; }
  .about-card-2 { top: 100px; right: 0; }
  .about-card-3 { bottom: 0; }
}
