:root {
  --ink: #11263f;
  --muted: #5d6c7d;
  --blue: #7ea3cc;
  --blue-deep: #255c99;
  --blue-soft: #e9f1f9;
  --gold: #c8a613;
  --footer-top: #84a8d8;
  --footer-bottom: #4f6484;
  --shadow: 0 22px 60px rgba(17, 38, 63, 0.12);
  --radius-lg: 34px;
  --radius-md: 24px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(126, 163, 204, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #ffffff 100%);
}

img {
  display: block;
}

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

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

.shell {
  overflow: hidden;
}

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

.header-main,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.header-main {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 132px;
  padding: 0.35rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
}

.brand img {
  width: auto;
  height: 100%;
  max-height: 122px;
}

.main-nav {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
  font-size: 1.33rem;
  font-weight: 600;
}

.main-nav a:nth-child(3),
.contact-link {
  color: #8f5264;
}

.main-nav a:hover,
.contact-link:hover,
.services-menu:hover > a,
.services-menu a:hover {
  color: var(--blue-deep);
}

.contact-link {
  font-size: 1.33rem;
  font-weight: 600;
  white-space: nowrap;
}

.services-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 0.7rem 0;
  border: 1px solid rgba(17, 38, 63, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(17, 38, 63, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.services-dropdown a {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 0.94rem;
  color: var(--ink);
  white-space: nowrap;
}

.services-dropdown a:hover {
  background: rgba(126, 163, 204, 0.12);
}

.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.service-intro {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.service-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
}

.intro-copy,
.intro-aside {
  border-radius: 32px;
  background: rgba(126, 163, 204, 0.12);
  box-shadow: var(--shadow);
}

.intro-copy {
  padding: 2rem;
}

.intro-aside {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.intro-stat {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: #fff;
}

.intro-stat strong {
  font-size: 2rem;
  color: var(--blue-deep);
}

.intro-stat span {
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow,
.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: #d2e4f8;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-label {
  color: var(--blue-deep);
}

.intro-copy .eyebrow {
  color: var(--blue-deep);
}

.eyebrow::before,
.detail-label::before {
  content: "";
  width: 52px;
  height: 2px;
  background: currentColor;
}

.intro-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1.02;
  color: var(--ink);
}

.intro-copy p {
  max-width: 42rem;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 92, 153, 0.2);
}

.button-secondary {
  background: #eef4fb;
  color: var(--ink);
}

.service-overview {
  padding-top: 2rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.overview-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
  background: rgba(126, 163, 204, 0.12);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(17, 38, 63, 0.14);
}

.overview-media {
  height: 180px;
  overflow: hidden;
  border-radius: 22px;
  background: #d7e5f3;
}

.overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-copy h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.overview-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.service-detail {
  scroll-margin-top: 150px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.detail-layout.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.detail-media {
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.detail-copy p {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
}

.alt-band {
  background: linear-gradient(180deg, rgba(126, 163, 204, 0.12), rgba(126, 163, 204, 0.02));
}

.managed-head {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.managed-head p {
  color: var(--muted);
  line-height: 1.8;
}

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

.it-card {
  min-height: 210px;
  padding: 1.4rem;
  border: 1px solid rgba(17, 38, 63, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.it-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.it-card p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-band {
  background:
    linear-gradient(135deg, rgba(17, 38, 63, 0.96), rgba(37, 92, 153, 0.92)),
    #163350;
}

.dark-band .section-title,
.dark-band .detail-copy p,
.dark-band .detail-label {
  color: #fff;
}

.dark-band .detail-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.alt-band .detail-layout,
.dark-band .detail-layout {
  padding: 0 1.25rem;
}

.process-band {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-card {
  padding: 2rem 1.5rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.process-card p {
  color: var(--muted);
  line-height: 1.7;
}

.cta-band {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.cta-band h2 {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-top {
  height: 88px;
  background: var(--footer-top);
}

.site-footer {
  background: var(--footer-bottom);
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .overview-grid,
  .it-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.85rem;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .services-dropdown {
    left: 0;
    transform: none;
  }

  .service-intro-layout,
  .detail-layout,
  .detail-layout.reverse,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy h1 {
    max-width: none;
  }

  .alt-band .detail-layout,
  .dark-band .detail-layout {
    padding: 0;
  }
}

@media (max-width: 720px) {
  .header-main,
  .section,
  .footer-inner {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .header-main {
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand img {
    max-height: 92px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .service-intro {
    padding-top: 3rem;
  }

  .overview-grid,
  .it-grid {
    grid-template-columns: 1fr;
  }

  .overview-media {
    height: 160px;
  }

  .detail-media img {
    min-height: 260px;
  }
}
