/* ============================================================
   AnyBikeRepair — Light Ride Style
   Palette: Cream White #FAF6F0 · Race Orange #E8722E
            Light Apricot #F5D9C2 · Deep Charcoal #2A2420
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2420;
  background-color: #FAF6F0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #E8722E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #B9530F;
}

ul {
  list-style: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-page .container {
  max-width: 1160px;
}

/* ---------- Chain Nav ---------- */

.home-page .chain-nav,
.chain-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FAF6F0;
  border-bottom: 3px solid #E8722E;
}

.chain-nav.scrolled {
  box-shadow: 0 4px 12px #2A2420;
}

.chain-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.chain-nav .brand-link {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: #2A2420;
}

.chain-nav .brand-link:hover {
  color: #E8722E;
}

.chain-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.chain-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #2A2420;
  padding: 6px 2px;
  position: relative;
}

.chain-nav .nav-link .chain-dot {
  width: 14px;
  height: 14px;
  position: relative;
  flex: none;
}

.chain-nav .nav-link .chain-dot::before,
.chain-nav .nav-link .chain-dot::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #E8722E;
  border-radius: 50%;
  background-color: #FAF6F0;
}

.chain-nav .nav-link .chain-dot::before {
  top: 1px;
  left: 0;
}

.chain-nav .nav-link .chain-dot::after {
  top: 1px;
  right: 0;
  left: 6px;
}

.chain-nav .nav-link:hover {
  color: #E8722E;
}

.chain-nav .nav-link.active {
  box-shadow: inset 0 -4px 0 0 #E8722E;
}

.chain-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.chain-nav .nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: #2A2420;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .chain-nav .nav-toggle {
    display: block;
  }

  .chain-nav .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: #FAF6F0;
    border-bottom: 3px solid #E8722E;
    display: none;
    padding: 8px 24px 18px;
  }

  .chain-nav .nav-links.open {
    display: flex;
  }

  .chain-nav .nav-link {
    padding: 12px 2px;
    width: 100%;
  }

  .chain-nav .nav-link.active {
    box-shadow: none;
    color: #E8722E;
  }
}

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

.spoke-hero {
  background-color: #FAF6F0;
  border-bottom: 3px solid #E8722E;
  padding: 76px 0 88px;
}

.spoke-hero .hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.spoke-hero .hero-content {
  max-width: 620px;
}

.spoke-hero .eyebrow-chip {
  display: inline-block;
  background-color: #E8722E;
  color: #2A2420;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.spoke-hero .hero-title {
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.spoke-hero .hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: #2A2420;
  margin-bottom: 34px;
  max-width: 560px;
}

.spoke-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background-color: #E8722E;
  color: #2A2420;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid #E8722E;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #D95F1C;
  border-color: #D95F1C;
  color: #FAF6F0;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #2A2420;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid #2A2420;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background-color: #2A2420;
  color: #FAF6F0;
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-block;
  background-color: #2A2420;
  color: #FAF6F0;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 2px solid #2A2420;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-dark:hover {
  background-color: #FAF6F0;
  color: #2A2420;
  transform: translateY(-2px);
}

/* ---------- Spoke Wheel Graphic ---------- */

.spoke-hero .wheel-graphic {
  flex: none;
  width: 280px;
  height: 280px;
  position: relative;
}

.wheel-graphic .wheel-rim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border: 10px solid #E8722E;
  border-radius: 50%;
}

.wheel-graphic .wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-color: #2A2420;
  border-radius: 50%;
  z-index: 2;
}

.wheel-graphic .wheel-spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 3px;
  background-color: #2A2420;
  transform-origin: 0 50%;
  z-index: 1;
}

.wheel-graphic .wheel-spoke.one {
  transform: rotate(0deg);
}

.wheel-graphic .wheel-spoke.two {
  transform: rotate(72deg);
}

.wheel-graphic .wheel-spoke.three {
  transform: rotate(144deg);
}

.wheel-graphic .wheel-spoke.four {
  transform: rotate(216deg);
}

.wheel-graphic .wheel-spoke.five {
  transform: rotate(288deg);
}

.wheel-graphic .tire-arc {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 16px;
  border: 5px solid #2A2420;
  border-bottom: none;
  border-top: none;
  border-radius: 0 0 60px 60px;
  z-index: 3;
}

@media (max-width: 900px) {
  .spoke-hero .hero-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .spoke-hero .wheel-graphic {
    width: 240px;
    height: 240px;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .spoke-hero {
    padding: 56px 0 64px;
  }

  .spoke-hero .hero-title {
    font-size: 40px;
  }
}

/* ---------- Section Shell ---------- */

.home-section {
  padding: 84px 0;
}

.home-section .section-heading {
  font-size: 38px;
  font-weight: 800;
  color: #2A2420;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.home-section .section-lead {
  font-size: 17px;
  color: #2A2420;
  max-width: 720px;
  margin-bottom: 44px;
}

/* ---------- Ride Rows ---------- */

.ride-rows {
  background-color: #FAF6F0;
}

.ride-rows .ride-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 34px 0;
  border-top: 2px solid #E8722E;
}

.ride-rows .ride-row:last-child {
  border-bottom: 2px solid #E8722E;
}

.ride-row .chain-marker {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 8px;
}

.ride-row .chain-marker::before,
.ride-row .chain-marker::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #E8722E;
  border-radius: 50%;
  background-color: #FAF6F0;
}

.ride-row .chain-marker::before {
  top: 1px;
  left: 0;
}

.ride-row .chain-marker::after {
  top: 1px;
  left: 8px;
}

.ride-row .ride-text {
  flex: 1;
}

.ride-row .ride-title {
  font-size: 23px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 8px;
}

.ride-row .ride-copy {
  font-size: 16.5px;
  color: #2A2420;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .ride-rows .ride-row {
    gap: 18px;
    padding: 26px 0;
  }
}

/* ---------- Gear Strip ---------- */

.gear-strip {
  background-color: #F5D9C2;
  padding: 60px 0;
}

.gear-strip .gear-inner {
  display: flex;
  align-items: stretch;
}

.gear-strip .gear-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-left: 2px solid #E8722E;
}

.gear-strip .gear-item:first-child {
  border-left: none;
}

.gear-strip .gear-num {
  font-size: 46px;
  font-weight: 800;
  color: #E8722E;
  line-height: 1.1;
  margin-bottom: 6px;
}

.gear-strip .gear-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2A2420;
}

@media (max-width: 760px) {
  .gear-strip .gear-inner {
    flex-direction: column;
    gap: 30px;
  }

  .gear-strip .gear-item {
    border-left: none;
    border-top: 2px solid #E8722E;
    padding: 24px 0 0;
  }

  .gear-strip .gear-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- Trail Rows ---------- */

.trail-rows {
  background-color: #FAF6F0;
}

.trail-rows .trail-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 30px 0;
  border-top: 2px solid #E8722E;
}

.trail-rows .trail-row:last-child {
  border-bottom: 2px solid #E8722E;
}

.trail-row .chain-marker {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 8px;
}

.trail-row .chain-marker::before,
.trail-row .chain-marker::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #E8722E;
  border-radius: 50%;
  background-color: #FAF6F0;
}

.trail-row .chain-marker::before {
  top: 1px;
  left: 0;
}

.trail-row .chain-marker::after {
  top: 1px;
  left: 8px;
}

.trail-row .trail-text {
  flex: 1;
}

.trail-row .trail-title {
  font-size: 22px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 6px;
}

.trail-row .trail-copy {
  font-size: 16.5px;
  color: #2A2420;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .trail-rows .trail-row {
    gap: 18px;
    padding: 24px 0;
  }
}

/* ---------- CTA Band ---------- */

.cta-band {
  background-color: #E8722E;
  padding: 78px 0;
  text-align: center;
}

.cta-band .cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-band .cta-sub {
  font-size: 18px;
  color: #2A2420;
  max-width: 640px;
  margin: 0 auto 30px;
}

@media (max-width: 560px) {
  .cta-band .cta-title {
    font-size: 32px;
  }
}

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

.garage-footer {
  background-color: #FAF6F0;
}

.garage-footer .footer-top {
  padding: 56px 0;
  border-top: 3px solid #E8722E;
}

.garage-footer .footer-zones {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.garage-footer .footer-zone {
  flex: 1;
  padding: 0 30px;
  border-left: 2px solid #E8722E;
}

.garage-footer .footer-zone:first-child {
  border-left: none;
  padding-left: 0;
}

.garage-footer .footer-zone:last-child {
  padding-right: 0;
}

.garage-footer .footer-wordmark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #2A2420;
  margin-bottom: 6px;
}

.garage-footer .footer-company {
  font-size: 14.5px;
  color: #2A2420;
  line-height: 1.6;
}

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

.garage-footer .footer-links a {
  font-weight: 700;
  color: #2A2420;
  font-size: 15.5px;
}

.garage-footer .footer-links a:hover {
  color: #E8722E;
}

.garage-footer .footer-contact {
  font-size: 15px;
  color: #2A2420;
  line-height: 1.8;
  word-break: break-word;
}

.garage-footer .footer-bottom {
  background-color: #E8722E;
  text-align: center;
  padding: 18px 24px;
}

.garage-footer .footer-bottom p {
  font-size: 14.5px;
  color: #2A2420;
  font-weight: 600;
}

.garage-footer .footer-bottom a {
  color: #2A2420;
  font-weight: 700;
}

.garage-footer .footer-bottom a:hover {
  color: #FAF6F0;
}

@media (max-width: 860px) {
  .garage-footer .footer-zones {
    flex-direction: column;
    gap: 34px;
  }

  .garage-footer .footer-zone {
    border-left: none;
    border-top: 2px solid #E8722E;
    padding: 24px 0 0;
  }

  .garage-footer .footer-zone:first-child {
    border-top: none;
    padding-top: 0;
  }

  .garage-footer .footer-zone:last-child {
    padding-right: 0;
  }
}

/* ---------- Reveal on scroll ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.no-js .fade-up {
  opacity: 1;
  transform: none;
}

/* ---------- Shared secondary page layout ---------- */

.page-banner {
  background-color: #E8722E;
  padding: 64px 0 60px;
  border-bottom: 3px solid #2A2420;
}

.page-banner .banner-eyebrow {
  display: inline-block;
  background-color: #2A2420;
  color: #FAF6F0;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-banner .banner-title {
  font-size: 44px;
  font-weight: 800;
  color: #2A2420;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.page-banner .banner-sub {
  font-size: 18px;
  color: #2A2420;
  max-width: 720px;
}

.page-content {
  background-color: #FAF6F0;
  padding: 84px 0;
}

.page-content .content-heading {
  font-size: 32px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 12px;
}

.page-content .content-lead {
  font-size: 17px;
  color: #2A2420;
  max-width: 780px;
  margin-bottom: 40px;
}

/* ---------- Services page ---------- */

.service-list .service-block {
  padding: 40px 0;
  border-top: 2px solid #E8722E;
}

.service-list .service-block:first-child {
  border-top: none;
  padding-top: 0;
}

.service-list .service-block:last-child {
  border-bottom: 2px solid #E8722E;
}

.service-block .service-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 12px;
}

.service-block .service-title .chain-marker {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}

.service-block .service-title .chain-marker::before,
.service-block .service-title .chain-marker::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid #E8722E;
  border-radius: 50%;
  background-color: #FAF6F0;
}

.service-block .service-title .chain-marker::before {
  top: 1px;
  left: 0;
}

.service-block .service-title .chain-marker::after {
  top: 1px;
  left: 7px;
}

.service-block .service-copy {
  font-size: 16.5px;
  color: #2A2420;
  line-height: 1.85;
  max-width: 900px;
}

.process-band {
  background-color: #F5D9C2;
  padding: 64px 0;
  margin: 30px 0 0;
}

.process-band .process-title {
  font-size: 30px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 26px;
}

.process-band .process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}

.process-band .process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.process-band .process-num {
  flex: none;
  width: 40px;
  height: 40px;
  background-color: #E8722E;
  color: #2A2420;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-band .process-step-title {
  font-size: 19px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 2px;
}

.process-band .process-step-copy {
  font-size: 15.5px;
  color: #2A2420;
  line-height: 1.75;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.contact-form-panel {
  flex: 1.25;
}

.contact-info-panel {
  flex: 1;
}

.contact-info-panel .info-heading {
  font-size: 24px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 10px;
}

.contact-info-panel .info-card {
  background-color: #F5D9C2;
  border-left: 4px solid #E8722E;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.contact-info-panel .info-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 6px;
}

.contact-info-panel .info-card p {
  font-size: 16px;
  color: #2A2420;
  line-height: 1.7;
}

.contact-info-panel .info-card a {
  color: #2A2420;
  font-weight: 700;
}

.contact-info-panel .info-card a:hover {
  color: #E8722E;
}

.contact-form .form-field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.4px;
  color: #2A2420;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: #2A2420;
  background-color: #FFFFFF;
  border: 2px solid #2A2420;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #E8722E;
  box-shadow: 0 0 0 3px #F5D9C2;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  font-size: 15px;
  font-weight: 600;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
}

.form-status.success {
  background-color: #F5D9C2;
  color: #2A2420;
  border-left: 4px solid #E8722E;
}

.form-status.error {
  background-color: #F5D9C2;
  color: #2A2420;
  border-left: 4px solid #2A2420;
}

.form-status.sending {
  background-color: #F5D9C2;
  color: #2A2420;
}

.faq-list {
  margin-top: 40px;
}

.faq-list .faq-heading {
  font-size: 26px;
  font-weight: 800;
  color: #2A2420;
  margin-bottom: 18px;
}

.faq-item {
  border-top: 2px solid #E8722E;
}

.faq-item:last-child {
  border-bottom: 2px solid #E8722E;
}

.faq-item .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 17.5px;
  font-weight: 800;
  color: #2A2420;
  padding: 18px 4px;
}

.faq-item .faq-question::after {
  content: "+";
  font-size: 24px;
  font-weight: 800;
  color: #E8722E;
  flex: none;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  display: none;
  padding: 0 4px 18px;
  font-size: 16px;
  color: #2A2420;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
}
