﻿:root {
  --font-ui: "Google Sans Thai", "Google Sans", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #17202a;
  --muted: #64748b;
  --line: #d8e3e8;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --brand: #0f5d7e;
  --brand-dark: #12364a;
  --accent: #00d084;
  --accent-soft: #e7fff6;
  --gold: #f3b846;
  --shadow: 0 18px 46px rgba(19, 54, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  background: #fff;
  color: var(--brand-dark);
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  background: var(--brand-dark);
  color: #eef8fb;
  font-size: 14px;
}

.topbar-inner,
.header-inner,
.hero-inner,
.service-strip-inner,
.layout,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar-contact {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 26px;
  align-items: center;
  padding: 10px 0;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: min(280px, 100%);
  min-width: 0;
  color: var(--brand-dark);
  text-decoration: none;
  transition: opacity 160ms ease;
}

.brand:hover {
  opacity: 0.88;
}

.brand-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  line-height: 0;
}

.brand:focus-visible .brand-logo {
  outline: 3px solid rgba(0, 208, 132, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transition: transform 200ms ease;
}

.brand:hover .brand-logo img {
  transform: scale(1.02);
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-mark {
  color: var(--brand);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  color: #233848;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: #e9f4f8;
}

.hero {
  color: #fff;
  background: url("../images/research/research-translationfind-banner.jpg") center / cover;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 36px;
  align-items: center;
  min-height: 340px;
  padding: 46px 0;
}

.hero-inner > * {
  min-width: 0;
  max-width: 100%;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffe1a0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.24;
  text-shadow: 0 3px 18px rgba(4, 25, 35, 0.34);
  overflow-wrap: anywhere;
}

.hero p {
  margin: 16px 0 0;
  max-width: 720px;
  color: #eef8fb;
  text-shadow: 0 2px 14px rgba(4, 25, 35, 0.28);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  color: #052d22;
  background: var(--accent);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
}

.hero-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  color: var(--brand-dark);
}

.hero-panel img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-right: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-strip {
  /* styles in visual refresh section below */
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
  padding: 32px 0 42px;
}

.service-layout {
  display: block;
  width: min(1160px, calc(100% - 32px));
  padding: 42px 0 54px;
}

.service-layout .content {
  padding: 42px;
}

.service-layout .content > p,
.service-layout .content > h1,
.service-layout .content > h2,
.service-layout .content > h3,
.service-layout .article-cta > p {
  max-width: 860px;
}

.content {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(30, 55, 70, 0.06);
}

.content h1,
.content h2,
.content h3 {
  color: var(--brand-dark);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.content h1 {
  font-size: 28px;
}

.content h2 {
  font-size: 23px;
}

.content h3 {
  font-size: 19px;
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.content td,
.content th {
  border: 1px solid var(--line);
  padding: 8px;
  vertical-align: top;
}

.content ul,
.content ol {
  padding-left: 22px;
}

.content img[align="left"] {
  margin: 0 18px 12px 0;
}

.content img[align="right"] {
  margin: 0 0 12px 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.info-grid section {
  min-width: 0;
  padding: 16px;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid h2 {
  margin-top: 0;
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 10px;
}

.contact-list {
  padding: 16px;
  background: var(--accent-soft);
  border: 1px solid #bff5df;
  border-radius: 8px;
}

.sitemap-list {
  columns: 2;
}

.side-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: 96px;
}

.side-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.side-section h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.3;
}

.side-section p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.quick-links {
  display: grid;
  gap: 8px;
}

.quick-links a {
  display: block;
  padding: 9px 10px;
  background: #f3f8fb;
  border-radius: 6px;
  color: #203747;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
}

.quick-links a:hover {
  background: #e3f0f5;
}

.media-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.media-row img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.site-footer {
  background: var(--brand-dark);
  color: #dceaf0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 30px 0;
}

.footer-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 14px;
}

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

.footer-links a {
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-note {
  margin: 14px 0 0;
  color: #b8cdd7;
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-inner,
  .layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    min-height: 0;
  }

  .side-panel {
    position: static;
  }

  .service-strip-inner,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .topbar-contact {
    justify-content: flex-start;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    width: 260px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .hero-inner,
  .hero-copy,
  .hero-panel {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero h1 {
    font-size: 22px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero p,
  .button {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content {
    padding: 20px;
  }

  .footer-links,
  .sitemap-list {
    columns: 1;
    grid-template-columns: 1fr;
  }
}

/* 2026 visual refresh */
:root {
  --ink: #13252f;
  --muted: #5f7180;
  --line: #dce8e6;
  --paper: #ffffff;
  --soft: #f3f8f5;
  --brand: #0a6b88;
  --brand-dark: #102f3d;
  --accent: #00d084;
  --accent-soft: #e4fff4;
  --gold: #f0b13b;
  --shadow: 0 24px 70px rgba(15, 48, 61, 0.13);
}

body {
  background:
    linear-gradient(180deg, #f8fbf8 0%, #edf6f2 46%, #f8fbf8 100%);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.topbar {
  background: linear-gradient(135deg, #0f3442 0%, #0a2832 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  min-height: 40px;
  padding: 6px 0;
  font-weight: 700;
}

.topbar-contact {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  color: #d0e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.topbar-contact a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 47, 61, 0.08);
  box-shadow: 0 8px 30px rgba(16, 47, 61, 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand), var(--gold));
  opacity: 0.6;
}

.header-inner {
  grid-template-columns: 260px 1fr;
  padding: 16px 0;
}

.brand-mark {
  color: #075f78;
  font-size: 22px;
  letter-spacing: 0;
}

.brand-sub {
  color: #6b7c89;
  font-size: 13px;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  position: relative;
  min-height: 40px;
  padding: 8px 12px;
  color: #273d49;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: #052f3f;
  background: linear-gradient(135deg, #e8f7f0 0%, #ddf3ea 100%);
  border-color: #c0e8d5;
  box-shadow: 0 4px 12px rgba(0, 208, 132, 0.1);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #085a72 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10, 107, 136, 0.25);
}

.site-nav a[aria-current="page"]:hover {
  background: linear-gradient(135deg, #085a72 0%, var(--brand) 100%);
  box-shadow: 0 6px 18px rgba(10, 107, 136, 0.3);
  transform: translateY(-1px);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  position: relative;
  isolation: isolate;
  background: url("../images/research/research-translationfind-banner.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, rgba(243, 248, 245, 0) 0%, rgba(243, 248, 245, 0.08) 60%, rgba(243, 248, 245, 0.18) 100%);
}

.hero-inner {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 26px;
  min-height: 500px;
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 820px;
  color: #173e5a;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 5px 10px;
  color: #083326;
  background: var(--accent);
  border-radius: 8px;
  font-size: 12px;
}

.hero h1 {
  max-width: 760px;
  color: #173d56;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 28px rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}

.hero p {
  max-width: 640px;
  color: #2d5f78;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgba(255, 255, 255, 0.7);
}

.hero .eyebrow {
  color: #255a70;
  background: rgba(231, 246, 255, 0.76);
  border: 1px solid rgba(59, 117, 143, 0.18);
  font-size: 12px;
  font-weight: 800;
  text-shadow: none;
  box-shadow: 0 10px 26px rgba(39, 91, 112, 0.12);
}

.button {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
}

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

.button-primary {
  box-shadow: 0 14px 30px rgba(0, 208, 132, 0.24);
}

.button-secondary {
  color: #24556b;
  background: rgba(239, 249, 255, 0.78);
  border-color: rgba(48, 108, 134, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(39, 91, 112, 0.12);
}

.hero-panel {
  width: min(780px, 100%);
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 16px 18px;
  padding: 14px;
  color: #e8f8ff;
  background: rgba(14, 55, 74, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8, 38, 52, 0.18);
  backdrop-filter: blur(12px);
}

.hero-panel img {
  grid-row: span 2;
  height: 92px;
  max-height: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel strong {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.42;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: #d8f4ff;
  font-weight: 600;
}

.service-strip {
  border-bottom: 1px solid rgba(16, 47, 61, 0.09);
}

.service-directory {
  background: #f6fbfd;
  border-bottom: 1px solid rgba(16, 47, 61, 0.09);
}

.page-index .service-directory {
  background: linear-gradient(180deg, #f6fbfd 0%, #eef8f7 100%);
  border-top: 1px solid rgba(16, 47, 61, 0.09);
}

.service-directory-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1.25;
}

.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-index .service-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-services {
  margin-top: 4px;
}

.service-directory-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.service-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 48, 61, 0.06);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  color: var(--ink);
  border-color: rgba(0, 208, 132, 0.42);
  box-shadow: 0 18px 42px rgba(15, 48, 61, 0.1);
  transform: translateY(-2px);
}

.service-card strong {
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.35;
}

.service-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.page-index .service-card {
  min-height: 150px;
}

.page-index .service-card strong {
  font-size: 16px;
}

.page-index .service-card span {
  font-size: 13px;
}

.article-cta {
  margin-top: 30px;
  padding: 22px;
  background: #f1faf6;
  border: 1px solid rgba(0, 208, 132, 0.24);
  border-radius: 8px;
}

.article-cta h2 {
  margin-top: 0;
}

.content-support,
.related-services {
  margin-top: 28px;
  padding: 24px;
  border-radius: 8px;
}

.content-support {
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.15);
}

.related-services {
  background: #fbfefd;
  border: 1px solid rgba(0, 208, 132, 0.2);
}

.content-support h2,
.related-services h2 {
  margin-top: 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checklist-grid li {
  position: relative;
  min-width: 0;
  padding: 14px 14px 14px 38px;
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.checklist-grid li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 8px;
  height: 14px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.related-service-grid a {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 48, 61, 0.05);
}

.related-service-grid a:hover {
  color: var(--ink);
  border-color: rgba(0, 208, 132, 0.45);
}

.related-service-grid strong {
  color: var(--brand-dark);
  line-height: 1.35;
}

.related-service-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-visual {
  margin: 28px 0;
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 48, 61, 0.09);
}

.page-index .layout {
  display: block;
  width: min(1160px, calc(100% - 32px));
  padding: 46px 0;
}

.home-content {
  display: grid;
  gap: 28px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.home-intro,
.home-highlight-grid > div,
.home-two-column > div,
.home-process,
.home-quality {
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.07);
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 30px;
  align-items: center;
  padding: 36px;
}

.home-intro h1 {
  margin-top: 0;
  font-size: 32px;
}

.home-intro .lead {
  margin-bottom: 0;
  color: #36586a;
  font-size: 18px;
}

.home-intro figure {
  margin: 0;
}

.home-intro img,
.home-quality img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.home-highlight-grid > div {
  padding: 22px;
}

.home-highlight-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 19px;
  line-height: 1.35;
}

.home-highlight-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
}

.home-two-column > div {
  padding: 26px;
}

.home-note {
  background: #f1faf6 !important;
  border-color: rgba(0, 208, 132, 0.22) !important;
}

.checklist-grid.compact {
  grid-template-columns: 1fr;
}

.home-process {
  padding: 34px;
}

.home-process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.home-process li {
  position: relative;
  min-width: 0;
  padding: 46px 16px 16px;
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
  counter-increment: step;
}

.home-process li::before {
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #062f42;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
}

.home-process strong,
.home-process span {
  display: block;
}

.home-process strong {
  color: var(--brand-dark);
}

.home-process span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 34px;
  background: #0f3442;
  color: #eaf8f3;
}

.home-quality h2,
.home-quality .eyebrow {
  color: #fff;
}

.home-quality p {
  color: #d6edf2;
}

.home-quality a {
  color: var(--accent);
  font-weight: 800;
}

.network-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: #f8fcfb;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.07);
}

.network-service h2 {
  margin-top: 0;
}

.network-service p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.network-link-grid {
  display: grid;
  gap: 12px;
}

.network-link {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 208, 132, 0.26);
  border-radius: 8px;
  text-decoration: none;
}

.network-link strong {
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.35;
}

.network-link span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.network-link:hover {
  border-color: rgba(0, 208, 132, 0.52);
  box-shadow: 0 12px 28px rgba(15, 48, 61, 0.09);
}

.home-scope,
.home-fields,
.home-faq {
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.07);
}

.home-scope,
.home-faq {
  padding: 34px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.scope-grid article {
  min-width: 0;
  padding: 20px;
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.scope-grid h3 {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: 20px;
}

.scope-grid p {
  color: var(--muted);
}

.scope-grid a,
.home-fields a {
  font-weight: 800;
}

.home-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
  padding: 34px;
  background: #f8fcfb;
}

.home-fields h2 {
  margin-top: 0;
}

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

.home-fields li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.home-decision {
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.07);
}

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

.decision-card-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 20px;
  background: #f8fcfb;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.decision-card-grid strong {
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.35;
}

.decision-card-grid p {
  margin: 0;
  color: var(--muted);
}

.decision-card-grid a {
  align-self: end;
  width: max-content;
  max-width: 100%;
  font-weight: 800;
}

.home-trust {
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.07);
}

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

.trust-grid article {
  min-width: 0;
  padding: 20px;
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.trust-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.35;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 208, 132, 0.22);
  border-radius: 8px;
  background: rgba(0, 208, 132, 0.22);
}

.trust-stats div {
  min-width: 0;
  padding: 18px;
  background: #fbfefd;
}

.trust-stats strong,
.trust-stats span {
  display: block;
}

.trust-stats strong {
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.3;
}

.trust-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.faq-list details {
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.sitemap-service-list {
  columns: 2;
  column-gap: 28px;
}

.sitemap-service-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 36px;
}

.content,
.side-section {
  border-color: rgba(15, 107, 136, 0.14);
  box-shadow: 0 18px 46px rgba(15, 48, 61, 0.08);
}

.content {
  padding: 38px;
}

.content h1 {
  font-size: 31px;
}

.content-title {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1.35;
}

.content h2 {
  margin-top: 34px;
}

.content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.content blockquote h2,
.content blockquote h3 {
  margin: 0;
}

.content img {
  box-shadow: 0 12px 34px rgba(15, 48, 61, 0.09);
}

.side-panel {
  gap: 18px;
}

.side-section {
  padding: 20px;
}

.contact-box {
  background: #0f3442;
  color: #fff;
  border-color: #0f3442;
}

.contact-box h2,
.contact-box p,
.contact-box a {
  color: #fff;
}

.quick-links a {
  background: #f1faf6;
  border: 1px solid #d7eee5;
}

.quick-links a:hover {
  background: var(--accent-soft);
  border-color: #a8e7d1;
}

.media-row img {
  background: #fff;
}

.site-footer {
  background: linear-gradient(135deg, #0f3442 0%, #09232e 100%);
  color: #d8edf2;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 0 32px;
}

.footer-brand p,
.footer-section span {
  margin: 0;
  color: #c8dfe6;
}

.footer-logo {
  display: block;
  width: 210px;
  height: auto;
  margin: 0 0 16px;
}

.footer-section h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.footer-section a,
.footer-section span {
  display: block;
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.45;
}

.footer-section a,
.site-footer a {
  color: #eefcff;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-contact a:first-of-type {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.footer-bottom {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aecdd8;
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-inner {
    min-height: 0;
    padding: 58px 0;
  }

  .hero-panel,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .home-intro,
  .home-two-column,
  .home-quality {
    grid-template-columns: 1fr;
  }

  .home-highlight-grid,
  .home-process ol,
  .scope-grid,
  .decision-card-grid,
  .trust-grid,
  .trust-stats,
  .home-fields,
  .network-service {
    grid-template-columns: 1fr;
  }

  .home-quality img {
    max-width: 220px;
  }

  .checklist-grid,
  .related-service-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-service-list {
    columns: 1;
  }

  .hero-panel img {
    grid-row: auto;
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0 26px;
  }

  .footer-logo {
    width: 190px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-bottom: 6px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 0;
  }

  .header-inner {
    padding: 14px 0 18px;
  }

  .brand-logo {
    width: 260px;
  }

  .brand-mark {
    font-size: 21px;
  }

  .site-nav a {
    border-radius: 8px;
    min-height: 40px;
  }

  .hero-inner,
  .hero-copy,
  .hero-panel {
    max-width: 100%;
  }

  .service-layout .content {
    padding: 24px;
  }

  .hero-inner {
    width: min(1160px, calc(100% - 32px));
    padding: 44px 0 38px;
  }

  .topbar-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 4px 12px;
  }

  .topbar-contact a {
    font-size: 13px;
  }

  .topbar-contact a:first-child {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 27px;
    line-height: 1.26;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .service-strip-inner {
    padding: 16px 0;
  }

  .service-strip section {
    min-height: 0;
    padding: 20px 18px;
  }

  .strip-icon {
    width: 36px;
    height: 36px;
  }

  .strip-icon-doc::after,
  .strip-icon-expert::after,
  .strip-icon-check::after {
    width: 17px;
    height: 17px;
  }

  .strip-badge {
    font-size: 28px;
  }

  .service-strip h2,
  .service-strip h3 {
    font-size: 17px;
  }

  .service-strip p {
    font-size: 13px;
  }

  .content {
    padding: 22px;
  }

  .content h1 {
    font-size: 24px;
  }
}

/* Small mobile: 300-400px (Google mobile-first + touch targets >= 48px) */
@media (max-width: 400px) {
  .topbar-inner {
    padding: 6px 0;
  }

  .topbar-contact {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .topbar-contact a:first-child {
    grid-column: auto;
  }

  .topbar-contact a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .header-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .brand-logo {
    width: 200px;
  }

  .brand-mark {
    font-size: 18px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 100%;
  }

  .site-nav a {
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: 0 3px 10px rgba(10, 107, 136, 0.2);
  }

  .hero-inner {
    padding: 28px 0 24px;
    gap: 16px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero .eyebrow {
    font-size: 11px;
    padding: 4px 8px;
    margin-bottom: 10px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hero-panel img {
    width: 100%;
    height: 120px;
  }

  .hero-panel strong {
    font-size: 13px;
  }

  .hero-points {
    font-size: 12px;
    gap: 6px;
  }

  .hero-actions {
    width: 100%;
    gap: 8px;
  }

  .button {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .service-strip-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .service-strip section {
    padding: 16px;
    min-height: 0;
  }

  .service-strip h2,
  .service-strip h3 {
    font-size: 16px;
  }

  .service-strip p {
    font-size: 12px;
  }

  .strip-icon {
    width: 32px;
    height: 32px;
  }

  .strip-icon-doc::after,
  .strip-icon-expert::after,
  .strip-icon-check::after {
    width: 15px;
    height: 15px;
  }

  .strip-badge {
    font-size: 22px;
    top: 12px;
    right: 14px;
  }

  .content {
    padding: 16px;
    border-radius: 6px;
  }

  .content h1 {
    font-size: 21px;
  }

  .content h2 {
    font-size: 19px;
  }

  .content h3 {
    font-size: 16px;
  }

  .content p,
  .content li {
    font-size: 15px;
    line-height: 1.7;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .home-intro {
    padding: 20px;
    gap: 16px;
  }

  .home-intro h1,
  .content-title {
    font-size: 22px;
  }

  .home-intro .lead {
    font-size: 15px;
  }

  .home-highlight-grid > div {
    padding: 16px;
  }

  .home-highlight-grid strong {
    font-size: 16px;
  }

  .home-two-column > div {
    padding: 18px;
  }

  .checklist-grid li {
    padding: 12px 12px 12px 32px;
    font-size: 14px;
  }

  .home-process {
    padding: 20px;
  }

  .home-process ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-process li {
    padding: 40px 14px 14px;
    min-height: 0;
  }

  .scope-grid {
    gap: 10px;
  }

  .scope-grid article {
    padding: 16px;
  }

  .scope-grid h3 {
    font-size: 17px;
  }

  .scope-grid p,
  .home-fields li {
    font-size: 14px;
  }

  .home-fields {
    padding: 20px;
    gap: 16px;
  }

  .home-fields h2 {
    font-size: 20px;
  }

  .home-fields li {
    padding: 12px 14px;
  }

  .home-trust {
    padding: 20px;
  }

  .trust-grid article {
    padding: 16px;
  }

  .trust-grid strong {
    font-size: 16px;
  }

  .trust-stats strong {
    font-size: 15px;
  }

  .trust-stats span {
    font-size: 13px;
  }

  .faq-list summary {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-list p {
    padding: 0 14px 14px;
    font-size: 14px;
  }

  .home-quality {
    padding: 22px;
    gap: 16px;
  }

  .home-quality h2 {
    font-size: 20px;
  }

  .home-quality img {
    max-width: 160px;
  }

  .network-service {
    padding: 18px;
    gap: 14px;
  }

  .network-link {
    padding: 14px;
  }

  .network-link strong {
    font-size: 17px;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-index .service-card {
    min-height: 0;
    padding: 16px;
  }

  .service-directory-inner {
    padding: 28px 0;
  }

  .service-directory-action {
    margin-top: 16px;
  }

  .side-panel {
    gap: 12px;
  }

  .side-section {
    padding: 16px;
  }

  .quick-links a {
    min-height: 44px;
    padding: 10px 10px;
  }

  .layout {
    padding-top: 24px;
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0 20px;
  }

  .footer-section a,
  .footer-section span {
    font-size: 13px;
  }

  .footer-contact a:first-of-type {
    font-size: 16px;
  }

  .footer-bottom {
    display: block;
    text-align: center;
  }

  .footer-bottom span {
    display: block;
    margin-bottom: 4px;
  }

  .article-cta {
    padding: 16px;
  }

  .content-support,
  .related-services {
    padding: 16px;
  }

  .related-service-grid {
    grid-template-columns: 1fr;
  }

  .related-service-grid a {
    min-height: 0;
    padding: 14px;
  }

  .service-visual-placeholder {
    min-height: 180px;
    padding: 20px;
  }

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

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   VISUAL POLISH — Professional Design Enhancements
   ============================================================ */

/* --- Section decorative accents --- */
.section-heading h2 {
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
}

/* --- Enhanced content titles on service pages --- */
.content-title {
  position: relative;
  padding-bottom: 14px;
}

.content-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
}

/* --- Improved service cards with accent border top --- */
.service-card {
  border-top: 3px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, border-top-color 180ms ease;
}

.service-card:hover {
  border-top-color: var(--accent);
}

/* --- Home highlight cards with top accent --- */
.home-highlight-grid > div {
  position: relative;
  border-top: 3px solid var(--accent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-highlight-grid > div:nth-child(2) {
  border-top-color: var(--gold);
}

.home-highlight-grid > div:nth-child(3) {
  border-top-color: var(--brand);
}

.home-highlight-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 48, 61, 0.1);
}

/* --- Scope grid card enhancements --- */
.scope-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.scope-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 208, 132, 0.35);
  box-shadow: 0 14px 34px rgba(15, 48, 61, 0.09);
}

/* --- Trust grid card improvements --- */
.trust-grid article {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trust-grid article:nth-child(2) {
  border-left-color: var(--gold);
}

.trust-grid article:nth-child(3) {
  border-left-color: var(--brand);
}

.trust-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 48, 61, 0.08);
}

/* --- Trust stats visual polish --- */
.trust-stats div {
  text-align: center;
  transition: background 180ms ease;
}

.trust-stats div:hover {
  background: var(--accent-soft);
}

.trust-stats strong {
  letter-spacing: 0.02em;
}

/* --- FAQ list improvements --- */
.faq-list details {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(15, 107, 136, 0.22);
}

.faq-list details[open] {
  border-color: rgba(0, 208, 132, 0.32);
  box-shadow: 0 10px 28px rgba(15, 48, 61, 0.06);
}

.faq-list summary {
  position: relative;
  padding-right: 40px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}

/* --- Enhanced article CTA --- */
.article-cta {
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Content support & related services enhancement --- */
.content-support {
  position: relative;
}

.content-support::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  border-radius: 2px;
}

.related-services {
  position: relative;
}

.related-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--accent));
  border-radius: 2px;
}

/* --- Improved related service grid cards --- */
.related-service-grid a {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-top: 3px solid transparent;
}

.related-service-grid a:hover {
  transform: translateY(-2px);
  border-top-color: var(--accent);
}

/* --- Enhanced checklist items --- */
.checklist-grid li {
  transition: transform 160ms ease, background 160ms ease;
}

.checklist-grid li:hover {
  background: var(--accent-soft);
  transform: translateX(2px);
}

/* --- Network link card improvements --- */
.network-link {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-left: 3px solid transparent;
}

.network-link:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent);
}

/* --- Home process step improvements --- */
.home-process li {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-process li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 48, 61, 0.08);
}

/* --- Home note section accent --- */
.home-note {
  position: relative;
}

.home-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  border-radius: 2px;
}

/* --- Quick links hover enhancement --- */
.quick-links a {
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quick-links a:hover {
  transform: translateX(3px);
}

/* --- Side section contact box glow effect --- */
.contact-box {
  position: relative;
}

.contact-box::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  z-index: -1;
  opacity: 0.15;
}

/* --- Service visual image improvements --- */
.service-visual img {
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.service-visual img:hover {
  transform: scale(1.01);
  box-shadow: 0 18px 42px rgba(15, 48, 61, 0.13);
}

/* --- Table styling improvements --- */
.content table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 48, 61, 0.05);
}

.content thead {
  background: var(--brand-dark);
  color: #fff;
}

.content th {
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  padding: 12px 14px;
}

.content td {
  font-size: 14px;
  padding: 10px 14px;
}

.content tbody tr:nth-child(even) {
  background: #f6fbfd;
}

.content tbody tr {
  transition: background 160ms ease;
}

.content tbody tr:hover {
  background: var(--accent-soft);
}

/* --- Content blockquote visual polish --- */
.content blockquote {
  position: relative;
}

.content blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 14px;
  color: var(--accent);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.3;
}

/* --- Scroll to top smooth appearance --- */
html {
  scroll-padding-top: 80px;
}

/* --- Hero decorative gradient overlay --- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 52, 66, 0.1) 0%, rgba(0, 208, 132, 0.05) 100%);
  z-index: -1;
  pointer-events: none;
}

/* --- Enhanced button states --- */
.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00b874 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary:hover {
  background: linear-gradient(135deg, #00b874 0%, var(--accent) 100%);
  box-shadow: 0 18px 36px rgba(0, 208, 132, 0.3);
}

.button-secondary {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-secondary:hover {
  background: rgba(239, 249, 255, 0.95);
  border-color: rgba(48, 108, 134, 0.35);
}

/* --- Service strip section accents --- */
.service-strip {
  position: relative;
  background: linear-gradient(180deg, #f8fbf8 0%, #f0f7f3 100%);
}

.service-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 208, 132, 0.25), transparent);
}

.service-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0;
  background: transparent;
  position: relative;
}

.service-strip section {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 150px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 48, 61, 0.05);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-strip section:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 208, 132, 0.3);
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.1);
}

.service-strip section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  opacity: 0;
  transition: opacity 200ms ease;
}

.service-strip section:nth-child(2)::after {
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.service-strip section:nth-child(3)::after {
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.service-strip section:hover::after {
  opacity: 1;
}

/* Strip section icons */
.strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.strip-icon-doc {
  background: linear-gradient(135deg, var(--brand) 0%, #085a72 100%);
}

.strip-icon-doc::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.strip-icon-expert {
  background: linear-gradient(135deg, var(--accent) 0%, #00a86b 100%);
}

.strip-icon-expert::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.strip-icon-check {
  background: linear-gradient(135deg, var(--gold) 0%, #e09a2a 100%);
}

.strip-icon-check::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Strip section badges */
.strip-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(15, 48, 61, 0.08);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.service-strip h2,
.service-strip h3 {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Eyebrow badge refinements --- */
.eyebrow {
  position: relative;
  letter-spacing: 0.04em;
  font-weight: 800;
}

/* --- Home quality section glow --- */
.home-quality {
  position: relative;
  overflow: hidden;
}

.home-quality::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Footer section links hover --- */
.footer-section a {
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer-section a:hover {
  padding-left: 4px;
  color: var(--accent);
}

/* --- Content image captions --- */
.content img[alt] {
  position: relative;
}

/* --- Enhanced h2 spacing for readability --- */
.content h2 {
  padding-top: 8px;
  margin-top: 36px;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  color: var(--brand);
}

/* --- Smooth page transitions --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  animation: fadeInUp 0.4s ease-out;
}

/* --- Service page layout sidebar improvements --- */
.service-layout .content {
  border-left: 3px solid var(--accent);
}

/* --- Mobile touch target refinements --- */
@media (max-width: 400px) {
  .faq-list summary::after {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .button {
    border-radius: 10px;
  }

  .content {
    border-radius: 8px;
  }

  .trust-grid article {
    padding-left: 14px;
  }

  .home-highlight-grid > div {
    border-top-width: 2px;
  }

  .service-strip section::before {
    height: 2px;
  }
}

/* --- Service directory section enhanced --- */
.service-directory {
  position: relative;
}

.service-directory::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 208, 132, 0.3), transparent);
}

/* --- Trust badges grid --- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trust-badge {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(135deg, #f6fbfd 0%, #f1faf6 100%);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 8px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 208, 132, 0.4);
  box-shadow: 0 10px 24px rgba(15, 48, 61, 0.07);
}

.trust-badge strong {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.trust-badge span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 980px) {
  .trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-badge {
    padding: 14px;
  }
}

/* --- Print-friendly styles --- */
@media print {
  .topbar,
  .site-header,
  .site-nav,
  .hero-actions,
  .hero-panel,
  .side-panel,
  .article-cta,
  .footer-bottom {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .content {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================================
   SITEMAP PAGE — Decorated Card Layout
   ============================================================ */

.sitemap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 54px;
}

.sitemap-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}

/* Hero card at top */
.sitemap-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0a4a60 100%);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(15, 48, 61, 0.15);
}

.sitemap-hero-card .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sitemap-hero-card h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
}

.sitemap-hero-card p {
  margin: 10px 0 0;
  color: #c8e4ee;
  font-size: 15px;
  line-height: 1.65;
}

.sitemap-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sitemap-stat {
  display: grid;
  gap: 4px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-align: center;
  transition: background 180ms ease;
}

.sitemap-stat:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sitemap-stat strong {
  color: var(--accent);
  font-size: 28px;
  line-height: 1.1;
}

.sitemap-stat span {
  color: #b8d8e8;
  font-size: 12px;
  line-height: 1.4;
}

/* Sitemap sections */
.sitemap-section {
  background: #fff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(15, 48, 61, 0.06);
}

.sitemap-section-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sitemap-section-header h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.3;
}

.sitemap-section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Section icons */
.sitemap-section-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.sitemap-icon-main {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.sitemap-icon-main::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sitemap-icon-service {
  background: linear-gradient(135deg, var(--accent) 0%, #00a86b 100%);
}

.sitemap-icon-service::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sitemap-icon-field {
  background: linear-gradient(135deg, var(--gold) 0%, #e09a2a 100%);
}

.sitemap-icon-field::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sitemap-icon-info {
  background: linear-gradient(135deg, #6c8a9c 0%, #4a6a7c 100%);
}

.sitemap-icon-info::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Card grid */
.sitemap-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sitemap-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--ink);
  background: #f6fbfd;
  border: 1px solid rgba(15, 107, 136, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sitemap-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 208, 132, 0.35);
  box-shadow: 0 12px 28px rgba(15, 48, 61, 0.08);
  background: #fff;
}

.sitemap-card strong {
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.35;
}

.sitemap-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Featured cards (top 2 services) */
.sitemap-card-featured {
  background: linear-gradient(135deg, #f0faf5 0%, #e7fff6 100%);
  border-color: rgba(0, 208, 132, 0.2);
}

.sitemap-card-featured:hover {
  border-color: rgba(0, 208, 132, 0.45);
}

.sitemap-card-featured strong {
  color: #065a42;
}

/* Primary card (homepage) */
.sitemap-card-primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0a4a60 100%);
  color: #fff;
  border-color: transparent;
}

.sitemap-card-primary:hover {
  background: linear-gradient(135deg, #0c3d52 0%, #085a72 100%);
  border-color: transparent;
}

.sitemap-card-primary strong {
  color: #fff;
  font-size: 18px;
}

.sitemap-card-primary span {
  color: #c8e4ee;
}

/* Field-specific colored cards */
.sitemap-card-field-health {
  border-left: 4px solid #e74c3c;
}

.sitemap-card-field-health:hover {
  border-left-color: #c0392b;
}

.sitemap-card-field-biz {
  border-left: 4px solid var(--gold);
}

.sitemap-card-field-biz:hover {
  border-left-color: #e09a2a;
}

.sitemap-card-field-edu {
  border-left: 4px solid #9b59b6;
}

.sitemap-card-field-edu:hover {
  border-left-color: #8e44ad;
}

.sitemap-card-field-eng {
  border-left: 4px solid var(--brand);
}

.sitemap-card-field-eng:hover {
  border-left-color: var(--brand-dark);
}

/* CTA section */
.sitemap-cta {
  text-align: center;
  padding: 34px;
  background: linear-gradient(135deg, #f1faf6 0%, #e4fff4 100%);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 10px;
}

.sitemap-cta h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 22px;
}

.sitemap-cta p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.sitemap-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .sitemap-layout {
    grid-template-columns: 1fr;
  }

  .sitemap-hero-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sitemap-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .sitemap-layout {
    padding: 24px 0 42px;
  }

  .sitemap-section {
    padding: 20px;
  }

  .sitemap-section-header {
    flex-direction: column;
    gap: 10px;
  }

  .sitemap-card-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-hero-card {
    padding: 24px;
  }

  .sitemap-hero-card h2 {
    font-size: 22px;
  }

  .sitemap-hero-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sitemap-stat {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px;
  }

  .sitemap-cta {
    padding: 24px 16px;
  }

  .sitemap-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .sitemap-cta-actions .button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .sitemap-hero-card {
    padding: 18px;
  }

  .sitemap-hero-card h2 {
    font-size: 20px;
  }

  .sitemap-section {
    padding: 16px;
    border-radius: 8px;
  }

  .sitemap-section-header h2 {
    font-size: 19px;
  }

  .sitemap-card {
    padding: 14px;
  }

  .sitemap-card strong {
    font-size: 15px;
  }
}

/* --- Header over hero image --- */
.site-page {
  position: relative;
}

.topbar {
  position: relative;
  inset: auto;
  z-index: 41;
  background: rgba(9, 35, 46, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  inset: 40px 0 auto;
  z-index: 39;
  top: 0;
  background: rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 34px rgba(7, 34, 47, 0.09);
  backdrop-filter: blur(18px) saturate(1.18);
}

.site-header::after {
  display: none;
}

.header-inner {
  grid-template-columns: 300px 1fr;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  width: min(300px, 100%);
}

.brand-logo {
  width: 286px;
}

.site-nav a {
  color: #0a3448;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 4px 14px rgba(8, 47, 64, 0.06);
}

.site-nav a:hover {
  color: #052f3f;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 208, 132, 0.38);
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, #085a72 100%);
  border-color: transparent;
}

.hero {
  margin-top: -82px;
  padding-top: 166px;
  background-position: center top;
}

.hero-inner {
  min-height: 500px;
  padding-top: 24px;
}

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

.hero h1 {
  max-width: 660px;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero p {
  max-width: 600px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
}

.hero .eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
}

.hero-actions {
  margin-top: 20px;
}

.hero .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    inset: auto;
    top: 0;
  }

  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    margin-top: -164px;
    padding-top: 326px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 34px;
  }

  .hero p {
    max-width: 560px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    inset: auto;
    background: linear-gradient(135deg, #0f3442 0%, #0a2832 100%);
  }

  .site-header {
    position: relative;
    inset: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
  }

  .header-inner {
    width: min(1160px, calc(100% - 24px));
    padding: 12px 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand-logo {
    width: 230px;
  }

  .site-nav a {
    background: #ffffff;
  }

  .hero {
    padding-top: 0;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.28;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* --- Service page editorial polish --- */
.service-layout {
  position: relative;
  padding-top: 44px;
}

.service-layout::before {
  content: "";
  position: absolute;
  inset: 18px auto auto 50%;
  width: min(980px, calc(100% - 40px));
  height: 180px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.12), rgba(15, 93, 126, 0.08));
  border-radius: 14px;
  z-index: -1;
}

.service-layout .content {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.service-layout .content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--brand), var(--gold));
}

.service-layout .content-title {
  position: relative;
  max-width: 860px;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.service-layout .content-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 999px;
}

.service-layout .content > .content-title {
  text-wrap: balance;
}

.service-layout .content > .content-title + p {
  padding: 18px 22px;
  background: #f8fcfb;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.service-layout .content > p:first-of-type {
  color: #315a69;
  font-size: 18px;
  line-height: 1.85;
}

.service-layout .content h2:not(.content-title) {
  padding-top: 4px;
  color: #12364a;
  font-size: 25px;
  line-height: 1.35;
}

.service-layout .content h3 {
  margin-top: 24px;
  color: #0f5d7e;
  font-size: 19px;
}

.service-layout .content ul:not(.checklist-grid) {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.service-layout .content ul:not(.checklist-grid) li {
  position: relative;
  padding-left: 26px;
}

.service-layout .content ul:not(.checklist-grid) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 208, 132, 0.13);
}

.service-visual {
  margin: 34px 0 30px;
  padding: 18px;
  background: linear-gradient(135deg, #f8fcfb 0%, #effaf7 100%);
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 10px;
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 48, 61, 0.12);
}

.service-visual::after {
  content: "Research Translation";
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 6px 12px;
  color: #ffffff;
  background: rgba(9, 35, 46, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.service-visual-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 93, 126, 0.78), rgba(16, 47, 61, 0.9)),
    url("../images/research/research_translation_v2.jpg") center / cover;
  border-radius: 8px;
  color: #ffffff;
}

.service-visual-placeholder span {
  display: block;
  max-width: 720px;
  padding: 0 18px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
}

.service-visual-placeholder small {
  display: block;
  color: #d7f1f7;
  font-size: 14px;
}

.service-visual-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content-support,
.related-services {
  box-shadow: 0 14px 34px rgba(15, 48, 61, 0.06);
}

.content-support h2,
.related-services h2 {
  color: var(--brand-dark);
  font-size: 23px;
}

.related-services {
  background: linear-gradient(135deg, #fbfefd 0%, #f2fbf7 100%);
}

.related-service-grid a {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.related-service-grid a::after {
  content: "อ่านต่อ";
  align-self: end;
  width: max-content;
  margin-top: 8px;
  padding: 4px 10px;
  color: #0f5d7e;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.related-service-grid a:focus-visible,
.service-visual img:focus-visible {
  outline: 3px solid rgba(0, 208, 132, 0.45);
  outline-offset: 3px;
}

.service-insight {
  position: relative;
  margin: 34px 0 30px;
  padding: 28px 30px 28px 34px;
  background: linear-gradient(135deg, #102f3d 0%, #0a4a60 100%);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 48, 61, 0.14);
  overflow: hidden;
}

.service-insight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.service-insight .eyebrow {
  color: #bfffe7;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-insight h2 {
  margin: 10px 0 0 !important;
  color: #ffffff !important;
}

.service-insight p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #dff6fb;
  line-height: 1.85;
}

.service-depth {
  margin: 34px 0 30px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 107, 136, 0.13);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(15, 48, 61, 0.07);
}

.service-depth .section-heading {
  max-width: 820px;
}

.quality-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quality-matrix article {
  min-width: 0;
  padding: 18px;
  background: #f8fcfb;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
}

.quality-matrix strong {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.35;
}

.quality-matrix p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-depth-questions {
  background: linear-gradient(135deg, #f8fcfb 0%, #eefaf6 100%);
}

.decision-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: decision;
}

.decision-list li {
  position: relative;
  min-width: 0;
  padding: 16px 18px 16px 58px;
  background: #ffffff;
  border: 1px solid rgba(15, 107, 136, 0.12);
  border-radius: 8px;
  counter-increment: decision;
}

.decision-list li::before {
  content: counter(decision);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.decision-list strong,
.decision-list span {
  display: block;
}

.decision-list strong {
  color: var(--brand-dark);
  line-height: 1.35;
}

.decision-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.article-cta {
  margin-top: 32px;
  padding: 26px;
  background: linear-gradient(135deg, #0f3442 0%, #0a4a60 100%);
  border-radius: 10px;
  color: #ffffff;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.article-cta h2 {
  margin-top: 0 !important;
  color: #ffffff !important;
}

.article-cta p {
  margin: 0;
}

.article-cta p,
.article-cta a {
  color: #e8f8ff;
}

.article-cta h2 + p {
  max-width: 760px;
}

.article-cta a[href^="mailto:"],
.article-cta a[href^="tel:"] {
  font-weight: 900;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   Service page decorative enhancements
   ============================================ */

/* --- Section heading with left accent + circle marker --- */
.service-layout .content h2:not(.content-title) {
  position: relative;
  padding: 16px 0 12px 20px;
  margin-top: 40px;
  border-left: 3px solid var(--accent);
}

.service-layout .content h2:not(.content-title)::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.18);
}

.service-layout .content h2:not(.content-title) + p,
.service-layout .content h2:not(.content-title) + ul,
.service-layout .content h2:not(.content-title) + ol {
  margin-top: 10px;
}

/* --- Ordered list custom numbers --- */
.service-layout .content ol:not(.checklist-grid) {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: step-counter;
}

.service-layout .content ol:not(.checklist-grid) li {
  position: relative;
  padding: 16px 18px 16px 60px;
  background: #ffffff;
  border: 1px solid rgba(15, 107, 136, 0.1);
  border-radius: 8px;
  counter-increment: step-counter;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-layout .content ol:not(.checklist-grid) li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.service-layout .content ol:not(.checklist-grid) li:hover {
  border-color: rgba(0, 208, 132, 0.3);
  box-shadow: 0 6px 20px rgba(15, 48, 61, 0.06);
}

.service-layout .content ol:not(.checklist-grid) li strong {
  color: var(--brand-dark);
}

/* --- Highlight callout boxes for strong-led paragraphs --- */
.service-layout .content > p > strong:first-child {
  color: var(--brand-dark);
}

/* --- Enhanced bold text in content --- */
.content strong {
  color: var(--brand-dark);
  font-weight: 800;
}

.content em {
  font-style: normal;
  color: var(--brand);
  background: rgba(15, 93, 126, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

/* --- Content links styling --- */
.content a:not(.button) {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(15, 93, 126, 0.3);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.content a:not(.button):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* --- Service visual enhanced frame --- */
.service-visual {
  position: relative;
}

.service-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand), var(--gold));
  border-radius: 8px 8px 0 0;
  opacity: 0;
  transition: opacity 250ms ease;
}

.service-visual:hover::before {
  opacity: 1;
}

/* --- Content-support enhanced --- */
.content-support {
  overflow: hidden;
}

.content-support h2 {
  font-size: 18px;
}

/* --- Checklist grid enhanced --- */
.checklist-grid li {
  font-weight: 600;
}

.checklist-grid li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.checklist-grid li:hover::after {
  opacity: 1;
}

/* --- Related service cards enhanced --- */
.related-service-grid a {
  position: relative;
}

.related-service-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.04), rgba(15, 93, 126, 0.04));
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: -1;
}

.related-service-grid a:hover::before {
  opacity: 1;
}

/* --- FAQ enhanced --- */
.faq-list summary {
  font-size: 16px;
  line-height: 1.5;
}

.faq-list details[open] > summary {
  border-bottom: 1px solid rgba(15, 107, 136, 0.08);
  margin-bottom: 4px;
}

/* --- Article CTA enhanced --- */
.article-cta h2 {
  font-size: 22px;
}

.article-cta a.button {
  white-space: nowrap;
}

/* --- Responsive decorations --- */
@media (max-width: 640px) {
  .service-layout .content h2:not(.content-title) {
    padding: 12px 0 10px 16px;
    margin-top: 30px;
    font-size: 20px;
  }

  .service-layout .content h2:not(.content-title)::before {
    width: 8px;
    height: 8px;
    left: -7px;
    top: 14px;
  }

  .service-layout .content ol:not(.checklist-grid) li {
    padding: 14px 14px 14px 52px;
  }

  .service-layout .content ol:not(.checklist-grid) li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
    left: 12px;
    top: 10px;
  }

  .content-support h2,
  .related-services h2 {
    font-size: 17px;
  }

  .article-cta h2 {
    font-size: 19px;
  }
}

@media (max-width: 400px) {
  .service-layout .content h2:not(.content-title) {
    padding: 10px 0 8px 14px;
    margin-top: 26px;
    font-size: 18px;
  }

  .service-layout .content h2:not(.content-title)::before {
    width: 7px;
    height: 7px;
    left: -6px;
    top: 12px;
  }

  .service-layout .content ol:not(.checklist-grid) li {
    padding: 12px 12px 12px 48px;
    font-size: 14px;
  }

  .service-layout .content ol:not(.checklist-grid) li::before {
    width: 26px;
    height: 26px;
    font-size: 12px;
    left: 10px;
    top: 10px;
  }

  .checklist-grid li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .service-layout {
    padding-top: 26px;
  }

  .service-layout .content {
    padding: 26px 20px;
  }

  .service-layout .content > p:first-of-type {
    font-size: 16px;
  }

  .service-visual-placeholder {
    min-height: 190px;
  }

  .service-visual-placeholder span {
    font-size: 22px;
  }

  .service-visual::after {
    right: 20px;
    bottom: 20px;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }

  .service-depth {
    padding: 20px;
  }

  .service-insight {
    padding: 22px 20px 22px 24px;
  }

  .quality-matrix {
    grid-template-columns: 1fr;
  }

  .decision-list li {
    padding-left: 52px;
  }
}


/* --- Company proof and confidentiality blocks --- */
.company-proof {
  margin: 48px 0;
  padding: 34px;
  border: 1px solid rgba(15, 93, 126, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 208, 132, 0.08), rgba(15, 93, 126, 0.04)),
    #ffffff;
  box-shadow: 0 18px 45px rgba(15, 48, 61, 0.07);
}

.home-company-proof {
  margin-top: 56px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.proof-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(15, 93, 126, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.proof-card-primary {
  background: linear-gradient(135deg, #0b4966, #0f6b88);
  color: #ffffff;
}

.proof-card h3 {
  margin: 8px 0 10px;
  color: var(--brand-dark);
  font-size: 20px;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.proof-card-primary h3,
.proof-card-primary p,
.proof-card-primary strong {
  color: #ffffff;
}

.proof-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 208, 132, 0.12);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.proof-card-primary .proof-kicker {
  background: rgba(255, 255, 255, 0.95);
  color: #0b4966;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.proof-card-primary .text-link {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.72);
}

.proof-card-primary .text-link:hover {
  color: #d9fff0;
  text-decoration-color: #d9fff0;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin-top: 24px;
  padding: 26px;
  border-radius: 8px;
  background: #f6fbfa;
}

.privacy-panel h3 {
  margin: 6px 0 10px;
  color: var(--brand-dark);
  font-size: 21px;
}

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

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

.privacy-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(15, 93, 126, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  line-height: 1.65;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 208, 132, 0.12);
}

.dbd-box strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.dbd-box a {
  font-weight: 800;
}

@media (max-width: 900px) {
  .proof-grid,
  .privacy-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .company-proof {
    margin: 34px 0;
    padding: 24px 18px;
  }

  .proof-card {
    padding: 18px;
  }

  .privacy-panel {
    padding: 20px;
  }
}

/* --- Contact icons for clearer scanning --- */
:root {
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8.09 9.63a16 16 0 0 0 6.28 6.28l1.19-1.19a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  --icon-location: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.99-5.54 10.19-7.4 11.78a1 1 0 0 1-1.2 0C9.54 20.19 4 14.99 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.topbar-contact a,
.footer-contact a,
.footer-contact span,
.contact-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a,
.footer-contact span,
.contact-box a {
  width: fit-content;
}

.topbar-contact a::before,
.footer-contact a::before,
.footer-contact span::before,
.contact-box a::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: 0.9;
  -webkit-mask: var(--icon-location) center / contain no-repeat;
  mask: var(--icon-location) center / contain no-repeat;
}

.topbar-contact a[href^="mailto:"]::before,
.footer-contact a[href^="mailto:"]::before,
.contact-box a[href^="mailto:"]::before {
  -webkit-mask-image: var(--icon-mail);
  mask-image: var(--icon-mail);
}

.topbar-contact a[href^="tel:"]::before,
.footer-contact a[href^="tel:"]::before,
.contact-box a[href^="tel:"]::before {
  -webkit-mask-image: var(--icon-phone);
  mask-image: var(--icon-phone);
}

.footer-contact span::before {
  -webkit-mask-image: var(--icon-chat);
  mask-image: var(--icon-chat);
}

.footer-contact a:first-of-type::before {
  width: 18px;
  height: 18px;
}

.contact-box a::before {
  color: #ffffff;
}

@media (max-width: 640px) {
  .topbar-contact {
    justify-content: flex-start;
  }

  .topbar-contact a::before,
  .footer-contact a::before,
  .footer-contact span::before,
  .contact-box a::before {
    width: 15px;
    height: 15px;
  }
}

/* --- Final service page polish --- */
.service-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 34px;
}

.service-summary article {
  position: relative;
  min-height: 112px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(15, 93, 126, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 208, 132, 0.08), rgba(15, 93, 126, 0.04)),
    #ffffff;
  box-shadow: 0 10px 28px rgba(15, 48, 61, 0.05);
}

.service-summary article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent), var(--brand));
}

.service-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.service-summary strong {
  display: block;
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.55;
}

.service-cta {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
}

.service-cta .eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
}

.service-cta h2 {
  margin-top: 0;
}

.service-cta .cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.service-cta .button {
  min-height: 44px;
  white-space: nowrap;
}

.button[href^="mailto:"]::before,
.button[href^="tel:"]::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: -3px;
  background: currentColor;
  -webkit-mask: var(--icon-mail) center / contain no-repeat;
  mask: var(--icon-mail) center / contain no-repeat;
}

.button[href^="tel:"]::before {
  -webkit-mask-image: var(--icon-phone);
  mask-image: var(--icon-phone);
}

.service-layout .content > .service-summary + h2 {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .service-summary,
  .service-cta {
    grid-template-columns: 1fr;
  }

  .service-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .service-summary {
    gap: 10px;
    margin: 22px 0 28px;
  }

  .service-summary article {
    min-height: 0;
    padding: 16px 16px 16px 18px;
  }

  .service-summary strong {
    font-size: 15px;
  }

  .service-cta .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-cta .button {
    width: 100%;
    justify-content: center;
  }
}
