:root {
  --ink: #10151f;
  --muted: #5a6677;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --line: #dce3ec;
  --blue: #0078d4;
  --blue-dark: #004f9f;
  --green: #5fb832;
  --gold: #d89b22;
  --shadow: 0 22px 60px rgba(13, 24, 42, 0.14);
  --header-height: 72px;
  --page-hero-gap: 72px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  background: #0b1220;
  overflow-x: hidden;
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  background: #ffffff;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(220, 227, 236, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: min(290px, 52vw);
  height: 42px;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

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

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: #2f3948;
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a.active {
  color: var(--blue-dark);
  background: #edf6ff;
  outline: none;
}

.nav-cta {
  margin-left: 6px;
  color: #ffffff !important;
  background: var(--blue) !important;
  box-shadow: 0 12px 28px rgba(0, 120, 212, 0.22);
}

.hero {
  position: relative;
  margin-top: var(--header-height);
  min-height: clamp(520px, 76svh, 760px);
  display: grid;
  align-items: start;
  overflow: hidden;
  color: #ffffff;
  background-color: #111827;
  background-image:
    linear-gradient(90deg, rgba(7, 15, 29, 0.92) 0%, rgba(7, 15, 29, 0.72) 46%, rgba(7, 15, 29, 0.34) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: var(--page-hero-gap) 0 116px;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cae8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

.hero h1,
.page-hero h1 {
  max-width: 860px;
  margin: 18px 0;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.34rem);
}

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

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

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(0, 120, 212, 0.28);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  color: var(--blue-dark);
  background: #ffffff;
}

.button.dark {
  color: #ffffff;
  background: var(--ink);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.intro-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(220, 227, 236, 0.86);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.intro-item {
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong {
  display: block;
  font-size: 1.02rem;
}

.intro-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: #ffffff;
  background: #111827;
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.kicker {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.split h2,
.cta h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.split p,
.cta p {
  color: var(--muted);
  font-size: 1.06rem;
}

.dark .section-head p,
.dark .split p,
.dark .cta p {
  color: rgba(255, 255, 255, 0.72);
}

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

.service-card,
.detail-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.card-media {
  min-height: 148px;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
}

.card-body {
  flex: 1;
  padding: 24px;
}

.card-body h3,
.detail-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.card-body p,
.detail-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--blue-dark);
  font-weight: 780;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.02fr);
}

.visual-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #172033;
}

.visual-panel img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.partner-panel {
  max-width: 430px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.partner-panel img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.partner-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
  text-align: center;
}

.partner-panel p {
  max-width: 340px;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.logo-strip {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.logo-strip img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #334155;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 720;
}

.stack-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  position: relative;
  padding-left: 28px;
  color: #314056;
}

.stack-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(95, 184, 50, 0.14);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detail-card {
  padding: 26px;
}

.about-copy {
  max-width: 900px;
}

.about-copy p {
  margin: 0 0 18px;
  color: #314056;
  font-size: 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.client-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #334155;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 720;
}

.dark .detail-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.dark .detail-card h3 {
  color: #ffffff;
}

.dark .detail-card p {
  color: rgba(255, 255, 255, 0.72);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.metric {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.page-hero {
  margin-top: var(--header-height);
  min-height: clamp(360px, 48svh, 560px);
  display: grid;
  align-items: start;
  color: #ffffff;
  background-color: #111827;
  background-image:
    linear-gradient(90deg, rgba(7, 15, 29, 0.92), rgba(7, 15, 29, 0.34)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.page-hero .section-inner {
  padding: var(--page-hero-gap) 0 72px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 650;
}

.breadcrumb a {
  color: #ffffff;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-step {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue-dark);
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 9px;
  font-size: 1.12rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.callout {
  border-radius: 8px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(0, 120, 212, 0.94), rgba(0, 79, 159, 0.94)),
    var(--callout-image, none);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.callout h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.callout p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status.success {
  color: #176b32;
}

.form-status.error {
  color: #a63b2f;
}

label {
  color: #314056;
  font-size: 0.9rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 120, 212, 0.16);
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.75);
  background: #0b1220;
}


.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: #ffffff;
  font-weight: 800;
}

.footer-logo {
  width: min(290px, 52vw) !important;
  max-width: min(290px, 52vw);
  height: 42px !important;
  max-height: 42px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.legal {
  margin-top: 10px;
  font-size: 0.9rem;
}

body.home {
  --hero-image: url("../images/datacenter.jpg");
}

body.ai {
  --hero-image: url("../images/circuit-board.jpg");
}

body.about {
  --hero-image: url("../images/about-strategy-planning.jpg");
}

body.microsoft {
  --hero-image: url("../images/office-collaboration.jpg");
}

body.change {
  --hero-image: url("../images/change-workshop.jpg");
}

body.contact {
  --hero-image: url("../images/contact-consultation.jpg");
}

.card-ai {
  --card-image: linear-gradient(rgba(7, 15, 29, 0.18), rgba(7, 15, 29, 0.18)), url("../images/circuit-board.jpg");
}

.card-ms {
  --card-image: linear-gradient(rgba(7, 15, 29, 0.16), rgba(7, 15, 29, 0.16)), url("../images/office-collaboration.jpg");
}

.card-change {
  --card-image: linear-gradient(rgba(7, 15, 29, 0.16), rgba(7, 15, 29, 0.16)), url("../images/change-workshop.jpg");
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    padding: 10px 16px 18px;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 10px;
  }

  .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .card-grid,
  .metric-row,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

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

  .split.reverse .visual-panel {
    order: 2;
  }

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

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

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    padding: 56px 0 120px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 13vw, 4.2rem);
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero .section-inner {
    padding: 56px 0 64px;
  }

  .card-grid,
  .metric-row,
  .process,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .contact-form,
  .contact-card,
  .callout {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
