:root {
  --bg: #f4f7fb;
  --bg-soft: #edf2f8;
  --surface: #ffffff;
  --surface-alt: #f4f8fd;
  --surface-blue: #f1f6fc;
  --surface-silver: #f7f9fc;
  --line: #d6e0ea;
  --line-strong: #afc2d8;
  --silver: #bcc7d4;
  --silver-strong: #a8b6c7;
  --silver-shine: #eef3f8;
  --text: #122033;
  --muted: #5e6b7a;
  --blue: #2b6fbe;
  --blue-2: #1a4f92;
  --accent: #dfeafb;
  --accent-soft: #f3f7fc;
  --shadow: 0 18px 40px rgba(17, 34, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(31, 95, 174, 0.05), transparent 24%),
    linear-gradient(180deg, #f8fbfe 0%, #f2f6fb 100%);
}

body::before {
  content: none;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(90deg, rgba(238, 243, 248, 0.92), rgba(244, 248, 252, 0.96) 20%, rgba(232, 241, 251, 0.98) 55%, rgba(244, 248, 252, 0.96) 100%);
  border-bottom: 2px solid var(--silver-strong);
  box-shadow: 0 10px 28px rgba(17, 34, 51, 0.07);
  overflow: hidden;
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver-strong), transparent);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), var(--silver-strong), rgba(255, 255, 255, 0.85));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  position: relative;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(188, 199, 212, 0.8), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 272px;
  height: 112px;
  padding: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo {
  display: block;
  max-width: 272px;
  max-height: 192px;
  width: auto;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-script {
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.brand-name {
  font-family: "Merriweather", serif;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--blue-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--silver-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 48%, #dde5ee 100%);
  justify-self: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(142, 156, 173, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 6px 18px rgba(168, 182, 199, 0.22);
}

.main-nav a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
}

.main-nav a.is-active,
.main-nav a:hover {
  background: linear-gradient(180deg, #f2f7ff, #d7e6fb);
  color: var(--blue-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(186, 202, 221, 0.55);
}

.call-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.call-pill {
  border: 1px solid var(--silver-strong);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 52%, #dce4ed 100%);
  color: var(--blue-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(150, 164, 181, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 6px 16px rgba(168, 182, 199, 0.18);
  font-size: 0.9rem;
  white-space: nowrap;
}

.button:hover,
.call-pill:hover {
  transform: translateY(-1px);
}

.call-pill:hover {
  border-color: var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(150, 164, 181, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(168, 182, 199, 0.22);
}

.button-primary {
  background: linear-gradient(180deg, #347dce, #1d5aa5);
  color: white;
  box-shadow: 0 10px 24px rgba(43, 111, 190, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, var(--accent-soft));
  color: var(--blue-2);
}

.button-block {
  width: 100%;
}

.hero-section,
.page-hero,
.section {
  position: relative;
  overflow: hidden;
}

.hero-section::after,
.page-hero::after,
.section::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}

.hero-section,
.page-hero {
  padding: 28px 0 18px;
}

.hero-layout,
.value-grid,
.two-column,
.process-grid,
.cta-panel {
  display: grid;
  gap: 20px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  align-items: start;
}

.hero-copy,
.hero-card,
.page-hero-copy,
.info-card,
.mini-card,
.detail-card,
.content-panel,
.cta-panel {
  background: linear-gradient(180deg, #ffffff, var(--surface-silver));
  border: 1px solid var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(168, 182, 199, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.45),
    var(--shadow);
}

.hero-copy,
.hero-card,
.page-hero-copy {
  padding: 28px;
  border-radius: 22px;
}

.eyebrow,
.card-kicker,
.service-tag {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Merriweather", serif;
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.18;
  max-width: 15ch;
}

.page-hero-copy h1 {
  max-width: 16ch;
}

.lead,
.info-card p,
.mini-card p,
.detail-copy p,
.content-panel p,
.contact-list p,
.contact-stack p,
.feature-band span {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: 0.98rem;
}

.hero-summary {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--silver);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-alt), var(--surface-blue));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-summary strong {
  color: var(--text);
}

.subtle {
  color: #718093;
}

.action-row,
.cta-actions,
.action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.feature-band,
.service-grid,
.mini-grid {
  display: grid;
  gap: 20px;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-band div,
.contact-stack div {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-alt), var(--surface-blue));
  border: 1px solid var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.feature-band strong,
.contact-stack a,
.contact-list span {
  display: block;
  color: var(--text);
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.contact-stack span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-stack a {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.section,
.page-hero {
  padding-bottom: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.split-heading h2,
.value-grid h2,
.process-grid h2,
.content-panel h2,
.cta-panel h2,
.detail-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.28;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-2);
}

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

.info-card,
.mini-card,
.detail-card,
.content-panel {
  padding: 22px;
  border-radius: 20px;
}

.info-card h3,
.mini-card h3,
.content-panel h3 {
  margin-top: 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

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

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
}

.section-dark .mini-card,
.section-dark .content-panel,
.cta-panel {
  background: linear-gradient(180deg, var(--surface-blue), #ffffff);
}

.hero-card {
  background: linear-gradient(180deg, var(--surface-blue), #ffffff);
}

.feature-band strong,
.contact-stack a,
.contact-list span,
.brand-name {
  text-shadow: 0 0 0.01px rgba(199, 209, 221, 0.8);
}

.value-grid,
.two-column {
  grid-template-columns: 1.1fr 0.9fr;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.75fr);
  align-items: start;
  gap: 18px;
}

.cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
}

.contact-list p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list p:last-child {
  border-bottom: 0;
}

.contact-list span {
  min-width: 120px;
  margin-right: 12px;
  display: inline-block;
  font-weight: 700;
}

.site-footer {
  padding: 10px 0 24px;
  margin-top: 8px;
  border-top: 2px solid var(--silver-strong);
  background:
    linear-gradient(90deg, rgba(238, 243, 248, 0.92), rgba(233, 241, 250, 0.95) 45%, rgba(226, 237, 250, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue-2);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .value-grid,
  .two-column,
  .detail-card,
  .cta-panel,
  .service-grid,
  .mini-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .brand-logo-wrap {
    width: 220px;
    height: 92px;
  }

  .brand-logo {
    max-width: 220px;
    max-height: 154px;
  }

  .main-nav,
  .call-pill {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    position: static;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 18px;
  }

  .hero-copy,
  .hero-card,
  .page-hero-copy,
  .info-card,
  .mini-card,
  .detail-card,
  .content-panel,
  .cta-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo-wrap {
    width: 150px;
    height: 64px;
  }

  .brand-logo {
    max-width: 150px;
    max-height: 106px;
  }

  .brand-script {
    font-size: 0.75rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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