/* Case-study index, About highlights and Contact share one visual system. */
.page-eyebrow { margin: 0 0 14px; color: #0b63ce; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.page-intro { max-width: 760px; padding: 0 0 52px; }
.page-intro h1, .contact-hero h1 { margin: 0 0 24px; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; color: #101924; }
.page-intro h1 span { color: #0b63ce; }
.page-lead { max-width: 660px; margin-bottom: 16px; font-size: 18px; line-height: 1.65; }
.page-note { color: #626d78; font-size: 14px; }
.case-index { padding: 60px 0 72px; }
.case-index > .container { max-width: 1140px; }
.case-list { display: grid; gap: 0; }
.case-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding: 44px 0; border-top: 1px solid #dce3ea; }
.case-media { width: 100%; max-width: 440px; margin: 0; border: 1px solid #dde5ee; border-radius: 18px; background: #f3f6fa; overflow: hidden; }
.case-media-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; color: #42566d; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-media-label > :last-child { color: #7b8da0; }
.case-image-stage { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 22px; }
.case-image-stage img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: transform .25s ease; }
.case-media figcaption { padding: 0 22px 16px; color: #667487; font-size: 12px; }
.case-copy { min-width: 0; }
.case-copy h2 { margin: 0 0 18px; font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.25; font-weight: 600; color: #101924; letter-spacing: -.02em; }
.case-copy > p:not(.page-eyebrow) { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #45515e; }
.case-copy .hero-primary-btn { margin-bottom: 0; }
.hero-primary-btn:focus-visible, .hero-secondary-btn:focus-visible, .contact-text-link:focus-visible, .highlights-grid a:focus-visible { outline: 3px solid #1976f3; outline-offset: 4px; }
@media (hover: hover) { .case-media:hover img { transform: scale(1.025); } }
.about-highlights { padding: 56px 0 0; }
.about-highlights h2 { margin: 0 0 24px; color: #101924; font-size: 28px !important; font-weight: 600; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.highlights-grid article { padding: 26px; border: 1px solid #dce5ef; border-radius: 14px; background: #f3f7fc; }
.highlights-grid article > span { color: #0b63ce; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.highlights-grid h3 { margin: 16px 0 12px; color: #101924; font-size: 23px; font-weight: 600; line-height: 1.25; }
.highlights-grid p { margin: 0; font-size: 15px; line-height: 1.7; }
.highlights-grid a { display: inline-block; margin-top: 16px; color: #0b63ce; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.about-page #journey-section .ourfocus_details { margin-bottom: 28px; border-radius: 0 12px 12px 0; }
.contact-hero { position: relative; padding: 72px 0; color: #343434; background: #f3f6fa; }
.contact-hero-inner { position: relative; }
.contact-hero h1 { color: #101924; }
.contact-hero h1 span { color: #0b63ce; }
.contact-hero .page-eyebrow { color: #0b63ce; }
.contact-hero .page-lead { max-width: 620px; color: #343434; }
.contact-hero .hero-buttons { flex-wrap: wrap; }
.contact-options { padding: 56px 0 72px; background: #f6f8fb; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-card { padding: 28px; border: 1px solid #dde5ed; border-radius: 16px; background: #fff; }
.contact-symbol { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; color: #0b63ce; font-size: 23px; background: #edf4fe; }
.contact-card h2 { margin-bottom: 14px; color: #101924; font-size: 24px !important; line-height: 1.25; font-weight: 600; }
.contact-card p:not(.page-eyebrow) { font-size: 15px; line-height: 1.7; color: #343434; }
.contact-text-link { display: inline-block; padding: 8px 0; color: #0b63ce; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-text-link:hover { color: #084b9b; }
@media (max-width: 991.98px) {
  .case-row { gap: 32px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-email { grid-column: 1 / -1; }
  .highlights-grid { gap: 14px; }
  .highlights-grid article { padding: 20px; }
}
@media (max-width: 767.98px) {
  /* One container gutter: no nested Bootstrap row can subtract it. */
  .case-index > .container, .contact-page .container, .about-highlights > .container { padding-left: 24px; padding-right: 24px; }
  .case-index { padding: 36px 0 44px; }
  .page-intro { padding-bottom: 24px; }
  .page-intro h1, .contact-hero h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .page-lead { font-size: 16px; }
  .case-row { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 0; }
  .case-media { max-width: none; }
  .case-media-label { padding: 16px 18px 0; font-size: 10px; }
  .case-image-stage { padding: 18px; }
  .case-media figcaption { padding: 0 18px 14px; }
  .case-copy h2 { font-size: 25px !important; }
  .case-copy .hero-primary-btn { width: 100%; min-width: 0; }
  .highlights-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-highlights { padding-top: 36px; }
  .highlights-grid article { padding: 24px; }
  .contact-email { grid-column: auto; }
  .contact-hero { padding: 44px 0; }
  .contact-hero .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-hero .hero-buttons a { width: 100%; min-width: 0; }
  .contact-options { padding: 32px 0 44px; }
  .contact-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-image-stage img, .hero-primary-btn, .hero-secondary-btn { transition: none; }
  .case-media:hover img, .hero-primary-btn:hover { transform: none; }
}

/* Compact case-study introduction. */
.case-index .page-intro-compact { padding-bottom: 24px; }
.case-index .page-intro-compact h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.case-index .page-intro-compact .page-note { margin-bottom: 0; }
@media (max-width: 767.98px) { .case-index .page-intro-compact h1 { font-size: 24px; } }

/* Contact hero matches the Home hero palette, background and typography. */
.contact-page .contact-hero { color: #fff; background: linear-gradient(90deg, rgba(3,12,21,.94) 0%, rgba(3,12,21,.83) 42%, rgba(3,12,21,.55) 72%, rgba(3,12,21,.38) 100%), url('../images/hero_2.png') center / cover no-repeat; }
.contact-page .contact-hero .hero-message { margin-top: 0; margin-bottom: 22px; font-size: 42px !important; line-height: 1.15; font-weight: 700; letter-spacing: -1px; color: #fff; }
.contact-page .contact-hero .hero-message span { color: #2b82ff; }
.contact-page .contact-hero .page-eyebrow { color: #fff; }
.contact-page .contact-hero .hero-description { max-width: 620px; margin-bottom: 0; font-size: 18px; line-height: 1.55; font-weight: 300; color: rgba(255,255,255,.72); }
@media (max-width: 767.98px) {
 .contact-page .contact-hero .hero-message { font-size: clamp(28px, 7.5vw, 36px) !important; line-height: 1.2; }
 .contact-page .contact-hero .hero-description { font-size: 16px; }
}
