:root {
  --red: #d73b42;
  --red-dark: #b92c33;
  --black: #111111;
  --black-soft: #1b1b1f;
  --charcoal: #24242a;
  --white: #f5f5f5;
  --offwhite: #e8e8e8;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    linear-gradient(180deg, #cf3940 0%, #d83e45 42%, #cb353c 100%);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--black);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-weight: 700;
  color: var(--offwhite);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  padding: 84px 0 72px;
}

.hero-inner {
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
  color: var(--offwhite);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 22px auto 0;
  font-size: 1.15rem;
  color: var(--offwhite);
}

.hero-card {
  width: min(720px, 100%);
  margin: 34px auto 0;
  padding: 34px 24px 28px;
  background:transparent;
  border: none;
  border-radius: var(--radius);
  box-shadow: none;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 16px solid var(--black);
}

.logo-icon {
  font-size: 4.4rem;
  line-height: 1;
  filter: grayscale(1) contrast(1.3);
}

.hero-card-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--offwhite);
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--black);
  color: #ffffff;
  border: 2px solid var(--black);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #000000;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.28);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(17,17,17,0.2);
}

.btn-large {
  min-width: min(460px, 100%);
  font-size: 1.05rem;
}

.equation-section,
.services-section,
.contact-section {
  padding: 82px 0;
}

.section-eyebrow {
  margin: 0 0 14px;
  color: #ffd8da;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-align: center;
}

.equation-section h2,
.services-section h2,
.contact-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-align: center;
}

.equation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.equation-card,
.service-card {
  background: linear-gradient(180deg, rgba(17,17,17,0.94) 0%, rgba(36,36,42,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.equation-card {
  position: relative;
  padding: 30px 24px 26px;
  min-height: 100%;
}

.equation-symbol {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
}

.equation-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.equation-card p {
  margin: 0;
  color: var(--offwhite);
}

.emoji-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(215, 59, 66, 0.12);
  border: 3px solid rgba(255,255,255,0.08);
  font-size: 4rem;
}

.challenge-list {
  margin: 0;
  padding-left: 20px;
  color: var(--offwhite);
}

.challenge-list li {
  margin-bottom: 10px;
}

.solution-visual {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 18px;
}

.solution-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border: 3px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  font-size: 2.6rem;
}

.person-box {
  background: rgba(255,255,255,0.05);
}

.machine-box {
  background: rgba(215, 59, 66, 0.12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-card {
  padding: 26px 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--offwhite);
}

.contact-inner {
  max-width: 760px;
  text-align: center;
}

.contact-copy {
  margin: 0 auto 26px;
  font-size: 1.08rem;
  color: var(--offwhite);
}

.site-footer {
  padding: 26px 0 40px;
  background: rgba(17, 17, 17, 0.9);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 8px 0;
  color: var(--offwhite);
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .equation-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 14px;
  }
}

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

  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero-card {
    padding: 28px 18px 22px;
  }

  .logo-circle {
    width: 136px;
    height: 136px;
    border-width: 12px;
  }

  .logo-icon {
    font-size: 3.4rem;
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .equation-section,
  .services-section,
  .contact-section {
    padding: 64px 0;
  }
}

.logo-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:20px;
}

.hero-logo{
  width:280px;
  max-width:90%;
  height:auto;
  display:block;
  filter: none;
}

/* HEADER LOGO */

.header-logo{
  height:55px;
  width:auto;
}

/* WHITE AREA FOR LOGO */

.white-logo-area{
  background:white;
  padding:40px;
  border-radius:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:20px;
  box-shadow:none;
  border:2px solid rgba(0,0,0,0.08);
}

/* HERO LOGO */

.hero-logo{
  width:260px;
  height:auto;
  display:block;
}