/* Inner page layout – media blocks, leads, panels */
.page-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 680px;
  margin: 0 0 8px;
}

.page-lead--wide {
  max-width: 820px;
}

.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 56px 0;
}

.media-block--reverse {
  direction: rtl;
}

.media-block--reverse > * {
  direction: ltr;
}

.media-block__figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(8, 106, 216, 0.12);
  border: 1px solid #eee;
}

.media-block__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-block__figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #888;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.media-block h2 {
  margin-top: 0;
}

.highlight-panel {
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
  border: 1px solid rgba(8, 106, 216, 0.12);
  border-radius: 8px;
  padding: 32px 36px;
  margin: 48px 0;
}

.highlight-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--heading);
}

.highlight-panel p:last-child {
  margin-bottom: 0;
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0;
}

.fact-box {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.fact-box strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.fact-box span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.content-stack {
  max-width: 820px;
}

.content-stack--wide {
  max-width: none;
}

.split-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.split-feature {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.split-feature h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--primary);
}

.split-feature p {
  margin: 0;
  font-size: 15px;
}

.page-banner__visual {
  margin-top: 28px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.page-banner__visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-banner--with-visual .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.page-banner--with-visual .page-banner__visual {
  margin-top: 0;
}

.page-banner--with-visual .page-banner__visual img {
  height: 260px;
}

.quote-pull {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--light-bg);
  font-size: 17px;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.6;
}

.service-hero-visual {
  margin: 0 0 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.service-hero-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.timeline {
  margin: 48px 0;
  padding-left: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 32px 36px;
  border-left: 2px solid #e8e8e8;
  margin-left: 8px;
}

.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #f0f6ff;
}

.timeline strong {
  display: block;
  color: var(--heading);
  margin-bottom: 6px;
  font-size: 17px;
}

.timeline p {
  margin: 0;
  font-size: 15px;
}

.industry-detail-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  height: 100%;
}

.industry-detail-card h4 {
  margin: 0 0 8px;
  color: var(--heading);
}

.industry-detail-card .industry-card__detail {
  margin-top: 12px;
}

.contact-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-visual-grid img {
  width: 100%;
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
  border: 1px solid #eee;
}

.privacy-prose {
  font-size: 16px;
  line-height: 1.75;
}

.privacy-prose h2 {
  font-size: 24px;
  margin-top: 40px;
}

.home-showcase .media-block {
  margin: 0;
}

.home-sectors .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Linked image gallery (home, etc.) */
.content-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 56px;
}

.gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.gallery-card:hover {
  box-shadow: 0 16px 40px rgba(8, 106, 216, 0.14);
  transform: translateY(-4px);
}

.gallery-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-card__body {
  padding: 20px 22px 24px;
}

.gallery-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--heading);
}

.gallery-card__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.gallery-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* Service cards with top image */
.services-grid--with-media .service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services-grid--with-media .service-card__thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.services-grid--with-media .service-card__inner {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-grid--with-media .service-card h4 {
  margin-top: 0;
}

/* Industry cards with photo header */
.industries-grid--photos {
  gap: 28px;
}

.industry-card-photo {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.industry-card-photo > img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}

.industry-card-photo__body {
  padding: 22px 24px 26px;
}

.industry-card-photo__body h4 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 18px;
}

.industry-card-photo__body > p {
  margin: 0 0 8px;
  font-size: 15px;
}

.industry-card-photo__body .industry-card__detail {
  margin-top: 12px;
  font-size: 14px;
}

/* Icon feature row */
.icon-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0;
}

.icon-benefit {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.icon-benefit i {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.icon-benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--heading);
}

.icon-benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.page-banner--text-only .container {
  display: block;
}

.page-banner--text-only .page-banner__visual {
  display: none;
}
