:root {
  --bg-dark: #1c1c1e;
  --bg-darker: #141416;
  --bg-card: #242426;
  --accent-red: #8b1a1a;
  --accent-red-hover: #a52121;
  --text-white: #f5f5f5;
  --text-muted: #b0b0b4;
  --border-subtle: rgba(245, 245, 245, 0.08);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

h1, h2, h3, h4 {
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ---------- Layout helpers ---------- */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-darker);
}

.section-tag {
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 720px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

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

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

.btn-outline {
  border-color: var(--border-subtle);
  color: var(--text-white);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-svg {
  height: 24px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.4);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(139, 26, 26, 0.28), transparent 55%),
    linear-gradient(100deg, var(--bg-dark) 40%, rgba(28, 28, 30, 0.65) 75%, rgba(28, 28, 30, 0.35));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;
}

.eyebrow {
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 36px;
}

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

/* ---------- About ---------- */
.about-media {
  margin-bottom: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}

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

.about-text p:last-child { margin-bottom: 0; }

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-red);
  padding: 24px;
  border-radius: 6px;
}

.stat-number {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Services ---------- */
.service-group { margin-bottom: 56px; }
.service-group:last-child { margin-bottom: 0; }

.service-group-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-white);
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.industry-card {
  background: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.industry-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.industry-media {
  height: 190px;
  overflow: hidden;
}

.industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-media img {
  transform: scale(1.06);
}

.industry-card > .industry-index,
.industry-card > h3,
.industry-card > p {
  padding-left: 28px;
  padding-right: 28px;
}

.industry-index {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-red);
  margin-top: 24px;
  margin-bottom: 14px;
}

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  padding-bottom: 32px;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.process-number {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent-red);
  opacity: 0.85;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

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

.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-white);
}

.contact-details a.contact-value {
  transition: color 0.2s ease;
}

.contact-details a.contact-value:hover {
  color: var(--accent-red);
}

address.contact-value { font-style: normal; }

.contact-map {
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.contact-map iframe {
  filter: grayscale(0.3) contrast(1.05);
  height: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.logo-svg-small { height: 20px; margin-bottom: 4px; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.footer-legal {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }

  .main-nav.open {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 0;
    padding: 0 32px;
  }

  .main-nav.open li { border-bottom: 1px solid var(--border-subtle); }
  .main-nav.open li:last-child { border-bottom: none; }
  .main-nav.open a { display: block; padding: 16px 0; }

  .nav-toggle { display: flex; }

  .section { padding: 72px 0; }
  .section h2 { margin-bottom: 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-actions .btn { text-align: center; }
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
