/* ==========================================================================
   custom.css — components added on top of the base template.
   All colors come from the tokens in theme.css, which are sampled from the
   sneaker reference: royal blue, metallic gold, white, midsole cream.
   ========================================================================== */

.section_intro {
  max-width: 760px;
  margin: 0 auto 45px auto;
  text-align: center;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .25rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Template-style button, reusable outside the hero */
.btn_primary,
.tiers_section .tier .tier_btn,
.program_list .row_item .action a {
  display: inline-block;
  padding: 10px 34px;
  background-color: transparent;
  border: 2px solid var(--royal);
  color: var(--royal);
  border-radius: var(--radius);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .08em;
  transition: background-color .3s, color .3s, border-color .3s;
}

.btn_primary:hover,
.tiers_section .tier .tier_btn:hover,
.program_list .row_item .action a:hover {
  background-color: var(--royal);
  border-color: var(--royal);
  color: var(--white);
  text-decoration: none;
}

/* ---------- Program tier cards ---------- */
.tiers_section .tier {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  background-color: var(--panel);
}

.tiers_section .tier .tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--royal);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .15rem;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.tiers_section .tier .tag.is-empty {
  visibility: hidden;
}

.tiers_section .tier h4 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tiers_section .tier .meta {
  font-size: 13px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tiers_section .tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.tiers_section .tier ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.tiers_section .tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  background-color: var(--gold);
}

.tiers_section .tier .tier_btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  letter-spacing: .1rem;
}

.tiers_section .tier.featured {
  border: 2px solid var(--gold);
}

/* ---------- Testimonials (uses the template's contact-section navy) ---------- */
.testimonial_section {
  background-color: var(--royal);
  color: var(--white);
}

.testimonial_section .box {
  height: 100%;
  padding: 35px 30px;
  border: 1px solid rgba(224, 196, 106, .45);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, .06);
}

.testimonial_section .box p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial_section .box .client {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .1rem;
  font-size: 14px;
}

.testimonial_section .box .client span {
  display: block;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- Program list rows ---------- */
.program_list .row_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.program_list .row_item:first-child {
  border-top: 1px solid var(--line);
}

.program_list .row_item .num {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold);
  width: 60px;
  flex-shrink: 0;
}

.program_list .row_item .info {
  flex: 1 1 320px;
  padding-right: 25px;
}

.program_list .row_item .info h4 {
  font-weight: bold;
  margin-bottom: 6px;
}

.program_list .row_item .info p {
  margin: 0;
}

.program_list .row_item .info .duration {
  display: block;
  font-size: 12px;
  letter-spacing: .15rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.program_list .row_item .action a {
  font-size: 13px;
  letter-spacing: .1rem;
  margin-top: 10px;
}

/* ---------- Steps / method ---------- */
.steps_section .step {
  padding: 30px 25px;
  height: 100%;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps_section .step .num {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 15px;
}

.steps_section .step h5 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.steps_section .step p {
  margin: 0;
}

/* ---------- Coach bio ---------- */
.bio_section .img-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bio_section .img-box img {
  width: 100%;
}

.bio_section .detail-box h3 {
  font-weight: bold;
  text-transform: uppercase;
}

.bio_section .detail-box .role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .15rem;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bio_section .credentials {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.bio_section .credentials li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.bio_section .credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  background-color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq_section .faq_item {
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.faq_section .faq_item h5 {
  font-weight: bold;
  margin-bottom: 8px;
}

.faq_section .faq_item p {
  margin: 0;
}

/* ---------- Sections on the plain white body ---------- */
.programs_section,
.faq_section,
.bio_section {
  background-color: var(--panel);
  color: var(--ink);
}

.tiers_section,
.steps_section {
  background-color: var(--offwhite);
  color: var(--ink);
}

.tiers_section .tier,
.steps_section .step {
  background-color: var(--white);
}

.heathy_section .detail-box p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Compatibility, no color change ----------
   The template sets background-attachment: fixed on the image sections.
   iOS Safari ignores it and can leave white text over a blank area, so the
   parallax (only the parallax) is switched off on touch and small screens. */
@media (max-width: 992px), (hover: none) {
  .hero_area,
  .us_section,
  .heathy_section,
  .trainer_section {
    background-attachment: scroll;
  }
}

.slider_section .detail-box a {
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .program_list .row_item .num {
    width: 40px;
  }
}

/* ---------- Footer link column ---------- */
.footer_links {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer_links li {
  margin: 0 14px 8px 14px;
}

.footer_links a {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer_links a:hover {
  color: var(--royal);
  text-decoration: none;
}

.placeholder_note {
  background-color: rgba(33, 64, 154, .06);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius);
}
