/* Shared interior for public pages that still use the older templates.
   Navbar and footer are unchanged. Heroes match the navy / photo pages. */

body.si { background: #f6f8fc; color: #3d4658; }
body.si h1,
body.si h2,
body.si h3,
body.si h4 { color: #171433; }

body.si .hero-header.bg-primary {
  margin-top: 0 !important;
  padding-top: 48px !important;
  padding-bottom: 42px !important;
  background-color: #07184f !important;
  background-image:
    linear-gradient(100deg, #07184f 0%, #0b2a86 50%, rgba(11, 42, 134, .88) 74%, rgba(7, 24, 79, .72) 100%),
    url('/assets/img/about/reception.jpg') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  position: relative;
  overflow: hidden;
}
body.si .hero-header.bg-primary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 52px;
  background: #f6c51d;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
body.si .hero-header h1,
body.si .hero-header h2,
body.si .hero-header p,
body.si .hero-header .text-white,
body.si .hero-header .text-white-50 { color: #fff !important; }
body.si .hero-header .breadcrumb-item a { text-shadow: 0 1px 2px rgba(7, 24, 79, .45); }

body.si .bg-primary:not(.hero-header) {
  background-color: #0d2f9e !important;
  background-image: linear-gradient(90deg, #0d2f9e 0%, #1a4fe0 68%, #2f6bff 100%) !important;
  color: #fff;
}
body.si .bg-primary:not(.hero-header) h1,
body.si .bg-primary:not(.hero-header) h2,
body.si .bg-primary:not(.hero-header) h3,
body.si .bg-primary:not(.hero-header) p { color: #fff; }

body.si .bg-light { background-color: #f3f6fb !important; }
body.si .text-primary { color: #8d6a06 !important; }

body.si .btn-primary,
body.si .btn-primary:focus,
body.si .btn-primary:active {
  background: #f6c51d !important;
  border-color: #f6c51d !important;
  color: #14120a !important;
}
body.si .btn-primary:hover { background: #e2b106 !important; border-color: #e2b106 !important; color: #14120a !important; }
body.si .btn-outline-primary {
  color: #14120a !important;
  border-color: #e2b106 !important;
  background: #fff;
}
body.si .btn-outline-primary:hover {
  background: #f6c51d !important;
  border-color: #f6c51d !important;
  color: #14120a !important;
}
body.si .bg-primary .btn-light,
body.si .newsletter .btn-light,
body.si .location-cta .btn-light,
body.si .hero-header .btn-light {
  background: #f6c51d !important;
  border-color: #f6c51d !important;
  color: #14120a !important;
}
body.si .hero-header .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .85) !important;
  background: rgba(7, 24, 79, .35);
}
body.si .rounded-circle.bg-primary {
  background-color: #fff8df !important;
  background-image: none !important;
  color: #8d6a06 !important;
}
body.si .bg-primary .btn-light:hover,
body.si .newsletter .btn-light:hover,
body.si .location-cta .btn-light:hover { background: #e2b106 !important; color: #14120a !important; }

body.si .hero-header .btn.border {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4) !important;
  color: #fff !important;
}
body.si .btn.border.text-primary {
  background: #fff8df;
  border-color: #f3e2a2 !important;
  color: #8d6a06 !important;
}

body.si .service-item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
}
body.si .service-item:hover { background: #fff; border-color: #f6c51d; }
body.si .service-item .service-icon {
  background: #f6c51d;
  color: #14120a;
  border-radius: 16px;
}
body.si .service-item:hover .service-icon { background: #f6c51d; color: #14120a; }
body.si .service-item:hover h5,
body.si .service-item:hover p,
body.si .service-item:hover .text-muted { color: #171433 !important; }
body.si .service-item a.btn { color: #8d6a06; }
body.si .service-item a.btn::before,
body.si .service-item:hover a.btn::before { background: #fff8df; }

body.si img.rounded { border-radius: 18px !important; }

body.si .accordion-item {
  background: #fff;
  border: 1px solid #e7edf5 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 10px;
}
body.si .accordion-button {
  color: #243049;
  font-weight: 600;
  background: #fff;
  box-shadow: none;
}
body.si .accordion-button:not(.collapsed) {
  color: #171433;
  background: #fff8df;
  box-shadow: none;
}
body.si .accordion-button:focus { box-shadow: none; }

body.si .container a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand) { color: #8d6a06; }
body.si .container a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover { color: #14120a; }
body.si .hero-header a,
body.si .footer a,
body.si .bg-primary a.btn { color: inherit; }
body.si .footer a { color: rgba(255, 255, 255, .7); }

body.si .col-lg-10.mx-auto {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  padding: 28px 32px 12px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
}

body.si #seo,
body.si #smm,
body.si #performance-ads,
body.si #web-dev,
body.si #analytics { scroll-margin-top: 96px; }

body.si .location-landing .location-card,
body.si .location-landing .location-market,
body.si .location-landing .location-related-card,
body.si .location-landing .location-proof-card {
  border-color: #e7edf5;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
}
body.si .location-landing .section-tag,
body.si .location-landing .location-proof-meta {
  border-color: #f3e2a2;
  color: #8d6a06;
  background: #fff8df;
}
body.si .location-landing .location-market-item {
  background: #f6f8fc;
  border-color: #e7edf5;
}
body.si .location-landing .location-snapshot {
  background: #fff;
  border: 1px solid #e7edf5;
}
body.si .location-landing .location-cta {
  background: linear-gradient(90deg, #0d2f9e 0%, #1a4fe0 68%, #2f6bff 100%);
  border: 0;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
body.si .location-landing .location-related-card a { color: #171433; }
body.si .location-landing .location-related-card a:hover { color: #8d6a06; }

body.si .case-study-shell { background: #f6f8fc; }
body.si .case-study-step { background: #fff8df; color: #8d6a06; }
body.si .case-study-checklist li::before { background: #f6c51d; box-shadow: 0 0 0 6px rgba(246, 197, 29, .28); }
body.si .case-study-faq .accordion-button:not(.collapsed) { color: #171433; }

@media (max-width: 991.98px) {
  body.si .hero-header.bg-primary {
    background-image: linear-gradient(180deg, #07184f 0%, #0c2f92 100%) !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
  body.si .hero-header.bg-primary::after { display: none; }
  body.si .hero-header .breadcrumb { white-space: normal !important; }
  body.si .col-lg-10.mx-auto { padding: 20px 16px 8px; }
}
