/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0f1a;
  --bg-2:      #0f1525;
  --bg-3:      #131929;
  --accent:    #e8eaf0;
  --accent-dim:#9aa0b4;
  --white:     #f4f5f7;
  --muted:     #6b7a99;
  --border:    #1e2a42;
  --navy:      #1a2744;
  --navy-mid:  #243358;
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-head); letter-spacing: 0.04em; line-height: 1.1; }
h1 { font-size: clamp(3.5rem, 9vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.5rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--navy-mid);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #2e4270; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--accent-dim);
}
.btn-outline:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
}
.logo span { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(26,39,68,0.6) 0%, transparent 70%),
    linear-gradient(160deg, #0d1220 0%, #0b0f1a 100%);
}

/* industrial grid overlay */
.hero-grid-overlay {
  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: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ── About ── */
.about {
  padding: 7rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: #aaa; margin-bottom: 1rem; font-size: 0.95rem; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--border);
  padding-left: 3rem;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--accent-dim);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Services ── */
.services {
  padding: 7rem 0;
  background: var(--bg);
}

.services h2 { margin-bottom: 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-category {
  background: var(--bg-3);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.service-category:hover { background: #1c1c1c; }

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.category-icon { font-size: 1.6rem; line-height: 1; margin-top: 0.1rem; }

.category-header h3 {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.3;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-list li {
  font-size: 0.88rem;
  color: #999;
  padding-left: 1rem;
  position: relative;
  transition: color 0.2s;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--navy-mid);
}
.service-category:hover .service-list li { color: #ccc; }

/* ── CTA Band ── */
.cta-band {
  padding: 5rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 2rem; color: var(--white); }

/* ── Contact ── */
.contact {
  padding: 7rem 0;
  background: var(--bg);
}
.contact h2 { margin-bottom: 3rem; }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-form input,
.contact-form textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ── Footer ── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer p { font-size: 0.78rem; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2rem; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Pulse Text ── */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; text-shadow: 0 0 0px transparent; }
  50%       { opacity: 0.75; text-shadow: 0 0 30px rgba(180,200,255,0.3), 0 0 60px rgba(60,90,160,0.15); }
}

.pulse-text {
  animation: pulse-glow 2.8s ease-in-out infinite;
}

/* ── Gallery ── */
.gallery {
  padding: 7rem 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.gallery h2 { margin-bottom: 3rem; }

.gallery-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #111;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.75) saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.55) saturate(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item { height: 220px; }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 1rem;
  }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item { height: 240px; }
  .hide-mobile { display: none; }
}

/* ── Hero Spotlights ── */
.spotlight {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
  animation: spot-pulse 5s ease-in-out infinite;
}

.spotlight-tl {
  top: -80px; left: -80px;
  background: radial-gradient(circle, rgba(60,90,160,0.3) 0%, transparent 70%);
  animation-delay: 0s;
}

.spotlight-tr {
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(180,200,255,0.12) 0%, transparent 70%);
  animation-delay: 1.2s;
}

.spotlight-bl {
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(180,200,255,0.09) 0%, transparent 70%);
  animation-delay: 2.4s;
}

.spotlight-br {
  bottom: -80px; right: -60px;
  background: radial-gradient(circle, rgba(60,90,160,0.22) 0%, transparent 70%);
  animation-delay: 0.8s;
}

@keyframes spot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}
