/* Page-specific styling for /solutions/training-phishing/ */

/* Hero background image for this page */
.hero--bg {
  background-image: url("../assets/img/man-in-office-trans.jpg");
  background-position: left center; /* keep subject left, copy on right */
}

.brand__logo {
  max-width: 100%;
}

.hero__copy {
  max-width: 460px;
  margin-left: auto; /* pushes copy to right */
}
.hero__copy h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero__copy .lead {
  font-size: 32px;
  line-height: 1.45;
  max-width: 420px;
  font-weight: 500;
}

.value-cta-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.value-cta{
  display: flex;
  justify-content: flex-end;
}

.value-cta .lp-cta-box{
  --cta-box-max-width: 580px;
  width: 100%;
}

.value-copy h2{
  max-width: 560px;
}

.value-copy p{
  max-width: 540px;
  font-size: 22px;
}

.video-section {
  background: rgba(0, 70, 115, 0.5);
}

.lp-cta-box {
  --cta-accent: #004673;
  --cta-accent-dark: #00000c;
  --cta-accent-soft: rgba(0, 70, 115, 0.1);
  --cta-focus: rgba(51, 155, 207, 0.32);
  --cta-ink: #15191d;
  --cta-text: #2c3844;
  --cta-muted: #657380;
  --cta-surface: #ffffff;
  --cta-border: rgba(21, 25, 29, 0.14);
  --cta-shadow: rgba(16, 24, 32, 0.16);
  width: 100%;
  max-width: var(--cta-box-max-width, 520px);
  color: var(--cta-text);
}

.lp-cta-box--digiguard {
  --cta-accent: #004673;
  --cta-accent-dark: #00000c;
  --cta-accent-soft: rgba(0, 70, 115, 0.1);
  --cta-surface: #f3f8fb;
  --cta-focus: rgba(51, 155, 207, 0.32);
}

.lp-cta-box--dark {
  --cta-frame-highlight: rgba(255, 255, 255, 0.24);
  --cta-frame-shadow: rgba(0, 0, 0, 0.22);
  --cta-ink: #ffffff;
  --cta-text: rgba(255, 255, 255, 0.9);
  --cta-muted: rgba(255, 255, 255, 0.78);
  --cta-border: rgba(255, 255, 255, 0.2);
  --cta-shadow: rgba(16, 24, 32, 0.28);
}

.lp-cta-box__inner {
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(135deg, var(--cta-accent-soft), rgba(255, 255, 255, 0) 56%),
    var(--cta-surface);
  border: 1px solid var(--cta-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px var(--cta-shadow);
}

.lp-cta-box--dark .lp-cta-box__inner {
  background:
    linear-gradient(145deg, var(--cta-frame-highlight), transparent 26%),
    linear-gradient(315deg, var(--cta-frame-shadow), transparent 30%),
    linear-gradient(135deg, var(--cta-accent), var(--cta-accent-dark));
  box-shadow:
    0 18px 42px var(--cta-shadow),
    inset 0 1px 0 var(--cta-frame-highlight),
    inset 0 -1px 0 var(--cta-frame-shadow);
}

.lp-cta-box__eyebrow {
  margin: 0 0 10px;
  color: var(--cta-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lp-cta-box--dark .lp-cta-box__eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.lp-cta-box__title {
  margin: 0;
  color: var(--cta-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.lp-cta-box__text {
  margin: 12px 0 0;
  color: var(--cta-muted);
  font-size: 18px;
  line-height: 1.48;
}

.lp-cta-box__subhead {
  margin: 20px 0 0;
  color: var(--cta-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.lp-cta-box__actions .lp-cta-box__subhead {
  margin-top: 0;
}

.lp-cta-box__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin-top: 20px;
}

.lp-cta-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  color: #ffffff;
  background: var(--cta-accent);
  border: 2px solid var(--cta-accent);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lp-cta-box__button:hover {
  background: var(--cta-accent-dark);
  border-color: var(--cta-accent-dark);
  transform: translateY(-1px);
}

.lp-cta-box__button:focus-visible {
  outline: 4px solid var(--cta-focus);
  outline-offset: 3px;
}

.lp-cta-box__button--secondary {
  color: var(--cta-accent);
  background: #ffffff;
}

.lp-cta-box__button--phone {
  margin-bottom: 8px;
}

.lp-cta-box--dark .lp-cta-box__button {
  color: var(--cta-accent-dark);
  background: #ffffff;
  border-color: #ffffff;
}

.lp-cta-box--dark .lp-cta-box__button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

.lp-cta-box--dark .lp-cta-box__button--secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.76);
}

.lp-cta-box__button--secondary:hover {
  color: #ffffff;
  background: var(--cta-accent-dark);
  border-color: var(--cta-accent-dark);
}

.lp-cta-box__note {
  margin: 2px 0 0;
  color: var(--cta-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.call-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.call-modal.is-open {
  display: flex;
}

.call-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.72);
}

.call-modal__panel {
  position: relative;
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 48px);
  color: #15191d;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.call-modal__eyebrow {
  margin: 0 0 10px;
  color: #004673;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.call-modal__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.05;
}

.call-modal__vanity {
  margin: 26px 0 0;
  color: #004673;
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 900;
  line-height: 0.95;
}

.call-modal__number {
  margin: 12px 0 0;
  color: #15191d;
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.call-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 11px 22px;
  color: #ffffff;
  background: #004673;
  border: 2px solid #004673;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.call-modal__close:focus-visible {
  outline: 4px solid rgba(51, 155, 207, 0.32);
  outline-offset: 3px;
}

/* BENEFITS: anchor for overlapping image */
.benefits {
  position: relative;
  overflow: visible;
}

/* Anchor absolute positioning to the container */
.benefits__inner {
  position: relative;
}

/* Reserve a right-side lane WITHOUT shifting the container */
.benefits__content {
  max-width: calc(100% - 400px); /* match image width */
}

/* Woman image pinned bottom-right of the gray section */
.benefits__image {
  position: absolute;
  right: 100px;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.benefits__image img {
  display: block;
  width: 300px;
  height: auto;

  transform: translateY(130px); /* overlap into section above */
}

/* If the image overlaps the section above in a bad way */
.features {
  position: relative;
  z-index: 3;
}
.features h2 {
  margin-bottom: 48px;
}

/* Mobile: disable overlap and put image in normal flow */
@media (max-width: 900px) {
  .brand__logo {
    width: min(100%, 360px);
    height: auto;
  }

  .hero--bg {
    min-height: 500px;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)),
      url("../assets/img/man-in-office-trans.jpg");
    background-position: 38% top;
  }

  .hero__copy {
    margin-left: 0;
  }

  .hero__copy h1 {
    max-width: 360px;
    font-size: 40px;
  }

  .hero__copy .lead {
    max-width: 340px;
    font-size: 24px;
  }

  .stat {
    gap: 12px;
  }

  .stat__value {
    font-size: 48px;
  }

  .stat__label {
    font-size: 19px;
  }

  .checks {
    margin-left: 20px;
  }

  .checks li {
    font-size: 19px;
  }

  .benefits__content {
    max-width: 100%;
  }

  .benefits__image {
    position: static;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    pointer-events: auto;
  }

  .benefits__image img {
    width: 260px;
    transform: translateY(44px);
  }
  
  .value-cta{
    justify-content: flex-start;
  }

  .value-cta-grid{
    grid-template-columns: 1fr;
  }
}
