:root {
  --bg: #0a0b0d;
  --bg-alt: #111317;
  --panel: #15171c;
  --panel-border: #23262e;
  --steel-1: #c9ced6;
  --steel-2: #8b9099;
  --text: #eef0f3;
  --text-muted: #9aa0aa;
  --orange: #e08a2c;
  --orange-light: #f5a94e;
  --radius: 16px;
  --max-width: 1180px;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-head: 'Orbitron', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--steel-1);
}

.brand-name strong { color: var(--orange); }
.brand-name em { font-style: normal; color: var(--text-muted); font-weight: 400; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #1a1206 !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700 !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(224, 138, 44, 0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(139, 144, 153, 0.12), transparent 45%),
    var(--bg);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
  z-index: -1;
}

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

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #1a1206;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 138, 44, 0.35);
}

.btn-ghost {
  border-color: var(--panel-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--steel-2);
  background: rgba(255,255,255,0.03);
}

.btn-block { width: 100%; }

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--panel-border);
  padding-top: 28px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--steel-1);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 140px;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--panel-border);
  border-radius: 20px;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--orange);
  border-radius: 4px;
  margin: 8px auto;
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin-top: 8px;
}
.section-desc { color: var(--text-muted); margin-top: 14px; font-size: 16px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 16.5px;
  margin-bottom: 18px;
}

.about-cards { display: flex; flex-direction: column; gap: 20px; }

.mini-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mini-card:hover { border-color: var(--orange); transform: translateY(-3px); }

.mini-icon { font-size: 26px; margin-bottom: 10px; }
.mini-card h3 { font-size: 17px; margin-bottom: 8px; }
.mini-card p { color: var(--text-muted); font-size: 14.5px; }

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

.service-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.service-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover { transform: translateY(-6px); border-color: var(--steel-2); }

.project-thumb {
  height: 190px;
  background: linear-gradient(135deg, #1b1d22, #26282f);
}

.placeholder-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px);
}

.project-body { padding: 22px 24px 26px; }
.project-tag {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-body h3 { font-size: 18px; margin-bottom: 8px; }
.project-body p { color: var(--text-muted); font-size: 14.5px; }

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

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
}

.quote {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel-2), var(--steel-1));
}

.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12.5px; color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info p { color: var(--text-muted); margin: 16px 0 26px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; gap: 16px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-note { font-size: 13.5px; color: var(--orange-light); min-height: 18px; }

/* Footer */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 40px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--steel-1);
}

.footer-brand strong { color: var(--orange); }

.footer p { color: var(--text-muted); font-size: 13.5px; }

.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-muted); font-size: 13.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--bg-alt);
    border-left: 1px solid var(--panel-border);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 950;
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .hero-stats { gap: 28px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
}
