:root {
  --brand-red: #e11d2e;
}

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(225, 29, 46, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(200, 204, 212, 0.04), transparent);
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  transition: background-color .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 8, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8b919c;
  transition: color .2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-red);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  filter: brightness(0.72) contrast(1.08) saturate(1.05);
}

@keyframes hero-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero-grid {
  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 at center, black 20%, transparent 72%);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  min-height: 280px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.06em;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b919c;
}

.form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,12,14,0.85);
  padding: 0.7rem 0.9rem;
  color: #e8eaed;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  border-color: rgba(225, 29, 46, 0.55);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.15);
}

.form-section {
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(26,26,31,0.9), rgba(12,12,14,0.95));
  border-radius: 1rem;
  padding: 1.5rem;
}

.form-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(225, 29, 46, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse-line {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

.pulse-line {
  animation: pulse-line 2.4s ease-in-out infinite;
}

.wizard-step-btn {
  color: #8b919c;
}

.wizard-step-btn span:first-child {
  border-color: rgba(255,255,255,0.15);
  color: #8b919c;
}

.wizard-step-btn.is-current {
  color: #fff;
}

.wizard-step-btn.is-current span:first-child {
  border-color: #e11d2e;
  background: rgba(225, 29, 46, 0.18);
  color: #fff;
}

.wizard-step-btn.is-done span:first-child {
  border-color: rgba(225, 29, 46, 0.5);
  background: rgba(225, 29, 46, 0.12);
  color: #fff;
}

.wizard-step-btn.is-reachable:not(.is-current):hover {
  color: #fff;
}

.wizard-panel {
  animation: wizard-in .28s ease;
}

@keyframes wizard-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.featured-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #121216;
  transition: border-color .25s ease, transform .25s ease;
}

.featured-card:hover {
  border-color: rgba(225, 29, 46, 0.4);
  transform: translateY(-2px);
}

.featured-card-media {
  position: relative;
  height: 11.5rem;
  overflow: hidden;
  background: #0a0a0c;
}

@media (min-width: 640px) {
  .featured-card-media {
    height: 13rem;
  }
}

.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.featured-card:hover .featured-card-media img {
  transform: scale(1.05);
}

.featured-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.25rem 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.featured-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.featured-card-body p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #8b919c;
}

.featured-card-body span {
  margin-top: 0.9rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e11d2e;
  transition: color .2s ease;
}

.featured-card:hover .featured-card-body span {
  color: #fff;
}

.process-step {
  position: relative;
  padding-top: 0.25rem;
}

.process-no {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #e11d2e;
}

.process-step h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.process-step p {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8b919c;
}

.service-filter {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #8b919c;
  border-radius: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all .2s ease;
}

.service-filter:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.service-filter.is-active {
  color: #fff;
  background: rgba(225, 29, 46, 0.18);
  border-color: rgba(225, 29, 46, 0.45);
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(18, 18, 22, 0.95);
  padding: 1.25rem;
  min-height: 100%;
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 46, 0.35);
}

.service-card.is-hidden {
  display: none;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: #e11d2e;
  background: rgba(225, 29, 46, 0.12);
  border: 1px solid rgba(225, 29, 46, 0.25);
}

.service-card:hover .service-icon {
  background: rgba(225, 29, 46, 0.22);
  color: #fff;
}

.service-index {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(139, 145, 156, 0.7);
}

