:root {
  --ak45-ink: #092a35;
  --ak45-deep: #071f28;
  --ak45-teal: #197c70;
  --ak45-mint: #eaf3f0;
  --ak45-line: #d6e3df;
  --ak45-copper: #bd6433;
}

.ak45-install-app {
  appearance: none;
  border: 1px solid var(--ak45-line);
  background: #fff;
  color: var(--ak45-ink);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.ak45-install-app:hover,
.ak45-install-app:focus-visible {
  background: var(--ak45-mint);
  border-color: #a9cfc3;
}

.ak45-install-app[hidden] { display: none !important; }

.ak45-directory-claim {
  max-width: 720px;
  margin: 24px 0 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.ak45-directory-claim > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid #c9ded8;
  border-radius: 10px;
  background: #f2f8f6;
  box-shadow: 0 12px 30px rgba(7, 35, 44, .08);
}

.ak45-directory-claim strong,
.ak45-directory-claim p { margin: 0; }
.ak45-directory-claim p { color: #50666b; font-size: 14px; margin-top: 4px; }
.ak45-directory-claim a { white-space: nowrap; }

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

.ak45-sector-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--ak45-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ak45-ink);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(7, 35, 44, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ak45-sector-card:hover,
.ak45-sector-card:focus-visible {
  transform: translateY(-4px);
  border-color: #a7cfc2;
  box-shadow: 0 18px 34px rgba(7, 35, 44, .12);
}

.ak45-sector-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ak45-sector-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 21px 22px;
}

.ak45-sector-card .badge { margin-bottom: 10px; }
.ak45-sector-card h2 { margin: 0 0 9px; color: var(--ak45-ink); font: 500 25px/1.12 Georgia, serif; }
.ak45-sector-card p { margin: 0; color: #52676c; font-size: 15px; line-height: 1.55; }
.ak45-sector-card b { margin-top: auto; padding-top: 20px; color: var(--ak45-teal); font-size: 13px; }

.ak45-sector-intro { max-width: 790px; }
.ak45-sector-intro p { max-width: 68ch; }
.ak45-sector-ai {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 0;
  overflow: hidden;
  margin-top: 42px;
  border-radius: 14px;
  background: var(--ak45-deep);
  color: #fff;
}
.ak45-sector-ai > div { padding: 38px; }
.ak45-sector-ai h2 { margin: 10px 0 12px; color: #fff; font: 500 34px/1.12 Georgia, serif; }
.ak45-sector-ai p { color: #d7e5e1; line-height: 1.65; }
.ak45-sector-ai img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.ak45-sector-ai a { color: #a8e2d2; font-weight: 800; }

.ak45-sector-detail-image { padding: 28px 24px 0; }
.ak45-sector-detail-image .wrap { max-width: 1192px; margin: 0 auto; }
.ak45-sector-detail-image img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: 12px; }

.services-group-grid.ak45-services-grid { align-items: stretch; }
.services-group-grid.ak45-services-grid .services-group {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}
.services-group-grid.ak45-services-grid .services-group > img { width: 100%; height: 225px; flex: 0 0 225px; object-fit: cover; }
.services-group-grid.ak45-services-grid .v30-service-copy { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.services-group-grid.ak45-services-grid .service-open { position: static; display: block; margin-top: auto; padding-top: 18px; }
.services-group-grid.ak45-services-grid .services-group h2 { min-height: 2.2em; }

.ak45-offline { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 24px; background: var(--ak45-deep); color: #fff; font-family: Inter, system-ui, sans-serif; }
.ak45-offline main { max-width: 560px; }
.ak45-offline-mark { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 15px; background: #fff; color: var(--ak45-deep); font-weight: 900; letter-spacing: -.04em; }
.ak45-eyebrow { margin-top: 26px; color: #9ed7c8; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ak45-offline h1 { margin: 12px 0; font: 500 clamp(40px, 7vw, 64px)/1.05 Georgia, serif; }
.ak45-offline p:not(.ak45-eyebrow) { color: #d4e2df; line-height: 1.65; }
.ak45-offline a { display: inline-block; margin-top: 16px; color: #a8e2d2; font-weight: 800; }

/* Homepage sector routes: text-led presentation, without stock/AI-looking imagery. */
.v9-home .sector-showcase .sector-photo-card {
  min-height: 0;
  align-items: stretch;
  border: 1px solid #d7e3df;
  border-radius: 14px;
  background: #f4f8f6;
  color: #092f3c;
  box-shadow: none;
}
.v9-home .sector-showcase .sector-photo-card:after { display: none; }
.v9-home .sector-showcase .sector-photo-card > div {
  position: relative;
  z-index: 1;
  padding: 26px;
}
.v9-home .sector-showcase .sector-photo-card h3 { color: #092f3c; }
.v9-home .sector-showcase .sector-photo-card p { color: #4e666b; }
.v9-home .sector-showcase .sector-photo-card b { color: #147564; }
.v9-home .sector-showcase .sector-photo-card:hover {
  border-color: #8fc5b6;
  box-shadow: 0 12px 28px rgba(13, 58, 67, .08);
}
.v9-home .sector-showcase .v31-sector-image-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.v9-home .sector-showcase .v31-sector-image-card,
.v9-home .sector-showcase .v31-sector-all {
  min-height: 0;
  align-items: center;
  padding: 18px 20px !important;
  border: 1px solid #d7e0e4 !important;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: none;
}
.v9-home .sector-showcase .v31-sector-image-card:before { display: none; }
.v9-home .sector-showcase .v31-sector-image-card span {
  padding: 0;
  color: #142b3b;
  font-size: 1rem;
  text-shadow: none;
}
.v9-home .sector-showcase .v31-sector-image-card span:after { color: #b87345; }
.v9-home .sector-showcase .v31-sector-image-card:hover,
.v9-home .sector-showcase .v31-sector-image-card:focus-visible {
  border-color: #b87345 !important;
  background: #fffaf6;
  box-shadow: 0 8px 20px rgba(17, 42, 58, .06);
}
.v9-home .sector-showcase .v31-sector-all { grid-column: 1 / -1; }

/* Keep the three primary sector routes visual; the long-tail routes stay text-led. */
.v9-home .sector-showcase .sector-photo-card {
  min-height: 410px;
  align-items: flex-end;
  border: 0;
  border-radius: 18px;
  background: #142b3b;
  color: #fff;
  box-shadow: 0 18px 50px rgba(13, 31, 43, .18);
}
.v9-home .sector-showcase .sector-photo-card:after {
  display: block;
  background: linear-gradient(180deg, transparent 25%, rgba(8, 25, 37, .92) 100%);
}
.v9-home .sector-showcase .sector-photo-card > div { padding: 28px; }
.v9-home .sector-showcase .sector-photo-card h3 { color: #fff; }
.v9-home .sector-showcase .sector-photo-card p { color: #e6edf0; }
.v9-home .sector-showcase .sector-photo-card b { color: #fff; }
.v9-home .sector-showcase .sector-photo-card img { z-index: 0; }

/* The commercial page layer used to override the dark hero heading. */
.v9-home .v9-hero h1 {
  color: #fff !important;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .62);
}
.v9-home .v9-hero p { color: #f2f8f6 !important; }
.v9-home .v9-hero .hero-shade {
  background: linear-gradient(90deg, rgba(5, 24, 31, .99) 0%, rgba(5, 24, 31, .93) 43%, rgba(5, 24, 31, .38) 75%, rgba(5, 24, 31, .12) 100%);
}

@media (max-width: 900px) {
  .v9-home .sector-showcase .v31-sector-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v9-home .sector-showcase .v31-sector-all { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .v9-home .sector-showcase .v31-sector-image-grid { grid-template-columns: 1fr; }
  .v9-home .sector-showcase .v31-sector-all { grid-column: auto; }
}

@media (max-width: 900px) {
  .ak45-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ak45-sector-ai { grid-template-columns: 1fr; }
  .ak45-sector-ai img { max-height: 360px; }
  .ak45-directory-claim > div { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .ak45-sector-grid { grid-template-columns: 1fr; }
  .ak45-sector-card h2 { font-size: 24px; }
  .ak45-sector-ai > div { padding: 27px 22px; }
  .ak45-sector-ai h2 { font-size: 30px; }
  .ak45-sector-detail-image { padding: 18px 18px 0; }
  .services-group-grid.ak45-services-grid .services-group > img { height: 190px; flex-basis: 190px; }
}

/* v46 contrast contract: keep text readable when a dark hero contains a light card. */
.ak45-directory-claim > div {
  background: #fff;
  border-color: #c5dcd6;
  color: #153640 !important;
}
.ak35-site .ak35-hero .ak45-directory-claim strong {
  color: #153640 !important;
}
.ak35-site .ak35-hero .ak45-directory-claim p {
  color: #405960 !important;
}
.ak35-site .ak35-hero .ak45-directory-claim a.btn.primary {
  background: #167a70 !important;
  border-color: #167a70 !important;
  color: #fff !important;
}
.ak35-site .ak35-hero .ak45-directory-claim a.btn.primary:hover,
.ak35-site .ak35-hero .ak45-directory-claim a.btn.primary:focus-visible {
  background: #0f5d55 !important;
  border-color: #0f5d55 !important;
}

/* The three retained homepage images need a dark readable text layer. */
.v9-home .sector-showcase .sector-photo-card {
  color: #fff !important;
  background: #142b3b !important;
}
.v9-home .sector-showcase .sector-photo-card::after {
  display: block !important;
  background: linear-gradient(180deg, rgba(8, 25, 37, .08) 12%, rgba(8, 25, 37, .94) 100%) !important;
}
.v9-home .sector-showcase .sector-photo-card .eyebrow {
  color: #b9e5da !important;
}
.v9-home .sector-showcase .sector-photo-card h3 {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
.v9-home .sector-showcase .sector-photo-card p {
  color: #f0f7f5 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .38);
}
.v9-home .sector-showcase .sector-photo-card b {
  color: #fff !important;
}
.v9-home .v9-hero h1,
.v9-home .v9-hero p {
  color: #fff !important;
}
.v9-home .v9-hero p { color: #f2f8f6 !important; }
.v9-home .v9-hero .hero-shade {
  background: linear-gradient(90deg, rgba(5, 24, 31, .99) 0%, rgba(5, 24, 31, .94) 43%, rgba(5, 24, 31, .42) 75%, rgba(5, 24, 31, .14) 100%) !important;
}
