:root {
  --bg: #050505;
  --bg-soft: #101113;
  --panel: rgba(15, 17, 20, 0.82);
  --panel-strong: rgba(20, 22, 27, 0.95);
  --text: #f4f1ea;
  --muted: #b9b0a5;
  --line: rgba(255, 255, 255, 0.08);
  --red: #d51732;
  --red-soft: rgba(213, 23, 50, 0.22);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213, 23, 50, 0.16), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(213, 23, 50, 0.12), transparent 18rem),
    linear-gradient(180deg, #040404 0%, #09090a 35%, #111216 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

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

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

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid rgba(213, 23, 50, 0.25);
  box-shadow: 0 10px 30px rgba(213, 23, 50, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

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

.nav-link,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-link.is-active,
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.is-active {
  color: var(--text);
}

.nav-item {
  position: relative;
}

.nav-dropdown-toggle::after {
  margin-left: 0.45rem;
  font-size: 0.7rem;
  content: "▼";
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 12rem;
  display: none;
  flex-direction: column;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(11, 12, 15, 0.96);
  box-shadow: var(--shadow);
  z-index: 25;
}

.nav-dropdown.is-open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--muted);
}

.nav-cta {
  border: 1px solid rgba(213, 23, 50, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #f3274b 0%, var(--red) 65%, #8a0e20 100%);
  box-shadow: 0 18px 38px rgba(213, 23, 50, 0.28);
  color: #fff;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.nav-cta.is-active {
  color: #fff;
  background: linear-gradient(135deg, #ff3a59 0%, #dd1633 65%, #920f22 100%);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0.7rem 1rem;
}

.hero,
.page-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 2rem;
}

.hero {
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - 8rem);
}

.page-hero {
  max-width: 54rem;
  padding-top: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #f77286;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
}

.lead,
.section-heading p,
.advantage-copy p,
.about-layout p,
.card p,
.step p,
.metric-label,
.contact-form input,
.contact-form textarea,
.site-footer p {
  color: var(--muted);
}

.lead {
  max-width: 46rem;
  margin: 1.4rem 0 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-quote {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: #f1d9dd;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #f3274b 0%, var(--red) 65%, #8a0e20 100%);
  box-shadow: 0 18px 38px rgba(213, 23, 50, 0.28);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ff8092;
  font-weight: 700;
}

.hero-points,
.check-list,
.advantage-panel ul,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points li {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #efe7dd;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at center, rgba(213, 23, 50, 0.22), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  inset: auto;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.85;
}

.hero-visual::before {
  width: 16rem;
  height: 16rem;
  right: -4rem;
  top: -3rem;
  background: rgba(213, 23, 50, 0.28);
}

.hero-visual::after {
  width: 10rem;
  height: 10rem;
  left: -2rem;
  bottom: 2rem;
  background: rgba(255, 255, 255, 0.08);
}

.signal-frame {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 2px solid rgba(213, 23, 50, 0.4);
  transform-origin: center;
  animation: pulse 10s ease-in-out infinite;
}

.signal-frame-xl {
  width: 28rem;
  height: 28rem;
  transform: translate(-50%, -50%) rotate(18deg);
}

.signal-frame-lg {
  width: 21rem;
  height: 21rem;
  transform: translate(-42%, -42%) rotate(-16deg);
  animation-delay: -2s;
}

.signal-frame-md {
  width: 15rem;
  height: 15rem;
  transform: translate(-38%, -35%) rotate(32deg);
  animation-delay: -4s;
}

.signal-frame-sm {
  width: 9rem;
  height: 9rem;
  transform: translate(-26%, -20%) rotate(-18deg);
  animation-delay: -6s;
}

.hero-logo {
  position: absolute;
  right: -9%;
  bottom: -14%;
  width: 78%;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.hero-card {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  width: min(22rem, calc(100% - 2.8rem));
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: blur(16px);
}

.hero-card span,
.panel-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #f77286;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.section {
  padding: 2rem 0;
}

.metrics,
.service-grid,
.process-grid,
.two-column,
.contact-page-grid {
  display: grid;
  gap: 1rem;
}

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

.service-grid,
.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.two-column,
.contact-page-grid {
  grid-template-columns: repeat(2, 1fr);
}

.metric,
.card,
.advantage-panel,
.step,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric,
.card,
.step,
.contact-panel,
.contact-form {
  padding: 1.45rem;
}

.metric-value {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.metric-label {
  line-height: 1.65;
}

.section-grid,
.advantage,
.process,
.about-preview {
  margin-top: 2rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.8rem;
}

.section-heading h2,
.card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p,
.card p {
  margin: 1rem 0 0;
  line-height: 1.8;
}

.card h3,
.step h3 {
  margin: 0 0 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.card p,
.step p {
  margin: 0;
  line-height: 1.7;
}

.advantage-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 0.7fr;
}

.advantage-copy,
.about-layout p {
  line-height: 1.9;
  font-size: 1.02rem;
}

.check-list li,
.advantage-panel li {
  position: relative;
  padding-left: 1.4rem;
  margin-top: 0.9rem;
  color: var(--muted);
}

.check-list li::before,
.advantage-panel li::before {
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--red-soft);
  color: #ff8092;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.contact-panel a {
  display: block;
  margin-top: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.contact-panel p:last-child {
  margin-top: 1rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: var(--panel-strong);
  font: inherit;
  padding: 0.9rem 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.inner-page {
  padding-top: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-family: "Space Grotesk", sans-serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.9;
  }
}

@media (max-width: 980px) {
  .hero,
  .metrics,
  .service-grid,
  .process-grid,
  .advantage-layout,
  .two-column,
  .contact-page-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 30rem;
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 1.3rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link,
  .nav-dropdown-toggle {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0.25rem;
    padding: 0.35rem 0 0 0.8rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 0.55rem 0;
  }

  .brand {
    flex: 1;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .hero-visual {
    min-height: 24rem;
  }

  .hero-logo {
    width: 96%;
    right: -18%;
    bottom: -18%;
  }

  .signal-frame-xl {
    width: 22rem;
    height: 22rem;
  }

  .signal-frame-lg {
    width: 16rem;
    height: 16rem;
  }

  .signal-frame-md {
    width: 11rem;
    height: 11rem;
  }

  .signal-frame-sm {
    width: 6rem;
    height: 6rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
