* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f6;
  color: #20242a;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  background: #f5f5f6;
}

.sidebar {
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  padding: 28px 22px;
  background: #a90000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-brand img {
  display: block;
  max-width: 125px;
  height: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.language-switch a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 650;
}

.language-switch .active-language,
.language-switch a:hover {
  color: #ffffff;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  line-height: 1.25;
  font-size: 0.95rem;
  font-weight: 500;
}

.sidebar-link:visited {
  color: rgba(255, 255, 255, 0.86);
}

.sidebar-link:hover,
.sidebar-link:focus {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  outline: none;
}

.sidebar-link.active {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
  font-weight: 750;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  flex: 0 0 12px;
}

.sidebar-link.active .nav-dot {
  background: #ffffff;
  border-color: #ffffff;
}

.sidebar-contact {
  margin-top: auto;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.main-content {
  min-width: 0;
  padding: 56px clamp(28px, 5vw, 84px);
}

.section {
  max-width: 1120px;
  margin: 0 auto 72px;
}

.hero {
  padding-top: 24px;
}

.hero-logo-wrap {
  max-width: 760px;
  margin: 8px auto 28px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

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

.home-hero .hero-logo-wrap {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.home-hero .hero-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-hero .hero-actions {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #a90000;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 740px;
  margin: 24px auto 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #4a5564;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: #a90000;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: #a90000;
  border: 1px solid rgba(169, 0, 0, 0.18);
}

.trust-strip {
  max-width: 1120px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div {
  background: #ffffff;
  border: 1px solid rgba(32, 36, 42, 0.08);
  border-radius: 16px;
  padding: 18px;
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(32, 36, 42, 0.06);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2,
.split-section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-header p,
.cta-section p {
  color: #566170;
  line-height: 1.7;
}

.services-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.feature-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(32, 36, 42, 0.08);
  border-radius: 22px;
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(32, 36, 42, 0.07);
}

.content-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(32, 36, 42, 0.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(32, 36, 42, 0.07);
}

.service-card h3,
.feature-card h3 {
  margin: 0 0 10px;
}

.content-card h3 {
  margin: 0 0 10px;
}

.service-card p,
.feature-card p {
  margin: 0;
  color: #566170;
  line-height: 1.65;
}

.content-card p {
  margin: 0;
  color: #566170;
  line-height: 1.65;
}

.content-card p + p {
  margin-top: 12px;
}

.use-case-list {
  margin: 0;
  padding-left: 18px;
  color: #566170;
  line-height: 1.65;
}

.use-case-list li + li {
  margin-top: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.cta-section {
  max-width: 1120px;
  margin: 0 auto 72px;
  padding: 34px;
  border-radius: 28px;
  background: #20242a;
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid rgba(32, 36, 42, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #566170;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  color: #a90000;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .sidebar-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 32px 18px;
  }

  .trust-strip,
  .services-grid,
  .content-grid,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
