/* AccuDatum components: heroes, cards, content layouts, utilities, and footer. */

/* Hero areas */
.accudatum-hero,
.page-hero,
.pagehead {
  background:
    radial-gradient(circle at 87% 20%, rgba(42, 140, 255, 0.12), transparent 29%),
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
  border-bottom: 1px solid var(--ad-line);
}

.accudatum-hero {
  padding: 78px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  align-items: center;
  width: min(var(--ad-container), calc(100% - 48px));
  margin-inline: auto;
  gap: clamp(48px, 5vw, 78px);
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--ad-teal);
  font-family: var(--ad-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  margin-right: 10px;
  background: var(--ad-teal);
}

.hero-title {
  max-width: 800px;
  margin: 14px 0 18px;
  color: var(--ad-navy);
  font-size: clamp(42px, 4.55vw, 70px);
  font-weight: 800;
  letter-spacing: -0.047em;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--ad-muted);
  font-size: 16px;
  line-height: 1.72;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
  transform: translateY(-4px);
}

.hero-image-card {
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(8, 38, 83, 0.13);
}

.hero-image-card picture {
  display: block;
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.page-hero,
.pagehead {
  padding: 76px 0 64px;
  text-align: center;
}

.page-hero .container,
.pagehead .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero .hero-title,
.pagehead h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(40px, 5vw, 62px);
}

.page-hero .hero-copy,
.pagehead p {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

/* Home trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--ad-container), calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--ad-shadow);
  transform: translateY(-1px);
}

.trust-item {
  min-width: 0;
  padding: 19px 22px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--ad-line);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ad-navy);
  font-family: var(--ad-display);
  font-size: 17px;
  font-weight: 800;
}

.trust-item span {
  display: block;
  color: var(--ad-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Sections and cards */
.section,
.sec {
  padding: 70px 0;
}

.section.soft,
.sec.cream {
  background: var(--ad-soft);
}

.section-head,
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.75fr);
  align-items: end;
  gap: 46px;
  margin-bottom: 28px;
}

.section-title,
.sec-head h2 {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--ad-navy);
  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-summary,
.sec-head p {
  margin-bottom: 3px;
  color: var(--ad-muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-grid,
.feat-grid,
.page-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.service-card,
.feat,
.industry-card,
.contact-card,
.why-card {
  min-width: 0;
  padding: 25px 23px;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  background: #ffffff;
  height: 100%;
  box-shadow: 0 8px 24px rgba(8, 38, 83, 0.055);
}

a.service-card,
a.feat {
  display: block;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.service-card:hover,
a.service-card:focus-visible,
a.feat:hover,
a.feat:focus-visible {
  border-color: rgba(23, 95, 208, 0.45);
  box-shadow: var(--ad-shadow);
  transform: translateY(-4px);
}

.service-card h3,
.feat h4,
.industry-card h3,
.contact-card h3,
.why-card h3 {
  margin-bottom: 10px;
  color: var(--ad-navy);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-card p,
.feat p,
.industry-card p,
.contact-card p,
.why-card p {
  color: var(--ad-muted);
  font-size: 13px;
  line-height: 1.68;
}

.service-card ul,
.feat ul {
  margin: 16px 0 0;
  padding-left: 19px;
  color: var(--ad-muted);
  font-size: 13px;
}

.service-card li + li,
.feat li + li {
  margin-top: 6px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  border: 1px solid #7bbcff;
  border-radius: 50%;
  color: var(--ad-blue);
  background: #f3f8ff;
  font-family: var(--ad-display);
  font-size: 16px;
  font-weight: 800;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-specialist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-specialist-grid .service-card {
  height: 100%;
}

.service-group-heading {
  margin-bottom: 16px;
}

.service-group-spaced {
  margin-top: 44px;
}

.industry-detail-grid .service-card {
  scroll-margin-top: calc(var(--ad-header-height) + 24px);
}

.why-grid,
.industry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--ad-blue);
  background: var(--ad-soft-blue);
  font-family: var(--ad-display);
  font-size: 12px;
  font-weight: 800;
}

.premium-final-cta,
.split-cta {
  margin-top: 30px;
  border: 1px solid #c8d9ef;
  border-radius: 15px;
  background: linear-gradient(120deg, #f6fbff 0%, #ebf5ff 100%);
  box-shadow: 0 10px 28px rgba(8, 38, 83, 0.06);
}

.premium-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 34px;
}

.premium-final-cta h3,
.split-cta h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.premium-final-cta p,
.split-cta p {
  max-width: 780px;
  color: var(--ad-muted);
  font-size: 13px;
}

.premium-final-cta .btn-primary {
  flex: 0 0 auto;
  max-width: 220px;
}

.split-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.split-cta > div {
  padding: 34px;
}

.split-cta > div + div {
  border-left: 1px solid #c8d9ef;
}

.split-cta .btn-primary {
  margin-top: 10px;
}

.section-tight-top {
  padding-top: 18px;
}

/* Service details and content */
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 50px;
  align-items: start;
}

.service-detail-summary {
  max-width: 720px;
  margin-top: 18px;
}

.service-detail-panel {
  padding: 30px;
  border-radius: var(--ad-radius);
  color: #ffffff;
  background: var(--ad-navy);
  box-shadow: var(--ad-shadow-lg);
}

.service-detail-panel h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 22px;
}

.service-detail-panel ul {
  margin: 0;
  padding-left: 20px;
  color: #e8eff9;
}

.service-detail-panel li + li {
  margin-top: 10px;
}

.service-custom-content,
.entry {
  width: min(850px, calc(100% - 48px));
  margin: 48px auto;
  color: var(--ad-text);
}

.service-custom-content h2,
.service-custom-content h3,
.entry h1,
.entry h2,
.entry h3 {
  margin-top: 1.5em;
  margin-bottom: 0.55em;
}

.service-custom-content a,
.entry a {
  color: var(--ad-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-custom-content img,
.entry img {
  border-radius: 12px;
}

.seo-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--ad-blue);
  color: var(--ad-muted);
  background: var(--ad-soft);
  font-size: 13px;
}


/* Blog, archive, and generic content helpers */
.entry-meta {
  margin-bottom: 24px;
  color: var(--ad-muted);
  font-size: 13px;
}

.feat h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.posts-pagination {
  margin-top: 34px;
  text-align: center;
}

.posts-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--ad-line);
  border-radius: 7px;
  color: var(--ad-navy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 750;
}

.posts-pagination .page-numbers.current,
.posts-pagination a.page-numbers:hover,
.posts-pagination a.page-numbers:focus-visible {
  border-color: var(--ad-blue);
  color: #ffffff;
  background: var(--ad-blue);
}

.empty-state {
  text-align: center;
  color: var(--ad-muted);
}

/* Footer */
.site-footer {
  padding: 62px 0 24px;
  color: #d6e1f0;
  background: var(--ad-navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 1.15fr 1.15fr 1fr;
  gap: 38px;
}

.site-footer img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
  background: #ffffff;
}

.footer-company-line {
  margin: 13px 0 7px;
  color: #ffffff;
  font-family: var(--ad-display);
  font-size: 18px;
  font-weight: 800;
}

.site-footer h4,
.site-footer h5 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #c9d6e8;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.launch-contact-line {
  color: #72caff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aebed2;
  font-size: 12px;
}

