:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e0e7;
  --paper: #f7f8f7;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #134e4a;
  --gold: #c18a3d;
  --charcoal: #0c1118;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

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

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

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

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.service-nav a:hover {
  color: var(--white);
}

.service-hero {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 17, 24, 0.94), rgba(12, 17, 24, 0.76)),
    url("assets/hero-software-architecture.png") center / cover;
}

.service-hero-inner {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: 0.98;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.service-main {
  padding: 72px clamp(20px, 5vw, 72px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.32fr);
  gap: clamp(36px, 7vw, 92px);
  max-width: 1180px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 52px;
}

.content-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.content-section p,
.content-section li {
  color: var(--muted);
}

.content-section ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.side-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.side-panel p {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list a {
  color: var(--teal-dark);
  font-weight: 800;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px) 42px;
  color: var(--muted);
}

.service-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .service-header,
  .service-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .button {
    width: 100%;
  }
}
