:root {
  --taz-blue: #164a9b;
  --taz-blue-2: #0b2d67;
  --taz-red: #e31f2f;
  --taz-red-2: #b91523;
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
}

a {
  text-decoration: none;
}

.site-nav {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 238, 0.7);
  backdrop-filter: blur(18px);
  transition: padding 180ms ease, box-shadow 180ms ease;
}

.site-nav.is-scrolled {
  padding: 10px 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.brand-logo {
  width: 118px;
  height: auto;
}

.navbar .nav-link {
  color: #233044;
  font-size: 0.94rem;
  font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--taz-red);
}

.nav-cta,
.btn-primary {
  --bs-btn-bg: var(--taz-red);
  --bs-btn-border-color: var(--taz-red);
  --bs-btn-hover-bg: var(--taz-red-2);
  --bs-btn-hover-border-color: var(--taz-red-2);
  border-radius: 999px;
  font-weight: 800;
}

.btn-light,
.btn-outline-light,
.btn-outline-primary {
  border-radius: 999px;
  font-weight: 800;
}

.btn-outline-primary {
  --bs-btn-color: var(--taz-red);
  --bs-btn-border-color: var(--taz-red);
  --bs-btn-hover-bg: var(--taz-red);
  --bs-btn-hover-border-color: var(--taz-red);
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #07152f;
}

.hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 47, 0.94) 0%, rgba(7, 21, 47, 0.78) 46%, rgba(7, 21, 47, 0.28) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--taz-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--taz-red);
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel {
  margin-left: auto;
  padding: 32px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.hero-panel h2 {
  max-width: 360px;
  margin-bottom: 26px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-bottom: 22px;
  background: #7dd3fc;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(125, 211, 252, 0.18);
}

.hero-metric {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metric span {
  color: #7dd3fc;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.hero-metric p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-pad {
  padding: 104px 0;
}

.bg-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2,
.section-title,
.dark-band h2,
.cta-box h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
}

.section-heading p,
.section-copy,
.dark-band p,
.cta-box p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-grid .col-xl {
  min-width: 20%;
}

.service-card {
  display: flex;
  min-height: 100%;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-direction: column;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.service-card:focus {
  color: var(--ink);
  border-color: rgba(22, 74, 155, 0.45);
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.icon-wrap {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--taz-red);
  background: #fff0f1;
  border-radius: 8px;
  place-items: center;
}

.icon-wrap i,
.mini-card i,
.persona-card i {
  font-size: 1.55rem;
}

.service-card h3,
.mini-card h3,
.capability h3,
.persona-card h3,
.news-card h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.25;
}

.service-card p,
.mini-card p,
.capability p,
.persona-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--taz-red);
  font-weight: 800;
}

.vertical-services {
  padding: 104px 0 0;
  background: var(--white);
}

.vertical-intro {
  margin-bottom: 72px;
}

.vertical-service-row {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: var(--white);
  border-top: 1px solid #edf1f6;
}

.vertical-service-row-alt {
  background:
    linear-gradient(135deg, rgba(227, 31, 47, 0.045), rgba(22, 74, 155, 0.028)),
    #f7f8fa;
}

.vertical-service-row-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 31, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 31, 47, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}

.vertical-service-row > .container {
  position: relative;
  z-index: 1;
}

.vertical-service-image {
  width: 100%;
  aspect-ratio: 16 / 6.6;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 24px rgba(15, 23, 42, 0.22);
}

.vertical-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease;
}

.vertical-animate-image {
  transform: translateY(24px) scale(0.985);
  filter: saturate(0.85) contrast(0.94);
  transition-duration: 820ms;
}

.vertical-animate-kicker {
  transition-delay: 90ms;
}

.vertical-animate-title {
  transition-delay: 170ms;
}

.vertical-animate-copy {
  transition-delay: 250ms;
}

.vertical-animate-button {
  transition-delay: 330ms;
}

.vertical-service-row.is-visible .vertical-animate {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

.vertical-service-row.is-visible .vertical-animate-image {
  transform: translateY(0) scale(1);
}

.vertical-service-row h3 {
  margin-bottom: 28px;
  color: #05070a;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.vertical-service-row p:not(.vertical-kicker) {
  max-width: 720px;
  margin-bottom: 34px;
  color: #414651;
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  line-height: 1.55;
}

.vertical-kicker {
  margin-bottom: 14px;
  color: var(--taz-red);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-section {
  padding: 74px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 47, 0.98), rgba(22, 74, 155, 0.94)),
    url("../../images/db/1_3_20_1573972481_00766_md.jpg") center / cover no-repeat;
}

.stats-section h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.95rem, 2.65vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
}

.stats-section .eyebrow {
  color: #7dd3fc;
}

.stat-card {
  height: 100%;
  min-width: 0;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  transform: translateY(18px);
  transition: transform 650ms ease, background 650ms ease;
}

.stats-section.is-visible .stat-card {
  transform: translateY(0);
}

.stats-section.is-visible .col-md-4:nth-child(2) .stat-card {
  transition-delay: 120ms;
}

.stats-section.is-visible .col-md-4:nth-child(3) .stat-card {
  transition-delay: 240ms;
}

.stat-card > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  color: #7dd3fc;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.stat-card small {
  flex: 0 0 auto;
  font-size: 0.48em;
  font-weight: 800;
}

.stat-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-transform: uppercase;
}

.feature-image {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.mini-card {
  height: 100%;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-card i {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--taz-red);
}

.dark-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 45, 103, 0.98), rgba(6, 20, 43, 0.98)),
    url("../../images/db/1_3_20_1573972481_00766_md.jpg") center / cover no-repeat;
}

.dark-band h2,
.dark-band .capability h3 {
  color: var(--white);
}

.dark-band p,
.dark-band .capability p {
  color: rgba(255, 255, 255, 0.72);
}

.capability {
  height: 100%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.capability span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--taz-red);
  font-size: 0.88rem;
  font-weight: 800;
}

.persona-card {
  display: block;
  height: 100%;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.persona-card:hover,
.persona-card:focus {
  color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.persona-card i {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--taz-red);
}

.news-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card div {
  padding: 24px;
}

.news-card a {
  color: var(--ink);
}

.news-card a:hover,
.news-card a:focus {
  color: var(--taz-red);
}

.cta-section {
  padding: 64px 0;
  background: var(--soft);
}

.cta-box {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--taz-red), var(--taz-blue-2));
  border-radius: 8px;
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.cta-box p {
  max-width: 650px;
  margin-bottom: 0;
  opacity: 0.82;
}

.cta-box .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #07152f;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--white);
}

.footer-logo {
  width: 118px;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.reveal-delay-4 {
  transition-delay: 360ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vertical-animate,
  .vertical-animate-image,
  .stat-card {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1199.98px) {
  .service-grid .col-xl {
    min-width: auto;
  }

  .stats-section h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-card > span {
    font-size: clamp(1.65rem, 2.8vw, 2.1rem);
    gap: 6px;
  }

  .stat-card p {
    font-size: 0.72rem;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    padding: 12px 0;
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .hero-section {
    min-height: 660px;
  }

  .section-pad {
    padding: 76px 0;
  }

  .feature-image {
    min-height: 340px;
  }

  .cta-box,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .vertical-services {
    padding-top: 76px;
  }

  .vertical-intro {
    margin-bottom: 46px;
  }

  .vertical-service-row {
    padding: 56px 0;
  }

  .vertical-service-image {
    aspect-ratio: 16 / 8.8;
  }

  .stats-section {
    padding: 64px 0;
  }

  .stat-card {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 640px;
  }

  .hero-media {
    transform: none;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(7, 21, 47, 0.95) 0%, rgba(7, 21, 47, 0.82) 100%);
  }

  .section-pad {
    padding: 62px 0;
  }

  .service-card,
  .persona-card,
  .mini-card,
  .capability {
    padding: 24px;
  }

  .cta-box {
    padding: 30px;
  }

  .vertical-service-row h3 {
    margin-bottom: 18px;
  }

  .vertical-service-row p:not(.vertical-kicker) {
    margin-bottom: 26px;
    font-size: 1.08rem;
  }

  .stats-section {
    padding: 64px 0 76px;
  }

  .stats-section h2 {
    font-size: clamp(2.2rem, 10vw, 3.05rem);
  }

  .stat-card {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    padding: 34px 22px;
    text-align: center;
    flex-direction: column;
  }

  .stat-card > span {
    justify-content: center;
    margin-bottom: 22px;
    font-size: clamp(3rem, 13vw, 4.35rem);
  }

  .stat-card small {
    font-size: 0.42em;
  }

  .stat-card p {
    font-size: 1.04rem;
    white-space: normal;
  }
}
