/*------------------------------------------------
  Simon Pollard Coaching
  Site-specific styles for Simon Pollard Coaching
------------------------------------------------*/

/*------------------------------------------------
  1. VARIABLES
------------------------------------------------*/
:root {
  --font-global: "Red Hat Text", Arial, sans-serif;
  --font-global-alt: "Red Hat Text", Arial, sans-serif;
  --coaching-accent: #c46a3a;
  --coaching-background: #1e3544;
  --coaching-dark-overlay: rgba(18, 21, 24, 0.82);
  --coaching-white-soft: rgba(255, 255, 255, 0.9);
}

/*------------------------------------------------
  2. TYPOGRAPHY
------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6,
.hs-line-1,
.hs-line-2,
.hs-line-5,
.hs-line-7,
.section-title,
.lead-alt {
  font-family: "Montserrat", Georgia, serif;
  font-weight: 100;
}

.bg-dark-lighter p,
#my-connection p,
#what-happened-next p,
#early-supporters p,
#register-interest p {
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.text-highlight {
  color: var(--coaching-accent) !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.bm-highlight {
  color: var(--coaching-accent) !important;
  font-weight: 500 !important;
}

.bm-highlight-bold {
  color: var(--coaching-accent) !important;
  font-weight: bold !important;
}

/*------------------------------------------------
  3. SHARED UTILITIES
------------------------------------------------*/
.bg-image-sp {
  position: relative;
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
}

.bm-section {
  padding: 100px 0;
}

.bm-section h2,
.bm-section h3,
.bm-section h4 {
  max-width: 900px;
  margin: 0 auto 32px auto;
  text-align: center;
  line-height: 1.2;
}

.bm-copy {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.bm-copy p {
  margin-bottom: 1.2rem;
}

.bm-form-intro {
  max-width: 720px;
  margin: 0 auto 32px auto;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.75;
}

/*------------------------------------------------
  10. HEADER / NAVIGATION
------------------------------------------------*/
.bm-header {
  position: relative;
}

.bm-header .container {
  position: relative;
}

.bm-header .header-menu {
  display: none;
}

.bm-header .header-menu-extra {
  display: none;
}

.bm-header .header-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  z-index: 1101;
}

.bm-header.menu-open .header-menu {
  display: block;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 0;
  background: rgba(18, 21, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
}

.bm-header.menu-open .header-menu .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-header.menu-open .header-menu .nav-item {
  margin: 0;
}

.bm-header.menu-open .header-menu .nav-link {
  display: block;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
}

.bm-header.menu-open .header-menu .nav-link:hover,
.bm-header.menu-open .header-menu .nav-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.bm-header.menu-open .header-menu .nav-item + .nav-item .nav-link {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Coaching header override for Mono */
.header.header-color-coaching {
  background: rgba(30, 53, 68, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header.header-color-coaching.sticky,
.header.header-color-coaching.sticky-autohide {
  background: rgba(30, 53, 68, 0.94);
  -webkit-box-shadow: 0 8px 30px rgba(8, 18, 26, 0.22);
  box-shadow: 0 8px 30px rgba(8, 18, 26, 0.22);
}

/* Keep the inner wrapper transparent */
.header.header-color-coaching .container,
.header.header-color-coaching .container-fluid {
  background: transparent;
}

/* Slightly soften the nav underline/hover bar if you re-enable the menu */
@media (min-width: 992px) {
  .header.header-color-coaching .header-menu .nav .nav-item .nav-link:before {
    background: rgba(255, 255, 255, 0.14);
  }
}

/* Optional, keeps dropdowns feeling less stark if you use them later */
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown {
  background: #243d4d;
}

.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h1,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h2,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h3,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h4,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h5,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown h6,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]) {
  color: rgba(255, 255, 255, 0.85);
}

.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]):hover,
.header.header-color-coaching .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]):focus {
  color: white;
}

/*------------------------------------------------
  DIVIDER
------------------------------------------------*/

.bm-divider {
  padding: 6rem 0 5rem;
  text-align: center;
}

.bm-divider .container {
  max-width: 1100px;
}

.bm-divider-text {
  margin: 0 auto;
  max-width: 26ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--coaching-accent);
}

.bm-divider-text-bold {
  margin: 0 auto;
  max-width: 26ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 3.2vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--coaching-accent);
}

.bm-divider-dark {
  background-color: var(--coaching-background);
}

.bm-divider-accent .bm-divider-text {
  color: #c46a3a;
}

/* Slightly narrower and calmer on mobile */
@media (max-width: 767.98px) {
  .bm-divider {
    padding: 3.5rem 0;
  }

  .bm-divider-text {
    margin: 0 auto;
    max-width: 24ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 6.2vw, 2.6rem);
    line-height: 1.08;
    max-width: 20ch;
    letter-spacing: 0;
    color: var(--coaching-accent);
  }
}

/*------------------------------------------------
  4. HERO
------------------------------------------------*/
#hero .position-middle {
  z-index: 2;
}

/*------------------------------------------------
  5. RECOGNITION / GENERIC IMAGE-TEXT SECTIONS
------------------------------------------------*/
#recognise img,
#my-connection img,
#what-happened-next img,
#early-supporters img {
  display: block;
  width: 100%;
  height: auto;
}

/*------------------------------------------------
  6. MY CONNECTION
------------------------------------------------*/
#my-connection {
  position: relative;
  overflow: hidden;
}

#my-connection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coaching-dark-overlay);
  z-index: 0;
}

#my-connection .container {
  position: relative;
  z-index: 1;
}

#my-connection,
#my-connection p,
#my-connection li,
#my-connection strong,
#my-connection em {
  color: var(--coaching-white-soft);
}

#my-connection h1,
#my-connection h2,
#my-connection h3,
#my-connection h4,
#my-connection h5,
#my-connection h6,
#my-connection .section-title {
  color: #ffffff;
}

#my-connection .bm-copy {
  max-width: none;
  font-size: 1.12rem;
  line-height: 1.9;
}

#my-connection .bm-image-col img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
}

#my-connection .bm-text-col {
  display: block;
}

.my-connection-image-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.my-connection-image-primary,
.my-connection-image-secondary {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.my-connection-image-primary {
  max-width: 320px;
}

.my-connection-image-secondary {
  max-width: 320px;
}

@media (max-width: 991.98px) {
  .my-connection-image-stack {
    gap: 30px;
  }

  .my-connection-image-primary,
  .my-connection-image-secondary {
    max-width: 100%;
  }
}

/*------------------------------------------------
  EARLY SUPPORTERS
------------------------------------------------*/
#early-supporters {
  position: relative;
  overflow: hidden;
}

#early-supporters::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 24, 0.58);
  z-index: 0;
  pointer-events: none;
}

#early-supporters .container {
  position: relative;
  z-index: 1;
}

#early-supporters,
#early-supporters p,
#early-supporters li,
#early-supporters strong,
#early-supporters em {
  color: var(--coaching-white-soft);
}

#early-supporters h1,
#early-supporters h2,
#early-supporters h3,
#early-supporters h4,
#early-supporters h5,
#early-supporters h6,
#early-supporters .section-title {
  color: #ffffff;
}

#early-supporters a,
#early-supporters .bm-highlight,
#early-supporters .text-highlight {
  color: var(--coaching-accent) !important;
}

#early-supporters img {
  position: relative;
  z-index: 1;
}

/*------------------------------------------------
  REGISTER INTEREST
------------------------------------------------*/

#register-interest p {
  color: #000000;
}

.register-interest {
  min-height: auto !important;
  height: auto !important;
  padding: 90px 20px 80px !important;
  display: block !important;
}

.register-interest-wrap {
  max-width: 1100px;
  margin: 0 auto 2rem auto;
}

.register-interest .ml-embedded {
  max-width: 620px;
  margin: 0 auto;
}

.register-interest .ml-form-embedContainer,
.register-interest .ml-form-align-center,
.register-interest .ml-form-embedWrapper {
  height: auto !important;
}

.register-interest .ml-form-embedContainer {
  width: 100% !important;
}

.register-interest .ml-form-embedWrapper.embedForm {
  max-width: 620px !important;
  width: 100% !important;
  margin: 0 auto;
}

.register-interest .ml-form-embedHeader img {
  width: 100% !important;
  height: auto !important;
}

.register-interest .bm-form-intro {
  max-width: 760px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.register-interest .bm-form-note {
  max-width: 760px;
  margin: 1.25rem auto 0 auto;
  text-align: center;
  color: rgba(18, 21, 24, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .register-interest {
    padding: 60px 20px !important;
  }

  .register-interest .ml-embedded,
  .register-interest .ml-form-embedWrapper.embedForm {
    max-width: 100% !important;
  }

  .register-interest .bm-form-intro,
  .register-interest .bm-form-note {
    max-width: 100%;
  }
}

.register-interest .ml-form-embedWrapper.embedForm {
  max-width: 620px !important;
  width: 100% !important;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(18, 21, 24, 0.08);
}

/*------------------------------------------------
REGISTER INTEREST SUCCESS
------------------------------------------------*/

.success-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.success-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  color: #ffffff;
}

.success-content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: #ffffff;
}

.success-lead,
.success-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.success-lead {
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: rgba(255, 255, 255, 0.88);
}

.success-sub {
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: #ffffff;
}

.success-lead p,
.success-sub p {
  margin: 0;
}

/*------------------------------------------------
  8. BUTTONS
------------------------------------------------*/
.button.button-hero,
.button-hero {
  background: rgba(18, 21, 24, 0.32);
  border: 1px solid var(--coaching-accent);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px 0 rgba(10, 12, 14, 0.16);
  text-align: center;
  transition: ease-out 0.16s;
}

.button.button-hero:hover,
.button.button-hero:focus,
.button-hero:hover,
.button-hero:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--coaching-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px 0 rgba(10, 12, 14, 0.22);
}

.button.button-hero:active,
.button-hero:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px 0 rgba(10, 12, 14, 0.18);
}

.button.button-hero.button-radius,
.button-hero.button-radius {
  border-radius: 0.5em;
}

.button.button-hero.button-rounded,
.button-hero.button-rounded {
  border-radius: 50px;
}

.button.button-hero.button-border-2,
.button-hero.button-border-2 {
  border-width: 2px;
}

/*------------------------------------------------
  9. RESPONSIVE
------------------------------------------------*/
@media (max-width: 991.98px) {
  .bm-section {
    padding: 80px 0;
  }

  .bm-copy {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.8;
  }

  .bm-section h2,
  .bm-section h3,
  .bm-section h4 {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .button.button-hero,
  .button-hero {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .bm-copy {
    font-size: 0.98rem;
    line-height: 1.75;
  }
}

.success-button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.success-button:hover,
.success-button:focus {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}
