/* Scoped styles for the OSBS marketing pages (Views/Home/*.cshtml).
   Deliberately kept separate from site.css so the dense admin/catalog/checkout
   UI is unaffected. Palette inspired by acsgroup.co.uk: navy blue, charcoal grey,
   white and light grey. */

.marketing-page {
  --marketing-navy: #17202d;
  --marketing-navy-light: #232f42;
  --marketing-text: #212529;
  --marketing-charcoal: #3a3f45;
  --marketing-charcoal-dark: #24282c;
  --marketing-light-grey: #f1f3f5;
  --marketing-border: rgba(23, 32, 45, 0.08);
  font-size: 1rem;
  color: var(--marketing-text);
}

.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page .section-eyebrow {
  font-family: 'Poppins', 'Inter', sans-serif;
}

.marketing-page h1 {
  font-size: 2.6rem;
  font-weight: 700;
}

.marketing-page h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--marketing-navy);
}

.marketing-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.marketing-page p {
  font-size: 1rem;
  line-height: 1.6;
}

.marketing-page .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--marketing-charcoal);
}

.marketing-page section {
  padding: 4.5rem 0;
}

.marketing-page section.bg-light-grey {
  background-color: var(--marketing-light-grey);
}

/* Home hero. Sections can supply a full-width photo via an inline
   `style="--hero-image: url('...')"` attribute; a dark navy overlay keeps
   the white headline/lead text readable on top of it. */
.marketing-hero {
  --hero-overlay: linear-gradient(120deg, rgba(23, 32, 45, 0.6), rgba(35, 47, 66, 0.5));
  background-color: var(--marketing-navy);
  background-image: var(--hero-overlay), var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.marketing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 55%);
}

.marketing-hero .container {
  position: relative;
  z-index: 1;
}

.marketing-hero .section-eyebrow {
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.marketing-hero h1,
.marketing-hero h2,
.marketing-hero h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.marketing-hero p.lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* Page-header hero used on the individual tab pages. Same optional
   --hero-image background-photo mechanism as .marketing-hero above. */
.marketing-page-hero {
  --hero-overlay: linear-gradient(120deg, rgba(23, 32, 45, 0.6), rgba(35, 47, 66, 0.5));
  background-color: var(--marketing-navy);
  background-image: var(--hero-overlay), var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.marketing-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 55%);
}

.marketing-page-hero .container {
  position: relative;
  z-index: 1;
}

.marketing-page-hero .section-eyebrow {
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.marketing-page-hero h1,
.marketing-page-hero h2,
.marketing-page-hero h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.marketing-page-hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.marketing-page-hero p.lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin-bottom: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.marketing-page-hero .marketing-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.marketing-page-hero .marketing-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.marketing-page-hero .marketing-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Buttons */
.btn-marketing-primary {
  background-color: var(--marketing-charcoal);
  border-color: var(--marketing-charcoal);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 0.35rem;
}

.btn-marketing-primary:hover {
  background-color: var(--marketing-charcoal-dark);
  border-color: var(--marketing-charcoal-dark);
  color: #fff;
}

.btn-marketing-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 0.35rem;
}

.btn-marketing-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* On light backgrounds the outline button needs dark text */
section:not(.marketing-hero):not(.marketing-page-hero):not(.marketing-dark-band) .btn-marketing-outline {
  border-color: var(--marketing-navy);
  color: var(--marketing-navy);
}

section:not(.marketing-hero):not(.marketing-page-hero):not(.marketing-dark-band) .btn-marketing-outline:hover {
  background-color: var(--marketing-navy);
  color: #fff;
}

/* Arrow link, ACS-style ("View impact report ->") */
.marketing-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--marketing-navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--marketing-charcoal);
  padding-bottom: 0.15rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.marketing-arrow-link:hover {
  gap: 0.85rem;
  color: var(--marketing-charcoal-dark);
}

.marketing-arrow-link i {
  color: var(--marketing-charcoal);
}

/* Tab navigation - real links to individual pages (replaces old in-page anchors) */
/* Icon cards (value props, features, capabilities) */
.marketing-icon-card {
  background: #fff;
  border: 1px solid var(--marketing-border);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketing-icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.marketing-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 0.65rem;
  background: rgba(58, 63, 69, 0.1);
  color: var(--marketing-charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.marketing-navy-badge {
  background: rgba(23, 32, 45, 0.08);
  color: var(--marketing-navy);
}

/* Benefit / capability checklists */
.marketing-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.marketing-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.marketing-check-list li i {
  color: var(--marketing-charcoal);
  margin-top: 0.2rem;
}

/* Dark / premium full-width bands (Multi-Site, Final CTA). Same optional
   --hero-image background-photo mechanism as .marketing-hero above. */
.marketing-dark-band {
  --hero-overlay: linear-gradient(120deg, rgba(23, 32, 45, 0.6), rgba(12, 18, 27, 0.5));
  background-color: var(--marketing-navy);
  background-image: var(--hero-overlay), var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.marketing-dark-band h1,
.marketing-dark-band h2,
.marketing-dark-band h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.marketing-dark-band .section-eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.marketing-dark-band .marketing-icon-card {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(2px);
}

.marketing-dark-band .marketing-icon-card h3 {
  color: #fff;
}

.marketing-dark-band .marketing-icon-card p {
  color: rgba(255, 255, 255, 0.8);
}

.marketing-dark-band .marketing-check-list li {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.marketing-dark-band .marketing-icon-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Why choose us grid */
.marketing-why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--marketing-border);
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
  font-weight: 500;
  height: 100%;
}

.marketing-why-item i {
  color: var(--marketing-charcoal);
  font-size: 1.25rem;
}

/* Teaser cards used on the Home overview page, linking out to each tab page */
.marketing-teaser-card {
  background: #fff;
  border: 1px solid var(--marketing-border);
  border-radius: 0.85rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.marketing-teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.marketing-teaser-card p {
  flex-grow: 1;
}

/* Final CTA */
.marketing-final-cta {
  padding: 5rem 0;
  text-align: center;
}

.marketing-final-cta h2 {
  color: #fff;
}

.marketing-final-cta p.lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767.98px) {
  .marketing-page h1 {
    font-size: 1.9rem;
  }

  .marketing-page h2 {
    font-size: 1.5rem;
  }

  .marketing-page section {
    padding: 3rem 0;
  }

  .marketing-page-hero h1 {
    font-size: 1.6rem;
  }
}
