:root {
  --color-bg: #0A0A0A;
  --color-bg-alt: #151515;
  --color-card: #111418;
  --color-border: #1f2328;
  --color-accent: #C1121F;
  --color-accent-soft: #8e0d18;
  --color-text: #f5f5f5;
  --color-text-muted: #c0c3c7;
  --color-gunmetal: #262b33;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --container-width: 1120px;
  --transition-fast: 160ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #050607;
  color: var(--color-text);
}

body {
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding-top: 72px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(5, 6, 7, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
}

.nav-link.active {
  border-color: rgba(193, 18, 31, 0.8);
  background: rgba(193, 18, 31, 0.1);
  color: #fff;
}

.nav-contact {
  margin-left: 0.5rem;
}

/* Nav toggle (mobile) */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  margin-bottom: 4px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: rgba(193, 18, 31, 0.1);
  border-color: rgba(193, 18, 31, 0.7);
  color: #fff;
}

.btn-accent:hover {
  background: rgba(193, 18, 31, 0.18);
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #C1121F20, transparent 55%), radial-gradient(circle at 60% 20%, #374151, #050608 65%);
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text {
  margin: 0 0 1.6rem;
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  background: rgba(5, 6, 7, 0.6);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: rgba(5, 6, 7, 0.9);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  max-width: 360px;
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.hero-card li {
  margin-bottom: 0.35rem;
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

.section-muted {
  background: radial-gradient(circle at top, #1f2933, #050608);
}

.section-cta {
  background: linear-gradient(135deg, #C1121F, #8a0d19);
  color: #fff;
}

.section-title {
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.section-lead {
  margin-top: 0;
  margin-bottom: 1.8rem;
  color: var(--color-text-muted);
  max-width: 40rem;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(145deg, #0A0A0A, #111827);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  margin-top: 0.3rem;
  margin-bottom: 0.75rem;
}

.page-intro {
  max-width: 40rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Grids & Layout Helpers */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--color-text-muted);
}

.bullet-list {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.bullet-list li {
  margin-bottom: 0.35rem;
}

.link-arrow {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-text);
  opacity: 0.8;
}

.link-arrow::after {
  content: "↗";
  font-size: 0.8rem;
}

.link-arrow:hover {
  opacity: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.1rem;
  align-items: flex-start;
}

.detail-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 1.3rem;
}

.detail-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.detail-box ul {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.detail-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Pills */

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.pill {
  background: linear-gradient(145deg, #0B0E11, #151920);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pill h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.pill p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Process timeline */

.process-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.process-timeline li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1.8rem;
}

.process-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.25);
}

.process-timeline h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.process-timeline p {
  margin: 0;
  color: var(--color-text-muted);
}

/* CTA */

.section-cta .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.section-cta h2 {
  margin: 0 0 0.5rem;
}

.section-cta p {
  margin: 0;
  max-width: 32rem;
}

.section-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */

.site-footer {
  background: #050607;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem 0 1.7rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo-text {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0.4rem 0 0;
}

.footer-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.7rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .section-cta .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 0.75rem;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1.25rem 1.5rem;
    background: rgba(5, 6, 7, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .site-nav.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.55rem 0.5rem;
  }

  .nav-contact {
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .nav-toggle {
    display: block;
  }

  main {
    padding-top: 68px;
  }

  .hero {
    padding-top: 4rem;
  }
}
