/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #1a1b1f;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }
p { margin-top: 0; }
a { color: inherit; background-color: transparent; }
a:hover, a:active { outline: 0; }
img { border: 0; max-width: 100%; display: block; }
button, input, select, textarea { color: inherit; font: inherit; margin: 0; }
textarea { overflow: auto; }
button { overflow: visible; cursor: pointer; }

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --steel-blue: #1989ce;
  --orange: #f90;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.container.max-w-700 {
  max-width: 700px;
}

/* ============================================================
   NAVIGATION
============================================================ */
.navigation {
  background-color: #fff;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 0 20px -9px rgba(0, 0, 0, 0.75);
}

.navigation-wrap {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.logo-link { z-index: 1; text-decoration: none; transition: opacity 0.3s; }
.logo-link:hover { opacity: 0.8; }
.logo-link:active { opacity: 0.7; }
.logo-image { width: 140px; display: block; }

.nav-right { display: flex; align-items: center; }

.navigation-items {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-item {
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s, color 0.3s;
}

.navigation-item:hover { opacity: 0.9; color: var(--steel-blue); }
.navigation-item:active { opacity: 0.8; }

.btn-nav-login {
  background-color: var(--steel-blue);
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 10px 20px;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  margin-left: 12px;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-nav-login:hover { background-color: var(--orange); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  line-height: 0;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  background-color: #1a1b1f;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   BUTTONS
============================================================ */
.button {
  background-color: var(--steel-blue);
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  align-self: flex-start;
  padding: 12px 25px;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}

.button:hover { color: #fff; background-color: var(--orange); }
.button:active { background-color: var(--orange); }

.button.cc-jumbo-button { padding: 16px 35px; font-size: 14px; line-height: 26px; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.heading-jumbo {
  font-size: 64px;
  line-height: 80px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.heading-jumbo-small {
  font-size: 36px;
  font-weight: 400;
  line-height: 50px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.heading-jumbo-small.center { text-align: center; }

.section-heading {
  font-size: 2rem;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 20px;
}

.section-heading.centered { text-align: center; }

.paragraph-bigger {
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  margin-bottom: 10px;
}

.paragraph-bigger.orange { color: var(--orange); }

.paragraph-light { opacity: 0.6; }

.label {
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.label.cc-light { color: var(--orange); }
.label.text-center, .label.center { text-align: center; }

.blue { color: var(--steel-blue); }

/* ============================================================
   SECTIONS
============================================================ */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
}

.section.cc-store-home-wrap {
  padding: 0;
  align-items: center;
}

.section.footer {
  border-top: 1px solid var(--steel-blue);
  flex: none;
  padding: 0 16px;
}

/* ============================================================
   HERO
============================================================ */
.intro-header {
  color: #fff;
  background-color: #333;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/Picture4.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.intro-content-homepage {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70%;
  max-width: 1140px;
  padding: 64px 0;
}

.intro-text {
  width: 80%;
  margin-bottom: 35px;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

/* ============================================================
   TESTIMONIAL SLIDER
============================================================ */
.slider-wrap {
  width: 100%;
  max-width: 860px;
  margin-top: 16px;
}

.slider-track {
  position: relative;
  min-height: 80px;
}

.slide {
  display: none;
  justify-content: center;
  text-align: center;
}

.slide.active { display: flex; }

.constrained-quote {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.7;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

.slider-dot.active { background-color: #fff; }

/* ============================================================
   HOME CONTENT
============================================================ */
.home-content-wrap { margin-top: 80px; }
.home-section-wrap { margin-bottom: 30px; }

/* Two-column about grids */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 80px;
  row-gap: 30px;
  align-items: center;
  margin-bottom: 80px;
}

/* "Big 3" grid — text left, image right */
.about-grid.text-left-img-right {
  grid-template-columns: 1fr 1fr;
}

/* Coach grid — image left, text right */
.about-grid.img-left-text-right {
  grid-template-columns: 1fr 2fr;
}

.about-grid.img-left-text-right .coach-img-col { grid-column: 1; }
.about-grid.img-left-text-right .coach-text-col { grid-column: 2; }

/* About section 2 — text right, img left (grid order) */
.about-grid.cc-about-2 {
  grid-template-columns: 2fr 1fr;
}

/* img placed first visually in about-2 */
.about-grid.cc-about-2 .about-img { order: -1; }

.sbs-image { width: 100%; height: auto; }

/* ============================================================
   MOTTO
============================================================ */
.motto-wrap {
  text-align: center;
  width: 80%;
  margin: 0 auto 85px auto;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.cards-section { margin-bottom: 60px; width: 100%; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 85px;
}

.card-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
}

.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 52px;
  margin-bottom: 12px;
}

.card-icon svg { height: 50px; width: auto; }

.business-article-heading {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.rich-text-block { opacity: 0.6; font-size: 15px; }

/* ============================================================
   PRICING
============================================================ */
.blog-heading { text-align: center; margin-bottom: 40px; }

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  width: 100%;
}

.pricing-card {
  border: 1px solid rgba(25, 137, 206, 0.3);
  padding: 40px 32px;
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}

.pricing-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--steel-blue);
  margin: 16px 0 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
  width: 100%;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  opacity: 0.75;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--steel-blue);
  font-weight: 700;
  opacity: 1;
}

/* ============================================================
   FAQ ACCORDION
============================================================ */
.faq-list { width: 100%; margin-top: 16px; }

.accordian-container { margin-bottom: 4px; }

.accordian-trigger {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid #1a1b1f;
  align-items: center;
  padding: 12px 0;
  user-select: none;
}

.accordian-trigger:focus-visible { outline: 2px solid var(--steel-blue); outline-offset: 2px; }

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #1a1b1f;
}

.accordian-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.heading-s {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.4;
}

.accordian-content-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.accordian-padding {
  padding: 16px 24px;
  opacity: 0.7;
  font-size: 15px;
}

/* ============================================================
   CONTACT FORM
============================================================ */
.form-block {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.w-input, .w-textarea {
  display: block;
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  background-color: #fafafa;
  transition: border-color 0.3s;
}

.w-input:focus, .w-textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
  background-color: #fff;
}

.w-textarea { min-height: 160px; resize: vertical; }

.form-feedback {
  display: none;
  padding: 14px 18px;
  margin-top: 12px;
  font-size: 14px;
  border-radius: 0;
}

.form-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================================
   FOOTER
============================================================ */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0;
  font-size: 14px;
  opacity: 0.7;
  text-align: center;
}

.footer-links { display: flex; gap: 20px; }

.footer-link {
  opacity: 0.7;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover { opacity: 1; }

/* ============================================================
   RESPONSIVE — tablet (≤ 991px)
============================================================ */
@media screen and (max-width: 991px) {
  .heading-jumbo { font-size: 56px; line-height: 70px; }

  /* Show hamburger, hide inline nav items */
  .menu-toggle { display: block; }

  .navigation-items {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    padding: 8px 0 16px;
    z-index: 300;
  }

  .navigation-items.open { display: flex; }

  .navigation-item {
    text-align: center;
    padding: 13px 30px;
    font-size: 14px;
    transition: background-color 0.3s;
  }

  .navigation-item:hover { background-color: #f7f8f9; }

  .btn-nav-login {
    align-self: center;
    margin: 8px 30px 0;
    text-align: center;
  }

  .navigation-wrap { position: relative; }

  /* Stack about grids */
  .about-grid,
  .about-grid.cc-about-2,
  .about-grid.text-left-img-right,
  .about-grid.img-left-text-right {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-grid.cc-about-2 .about-img { order: 0; }
  .about-grid.img-left-text-right .coach-img-col { grid-column: auto; }
  .about-grid.img-left-text-right .coach-text-col { grid-column: auto; }

  .button { align-self: center; }

  /* Stack how-it-works to 2 cols */
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — mobile (≤ 767px)
============================================================ */
@media screen and (max-width: 767px) {
  .heading-jumbo { font-size: 46px; line-height: 58px; }
  .heading-jumbo-small { font-size: 28px; line-height: 42px; }
  .intro-content-homepage { width: 90%; }
  .hero-cta-grid { grid-template-columns: 1fr; }
  .name-row { grid-template-columns: 1fr; }
  .container { text-align: center; }
  .form-block { text-align: left; }
  .motto-wrap { width: 95%; }
}

/* ============================================================
   RESPONSIVE — small mobile (≤ 479px)
============================================================ */
@media screen and (max-width: 479px) {
  .heading-jumbo { font-size: 34px; line-height: 46px; }
  .heading-jumbo-small { font-size: 22px; line-height: 34px; }
  .section-heading { font-size: 26px; }
  .business-article-heading { font-size: 17px; }
  .steps-grid { grid-template-columns: 1fr; }
}
