:root {
  --bg: #000000;
  --section: #333333;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --line: rgba(57, 255, 20, 0.16);
  --red: #ff2020;
  --red-deep: #b30d0d;
  --green: #39ff14;
  --green-soft: #8dff7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 10px;
  --max: 1240px;
  --header-height: 84px;
  --transition: 0.25s ease;
}

/* =========================================
   RESET / BASE
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

section {
  padding: 5.5rem 0;
}

/* =========================================
   HEADER / NAV
========================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-concord {
  color: var(--green);
}

.brand-data {
  color: var(--text);
}

.brand-typed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-word-shell {
  position: relative;
  display: inline-block;
}

.brand-measure {
  display: inline-flex;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.brand-live {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-space {
  display: inline-block;
  width: 0.15em;
}

.brand-concord,
.brand-data {
  white-space: pre;
}

.brand-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 0.08em;
  background: var(--green);
  transform: translateY(1px);
  animation: caretBlink 0.9s steps(1, end) infinite;
}

.brand-caret.is-hidden {
  opacity: 0;
  animation: none;
}

@keyframes caretBlink {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.logo-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.logo span {
  display: inline-block;
  line-height: 1;
}

.logo strong {
  color: var(--green);
}

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

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 32, 32, 0.22);
  transform: translateY(0);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4d4d, var(--red-deep));
  box-shadow: 0 14px 40px rgba(255, 32, 32, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: rgba(57, 255, 20, 0.35);
}

.btn-secondary:hover {
  background: #111;
  border-color: #90ee90;
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(57, 255, 20, 0.12), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(255, 32, 32, 0.12), transparent 26%),
    linear-gradient(180deg, #080808 0%, #000 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 95%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 100% 4px;
  animation: scan 6s linear infinite;
  pointer-events: none;
}

.hero-image {
  position: relative;
}

.hero-image img {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6))
          drop-shadow(0 0 20px rgba(255,0,0,0.2));
}




.hero-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 0, 0), transparent 80%);
  filter: blur(80px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.hero-image img {
  opacity: 0;
  transform: translateY(6px);
  animation: heroFadeLift 700ms ease-out forwards;
  animation-delay: 200ms;
}

@keyframes heroFadeLift {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-signal,
.hero-red-block {
  position: absolute;
  pointer-events: none;
}

.hero-signal-1 {
  top: 95px;
  left: -3%;
  width: 58%;
  height: 120px;
  border-top: 8px solid var(--green);
  border-radius: 0 0 140px 140px;
  transform: rotate(7deg);
  opacity: 0.9;
}

.hero-signal-2 {
  top: 56px;
  right: -10%;
  width: 45%;
  height: 200px;
  border-top: 8px solid var(--green-soft);
  border-radius: 0 0 180px 180px;
  transform: rotate(-18deg);
  opacity: 0.85;
}

.hero-red-block {
  top: 100px;
  left: 8%;
  width: 220px;
  height: 360px;
  background: linear-gradient(180deg, var(--red), #8e0606);
  transform: rotate(38deg);
  opacity: 0.95;
  filter: drop-shadow(0 14px 30px rgba(255, 32, 32, 0.2));
}

.hero-red-block {
  left: 8%;
  top: 100px;
  width: 220px;
  height: 360px;
  background: linear-gradient(180deg, var(--red), #8e0606);
  
  /* IMPORTANT */
  transform-origin: center;
  
  /* combine base rotation + animation */
  animation: spinBlock 30s linear infinite;
  
  opacity: 0.95;
  filter: drop-shadow(0 14px 30px rgba(255, 32, 32, 0.2));
}

@keyframes spinBlock {
  from {
    transform: rotate(38deg);
  }
  to {
    transform: rotate(398deg); /* 38 + 360 */
  }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.why-layout h2,
.contact h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 6.25rem);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards;
}

.hero-text {
  margin: 1.4rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-stats div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

.hero-accent {
  animation: drift 10s ease-in-out infinite;
}

/* =========================================
   SHARED PANELS / CARDS
========================================= */

.hero-card,
.service-card,
.process-step,
.contact-card,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(8, 8, 8, 0.98));
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.08), transparent 50%, rgba(255, 32, 32, 0.08));
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.7);
}

.queue-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-item:last-child {
  border-bottom: none;
}

.queue-item span {
  color: var(--text);
}

.queue-item strong {
  color: var(--green);
  font-size: 0.92rem;
  white-space: nowrap;
}

/* =========================================
   SECTIONS
========================================= */

.services,
.process,
.contact {
  background: var(--section);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.why-layout h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.75rem);
}

/* =========================================
   GRIDS
========================================= */

.card-grid,
.process-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  gap: 3rem;
}

/* =========================================
   SERVICE CARDS / WHY / PROCESS
========================================= */

.service-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 22px;
  overflow: hidden;
}

.card-stripe {
  width: 72px;
  height: 6px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--green));
}

.service-card h3,
.process-step h3,
.why-points h3 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.service-card p,
.process-step p,
.why-points p,
.contact-copy,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.why-points {
  display: grid;
  gap: 1.2rem;
}

.why-points article {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step {
  padding: 1.5rem;
  border-radius: 22px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 14px;
  background: rgba(57, 255, 20, 0.08);
  color: var(--green);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

/* =========================================
   FAQ
========================================= */

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1rem 1.25rem;
  border-radius: 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  padding-top: 0.85rem;
}

/* =========================================
   CONTACT
========================================= */

.contact {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: 6rem 0;
}

.contact h2 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
}

.contact-copy {
  max-width: 54ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact .why-points {
  gap: 0;
}

.contact .why-points article {
  padding: 1.25rem 0;
}

.contact .why-points article:first-child {
  padding-top: 0;
}

.contact .why-points p a {
  color: var(--green);
  text-decoration: none;
}

.contact .why-points p a:hover {
  text-decoration: underline;
}

.contact-card {
  display: grid;
  align-self: stretch;
  gap: 1rem;
  padding: 2rem;
  border-radius: 24px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #9b9b9b;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.contact-card button {
  margin-top: 0.5rem;
}

/* =========================================
   ACCREDITATION STRIP
========================================= */

.accreditation-strip {
  padding: 2.5rem 0;
  overflow: hidden;
}

.accreditation-marquee {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid var(--section);
  border-bottom: 1px solid var(--section);
}

.accreditation-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: accreditation-scroll 28s linear infinite;
}

.accreditation-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--section);
  border-radius: 999px;
  background: var(--section);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.accreditation-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.accreditation-item span {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.accreditation-item:hover {
  border-color: rgba(57, 255, 20, 0.35);
}

.accreditation-item:hover span {
  color: var(--green);
}

/* =========================================
   WHY COLLAGE SECTION
========================================= */

.why-layout-section {
  background: var(--bg);
  color: #fff;
}

.why-layout-section .btn {
  margin-top: 2rem;
}

.why-collage {
  position: relative;
  min-height: 720px;
}

.why-collage-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.why-collage-img-1 {
  top: 0;
  right: 0;
  width: 70%;
}

.why-collage-img-2 {
  top: 150px;
  right: 0;
  width: 90%;
}

.why-collage-img-3 {
  bottom: 0;
  left: 0;
  width: 70%;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: #000;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-copy {
  max-width: 26ch;
  margin: 0 0 1.75rem;
  color: #e2e2e2;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  background: #0d79d0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: background var(--transition);
}

.footer-cta:hover {
  background: #1285e2;
}

.footer-links-col h3,
.footer-address-col h3 {
  margin: 0 0 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links-col ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-col a {
  color: #f3f3f3;
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links-col a::before {
  content: "›";
  margin-right: 0.75rem;
  color: #cfcfcf;
}

.footer-links-col a:hover {
  color: var(--green);
}

.footer-location h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.footer-location p {
  margin: 0 0 1rem;
  color: #efefef;
  line-height: 1.6;
}

.footer-logo {
  width: 280px;
  height: 280px;
  padding-bottom: 20px;
  flex-shrink: 0;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  background: var(--section);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  padding: 1.25rem 0;
  color: #bfbfbf;
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes accreditation-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(10px);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1080px) {
  .hero-content,
  .why-layout,
  .card-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .nav.is-open {
    position: absolute;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #080808;
  }

  .hero-content,
  .why-layout,
  .contact-layout,
  .card-grid,
  .process-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-red-block {
    top: 90px;
    right: -30px;
    left: auto;
    width: 140px;
    height: 220px;
  }

  .hero h1,
  .contact h2 {
    max-width: 100%;
  }

  .contact {
    min-height: auto;
    padding: 4.5rem 0;
  }

  .contact-layout {
    gap: 2rem;
  }

  .why-collage {
    display: grid;
    min-height: auto;
    gap: 1rem;
  }

  .why-collage-img {
    position: static;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .accreditation-track {
    animation-duration: 22s;
  }

  .accreditation-item {
    padding: 0.75rem 0.95rem;
  }

  .accreditation-item img {
    width: 24px;
    height: 24px;
  }

  .accreditation-item span {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-cta {
    width: 100%;
  }

  .footer-logo {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }
}