:root {
  --bg: #04070d;
  --bg-soft: #0d1422;
  --surface: #111a2b;
  --paper: #f6f7fa;
  --text: #e8edf5;
  --text-dark: #10151f;
  --muted: #b6c0d4;
  --brand: #e22a23;
  --brand-soft: #ff4a43;
  --line: #283349;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgb(3 8 20 / 28%);
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -20%, #15213b, var(--bg) 55%);
  line-height: 1.6;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  z-index: 1000;
  border-radius: 0.4rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 5.5rem 0;
}

.section-pad-sm {
  padding: 2.4rem 0;
}

.eyebrow {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-soft);
  font-size: 1.05rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5.8vw, 4.1rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.42rem;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(8px);
  background: rgb(3 7 16 / 74%);
  border-bottom: 1px solid rgb(111 128 163 / 16%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  position: relative;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  text-decoration: none;
}

.brand-mark {
  width: 180px;
  height: 56px;
  border-radius: 0;
  background: url("logo.png") left center / contain no-repeat;
  background-image: image-set(url("logo.webp") type("image/webp"), url("logo.png") type("image/png"));
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 0;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-subline {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 1.24rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.24rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 25%);
  background: transparent;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
  border: 0;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:focus-visible,
.faq-question:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), #ff5449);
  box-shadow: 0 10px 25px rgb(226 42 35 / 30%);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgb(255 255 255 / 28%);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand-soft);
  background: rgb(255 255 255 / 4%);
}

.btn-nav {
  color: white;
  background: rgb(226 42 35 / 85%);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgb(6 10 18 / 94%) 0 44%, rgb(7 14 24 / 35%) 65%, rgb(5 12 23 / 0%) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.hero-points li {
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.88rem;
  color: #d6dfef;
  background: rgb(255 255 255 / 4%);
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-8deg);
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metrics article {
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%));
}

.metrics h3 {
  color: var(--brand-soft);
  margin-bottom: 0.2rem;
}

.metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgb(255 255 255 / 12%);
  background: linear-gradient(160deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
  padding: 1.6rem;
}

.panel p {
  color: var(--muted);
}

.media {
  overflow: hidden;
  padding: 0;
}

.media picture,
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alt-bg {
  background: linear-gradient(180deg, #f0f2f7 0%, #f9fafc 100%);
  color: var(--text-dark);
}

.alt-bg .eyebrow {
  color: #cf241d;
}

.alt-bg p,
.alt-bg li,
.alt-bg .section-head p {
  color: #374154;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid #dbe2ee;
  box-shadow: 0 8px 22px rgb(20 30 47 / 8%);
  padding: 1rem;
}

.service-card h3 {
  color: #1c2535;
  margin-bottom: 0.5rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section-media {
  margin: 1.3rem 0 0;
  border: 1px solid #d2dceb;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.steps {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.steps li h3 {
  margin-bottom: 0.2rem;
}

.steps li p {
  margin: 0;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 1rem;
}

.logo-wall span {
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  min-height: 48px;
  display: grid;
  place-items: center;
  background: white;
  color: #1f2a3f;
  font-weight: 700;
  text-align: center;
  padding: 0.4rem 0.7rem;
}

.proof-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card,
.testimonial {
  border-radius: var(--radius-md);
  border: 1px solid rgb(255 255 255 / 16%);
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%));
  padding: 1.2rem;
}

.testimonials .testimonial {
  border-color: #dbe2ee;
  background: white;
}

.testimonial p {
  margin-top: 0;
}

.testimonial cite {
  color: #5a6578;
  font-style: normal;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 3%);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  color: var(--text);
  background: transparent;
  font: 700 1rem/1.4 "Manrope", "Segoe UI", sans-serif;
  padding: 1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  max-height: 50rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-form {
  background: white;
  color: #111826;
  border: 1px solid #dae2f0;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  gap: 0.72rem;
}

.contact-form label {
  display: grid;
  gap: 0.26rem;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  border: 1px solid #c9d4e6;
  border-radius: 10px;
  min-height: 44px;
  padding: 0.7rem;
  font: inherit;
}

.site-footer {
  background: #02050b;
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding: 2.4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.copy {
  text-align: center;
  margin-top: 1.6rem;
  color: #99a4bc;
  padding-top: 0.9rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.reveal,
.reveal-delay,
.reveal-delay-2 {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-delay {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal.is-visible,
.reveal-delay.is-visible,
.reveal-delay-2.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .nav-shell {
    min-height: 86px;
  }

  .hero-grid,
  .contact-grid,
  .split-grid,
  .proof-grid,
  .testimonials-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual picture,
  .hero-visual img,
  .media picture,
  .media img {
    height: auto;
    object-fit: contain;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 4vw;
    width: min(90vw, 330px);
    border-radius: 14px;
    border: 1px solid rgb(255 255 255 / 16%);
    background: rgb(7 11 20 / 96%);
    padding: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav a {
    width: 100%;
    padding: 0.45rem 0.2rem;
  }

  .primary-nav .btn-nav {
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: all;
    transform: none;
  }

  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 4.1rem 0;
  }

  .nav-shell {
    min-height: 74px;
  }

  .brand-mark {
    width: 148px;
    height: 46px;
  }

  .brand-subline {
    display: none;
  }

  .primary-nav {
    width: 92vw;
    right: 4vw;
    padding: 0.75rem;
  }

  .metrics-grid,
  .logo-wall {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
