:root {
  --bg: #07090b;
  --bg-soft: #111419;
  --card: rgba(255, 255, 255, 0.065);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.52);
  --red: #b30f2d;
  --red-bright: #d41f3c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 86% 24%, rgba(174, 15, 43, 0.15), transparent 34%),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(135deg, #11151a 0%, #080a0d 45%, #060708 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.04) 58.3%, transparent 59%),
    linear-gradient(115deg, transparent 0 72%, rgba(179, 15, 45, 0.13) 72.3%, transparent 73%);
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  right: -16vw;
  bottom: -34vw;
  width: 78vw;
  height: 78vw;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 26px 0 70px rgba(255, 255, 255, 0.035),
    -22px -22px 80px rgba(179, 15, 45, 0.16);
  opacity: 0.75;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px);
  background-size: 34px 34px, 41px 41px;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 56px));
  min-height: 720px;
  margin: 0 auto;
  padding: 46px 0 42px;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 82px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(179, 15, 45, 0.28));
}

.brand-text {
  display: grid;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-size: 26px;
  font-weight: 900;
}

.brand-text strong:first-child {
  font-size: 34px;
}

.nav-menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--red-bright);
  transition: right 0.24s ease;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a:hover::after {
  right: 0;
}

.nav-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #cf2741 0%, #a90d2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 12px 32px rgba(179, 15, 45, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.primary-button-mobile {
  display: none;
}

.nav-cta {
  min-height: 44px;
  padding: 0 25px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.nav-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 18px 40px rgba(179, 15, 45, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 106px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.hero-description {
  max-width: 440px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.52;
  font-weight: 500;
}

.primary-button {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 15, 45, 0.2), transparent 62%);
  filter: blur(8px);
}

.hero-visual img {
  position: relative;
  width: min(92%, 600px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 34px 55px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 34px rgba(179, 15, 45, 0.14));
  transform: translateX(12px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.service-card {
  position: relative;
  min-height: 158px;
  padding: 36px 34px 30px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -70% 15%;
  height: 90px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(179, 15, 45, 0.28), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.card-line {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(179, 15, 45, 0.6);
}

.service-card h2 {
  margin: 0 0 18px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}

.about-section,
.cases-section {
  position: relative;
  z-index: 1;
  padding: 96px 28px;
  background: #fff;
  color: #15171b;
}

.cases-section {
  background: #f4f4f5;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-inner h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.section-inner > p:last-child {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(21, 23, 27, 0.72);
  font-size: 20px;
  line-height: 1.55;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.mini-grid div {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(10, 10, 10, 0.08);
}

.mini-grid strong {
  color: var(--red);
  font-size: 22px;
}

.mini-grid span {
  color: rgba(21, 23, 27, 0.68);
  font-size: 16px;
  line-height: 1.45;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.76);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: #fff;
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 34px, var(--max));
    padding-top: 28px;
  }

  .primary-button {
    display: none;
  }

  .primary-button-mobile {
    display: inline-flex;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

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

  .navbar.is-open .nav-menu {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar.is-open .nav-menu a {
    padding: 15px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 560px;
    transform: none;
  }

  .service-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .brand-mark {
    width: 58px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-text strong:first-child {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-description {
    font-size: 17px;
  }

  .primary-button {
    width: 100%;
  }

  .service-card {
    padding: 28px 24px;
  }

  .footer {
    display: grid;
    gap: 18px;
  }
}
