/* ==========================================================================
   public-modern.css — modernization layer for the public marketing pages.
   Loads AFTER style-new.css and overrides it; brand tokens stay the same
   (orange #f79e12, Oswald headings, Open Sans body).
   ========================================================================== */

:root {
  --primary-color: #f79e12;
  --primary-dark: #d9820a;
  --ink: #1d2129;
  --ink-soft: #4b5563;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 24px 48px rgba(16, 24, 40, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Buttons: rebrand Bootstrap's blue outline to the site orange -------- */

.btn {
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition);
}

.btn-outline-primary,
.btn-outline-primary:visited {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.06em;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: linear-gradient(135deg, #ffb02e, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-primary:active {
  transform: translateY(0);
}

.navbar .btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-weight: 600;
}
.navbar .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(247, 158, 18, 0.55);
  outline-offset: 2px;
}

/* ---- Navbar --------------------------------------------------------------- */

.navbar {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
/* Inner pages render the nav inside the orange page-title band */
.orange__header .navbar {
  background: transparent;
  box-shadow: none;
}
.orange__header .nav-link {
  color: #fff !important;
}
.nav-link {
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  transition: color var(--transition);
}
.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ---- Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(120px, 18vw, 200px) 0;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(10, 12, 18, 0.82) 0%,
    rgba(10, 12, 18, 0.55) 55%,
    rgba(10, 12, 18, 0.25) 100%
  );
}
.hero__h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero__h4 {
  display: inline-block;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  padding: 0.35em 0.75em;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

/* ---- Section rhythm & titles ----------------------------------------------- */

section {
  scroll-margin-top: 90px;
}
.about,
.tactics,
.options {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}
.tactics .section-subtitle {
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  color: var(--ink-soft);
}
.about__h3 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.about p {
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ---- About video ------------------------------------------------------------ */

.about__video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__video .embed-responsive {
  border-radius: var(--radius);
}

/* ---- Tactics list ------------------------------------------------------------ */

.tactics {
  background: var(--surface-alt);
}
.tactics ul {
  list-style: none;
  padding-left: 0.5rem;
}
.tactics li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.6rem;
}
.tactics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7em;
  height: 0.7em;
  background: var(--primary-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---- Coaching banner --------------------------------------------------------- */

.real-life-coaching {
  padding: clamp(90px, 14vw, 160px) 0;
}
.real-life-coaching::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.55)
  );
}

/* ---- Membership cards ---------------------------------------------------------- */

.level {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 1.5rem;
}
.level:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.level__header {
  height: 110px;
  padding-top: 28px;
}
.level__header::before {
  background: linear-gradient(
    135deg,
    rgba(29, 33, 41, 0.85),
    rgba(29, 33, 41, 0.55)
  );
}
.level2 .level__header::before {
  background: linear-gradient(
    135deg,
    rgba(217, 130, 10, 0.9),
    rgba(247, 158, 18, 0.65)
  );
}
.level__body {
  padding: 1.75rem 1.5rem 2rem;
}
.level__body p {
  color: var(--ink-soft);
  min-height: 3.2em;
}

/* ---- Footer ---------------------------------------------------------------------- */

#footer {
  background: var(--ink);
  color: #cbd2dc;
  margin-top: 0;
}
#footer a {
  color: #cbd2dc;
  transition: color var(--transition);
}
#footer a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
#footer nav[aria-label="Social media"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
#footer nav[aria-label="Social media"] a:hover {
  border-color: var(--primary-color);
}

/* ---- Motion preferences ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .level,
  .nav-link,
  #footer a {
    transition: none;
  }
  .btn-outline-primary:hover,
  .level:hover {
    transform: none;
  }
}
