:root {
  --ink: #102024;
  --muted: #617077;
  --line: #d9e4e2;
  --paper: #ffffff;
  --soft: #f5f8f6;
  --soft-2: #eef4f1;
  --brand: #176b5f;
  --brand-dark: #0b3834;
  --accent: #c36b37;
  --accent-soft: #f0d2bd;
  --shadow: 0 22px 60px rgba(16, 32, 36, 0.14);
  --max: 1180px;
  --sidebar: 292px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbfa 0, #fff 280px),
    var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--sidebar);
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 12px 0 42px rgba(16, 32, 36, 0.08);
  overflow-y: auto;
}

.brand {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 28px;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

.brand img {
  width: 88px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(23, 107, 95, 0.08);
}

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

.brand strong {
  font-family: Raleway, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.site-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  width: 100%;
}

.nav-group {
  display: grid;
  gap: 4px;
}

.site-nav a,
.nav-toggle {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  font: 700 0.82rem "Open Sans", Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  justify-content: space-between;
  border-left: 4px solid transparent;
}

.site-nav a.active,
.site-nav a:hover,
.nav-toggle:hover {
  background: rgba(23, 107, 95, 0.1);
  border-left-color: var(--accent);
  color: var(--brand-dark);
}

.nav-parent::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.58;
}

.sub-menu {
  display: none;
  gap: 4px;
  margin-left: 12px;
  padding: 2px 0 4px 14px;
  border-left: 1px solid var(--line);
}

.nav-group.open > .sub-menu,
.nav-group:hover > .sub-menu,
.nav-group:focus-within > .sub-menu {
  display: grid;
}

.sub-menu a {
  display: flex;
  width: 100%;
  min-height: 36px;
  color: var(--muted);
  font-size: 0.76rem;
}

.sidebar-contact {
  display: grid;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.sidebar-contact a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.nav-scrim {
  display: none;
}

main,
.site-footer {
  margin-left: var(--sidebar);
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: clamp(74px, 11vw, 150px) clamp(20px, 5vw, 72px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 34, 32, 0.95) 0%, rgba(7, 34, 32, 0.84) 46%, rgba(7, 34, 32, 0.28) 100%),
    url("../img/clients-hero.jpg") center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 5vw, 72px) 34px auto;
  width: min(38vw, 410px);
  height: 8px;
  background: var(--accent);
}

.hero::after {
  content: "Technology Consulting  |  Cloud  |  Security  |  Transformation";
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 52px;
  max-width: 430px;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  font: 800 0.82rem "Open Sans", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero.compact {
  min-height: 46vh;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent-soft);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: Raleway, Arial, sans-serif;
  line-height: 1.15;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
}

.hero p {
  max-width: 680px;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 56, 52, 0.22);
}

.button.primary:hover {
  background: var(--brand);
}

.button.secondary,
.button.light {
  border-color: currentColor;
  color: #fff;
}

.section {
  padding: clamp(58px, 7vw, 108px) clamp(20px, 5vw, 72px);
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 72px);
}

.section-logo {
  width: 145px;
  margin-bottom: 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(23, 107, 95, 0.08);
}

.columns {
  columns: 2 260px;
  column-gap: 32px;
}

.callout {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(7, 34, 32, 0.98), rgba(11, 56, 52, 0.96)),
    url("../img/clients-hero.jpg") center/cover;
  color: #fff;
}

.callout h2,
.callout p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.callout .button.light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.callout .button.light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.callout p,
.section-heading p {
  max-width: 820px;
  margin: 0 auto 24px;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 24px auto 0;
  background: var(--accent);
}

.service-grid,
.client-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.client-card,
.partner-grid article {
  min-height: 150px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 32, 36, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.client-card:hover,
.partner-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 107, 95, 0.32);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
}

.content-section {
  max-width: var(--max);
  margin: 0 auto;
}

.text-block {
  max-width: 920px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.text-block h3 {
  position: relative;
  padding-top: 8px;
}

.text-block h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--accent);
}

.text-block p,
.text-block ul {
  margin-top: 0;
}

.text-block ul {
  padding-left: 22px;
}

.wide-image {
  display: block;
  width: min(100%, var(--max));
  margin: 0 auto 50px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.client-card {
  text-align: center;
}

.client-card img {
  width: 190px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 22px;
}

.client-card p {
  padding-top: 14px;
  border-top: 6px solid var(--accent);
  font-style: italic;
}

.partner-band {
  background: var(--soft-2);
}

.partner-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.partner-grid article {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 180px;
  text-align: center;
  font-weight: 800;
}

.partner-grid img {
  max-height: 92px;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 44px;
}

.contact-list {
  padding-left: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bdc8d0;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(195, 107, 55, 0.22);
  border-color: var(--accent);
}

.site-footer {
  padding: 46px clamp(20px, 5vw, 72px);
  background: var(--brand-dark);
  color: #dce4e8;
  text-align: center;
}

.site-footer h2 {
  font-size: 1.6rem;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 860px) {
  .nav-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 35;
    display: inline-flex;
    min-height: 42px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(16, 32, 36, 0.13);
  }

  .site-sidebar {
    z-index: 30;
    width: min(86vw, 320px);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  body.nav-open .site-sidebar {
    transform: translateX(0);
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: block;
    pointer-events: none;
    background: rgba(7, 34, 32, 0);
    transition: background 220ms ease;
  }

  body.nav-open .nav-scrim {
    pointer-events: auto;
    background: rgba(7, 34, 32, 0.48);
  }

  main,
  .site-footer {
    margin-left: 0;
  }

  .hero::after,
  .hero::before {
    display: none;
  }

  .hero {
    min-height: 58vh;
    padding-top: 112px;
  }

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

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

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .brand img {
    width: 54px;
  }

  h1 {
    font-size: 2.35rem;
  }
}
