/* ============================================================
   Canberra Martial Arts & Fitness — site stylesheet
   Rebuilt from the design comps as clean, responsive CSS.
   Brand: navy #334477 · orange #FF6600 · green #02A850
   Font: Montserrat
   ============================================================ */

:root {
  --navy: #334477;
  --navy-deep: #2a3a68;
  --navy-soft: #3d508a;
  --green: #02A850;
  --green-deep: #028a42;
  --orange: #FF6600;
  --orange-deep: #e65a00;
  --text: #5f6470;
  --ink: #2a2a2a;
  --white: #ffffff;
  --grey-50: #FAFAFA;
  --grey-100: #F5F5F5;
  --grey-200: #EEEEEE;
  --grey-300: #E2E2E2;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,30,60,0.06), 0 1px 3px rgba(20,30,60,0.04);
  --shadow-md: 0 6px 16px rgba(20,30,60,0.08), 0 2px 4px rgba(20,30,60,0.04);
  --shadow-lg: 0 18px 40px rgba(20,30,60,0.12), 0 6px 12px rgba(20,30,60,0.06);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

/* Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; font-weight: 600; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4.5vw, 34px); }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 600; }
p { margin: 0 0 12px; }

/* Layout ---------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tight { padding: clamp(32px, 5vw, 52px) 0; }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--grey { background: var(--grey-100); }
.section--orange { background: linear-gradient(135deg, var(--orange) 0%, #ff8530 100%); color: #fff; }
.section--orange h1, .section--orange h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section--navy .eyebrow, .eyebrow--light { color: #ffb37a; }

.lede { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; color: var(--text); max-width: 56ch; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--lg { padding: 19px 32px; font-size: 17px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 14px rgba(2,168,80,0.28); }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn--secondary { background: var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(255,102,0,0.28); }
.btn--secondary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { border-color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-1px); }

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 14px rgba(2,168,80,0.28), 0 0 0 0 rgba(2,168,80,0.45); }
  50%      { box-shadow: 0 6px 14px rgba(2,168,80,0.28), 0 0 0 12px rgba(2,168,80,0); }
}
.btn--pulse { animation: ctaPulse 2.4s ease-out infinite; }

/* Header / nav ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { flex-shrink: 0; }
.brand__name { line-height: 1; color: #fff; }
.brand__title { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand__title span { color: var(--orange); }
.brand__tag {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: #fff; }
.nav__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle span { width: 24px; height: 2px; background: #fff; display: block; transition: 0.2s; }

/* Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(51,68,119,0.94) 0%, rgba(42,58,104,0.88) 100%),
    repeating-linear-gradient(135deg, #2a3a68 0 14px, #34457a 14px 28px);
  color: #fff;
}
.hero__inner { padding: clamp(56px, 10vw, 104px) 0; max-width: 840px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.9); font-size: clamp(17px, 2.4vw, 20px); margin-top: 18px; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Trust strip ----------------------------------------------- */
.trust {
  background: var(--grey-100);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust__row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 26px var(--gutter);
}
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__num { font-size: 30px; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; line-height: 1; }
.trust__lbl { color: var(--navy); font-weight: 700; font-size: 15px; }
.trust__sub { color: var(--text); font-size: 13px; }

/* Grid helpers ---------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards ----------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}
.card__body { padding: 24px 26px; }
.card--hover { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card--hover:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Photo placeholder (swap for real images later) ------------ */
.photo {
  position: relative;
  background: repeating-linear-gradient(135deg, #e8ecf5 0 12px, #dde2ee 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7894;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 18px;
  min-height: 200px;
}
.photo--tall { min-height: 320px; }
.photo--dark {
  background: repeating-linear-gradient(135deg, #2a3a68 0 12px, #34457a 12px 24px);
  color: rgba(255,255,255,0.7);
}

/* Tags ------------------------------------------------------ */
.tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px;
  border-radius: var(--radius-pill); background: var(--grey-100); color: var(--navy);
}
.tag--orange { background: rgba(255,102,0,0.12); color: var(--orange); }
.tag--green { background: rgba(2,168,80,0.12); color: var(--green-deep); }

/* Location cards -------------------------------------------- */
.loc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loc-card__name { color: #fff; font-size: 26px; }
.loc-card__addr { color: rgba(255,255,255,0.8); font-size: 15px; }
.loc-card__hours { color: rgba(255,255,255,0.6); font-size: 13px; }
.loc-card__accent {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}

/* Steps ----------------------------------------------------- */
.steps { display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: flex-start; padding: 18px 0; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.step:last-child .step__num { background: var(--green); }

/* Testimonials ---------------------------------------------- */
.quote { font-size: 28px; color: var(--orange); font-weight: 700; line-height: .5; }
.testimonial p { font-style: italic; color: var(--text); line-height: 1.6; margin: 8px 0 22px; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: repeating-linear-gradient(135deg, #e8ecf5 0 6px, #dde2ee 6px 12px);
}
.testimonial__name { color: var(--navy); font-weight: 700; font-size: 15px; }
.testimonial__role { color: var(--text); font-size: 13px; }

/* Footer ---------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); }
.site-footer .container { padding-top: 64px; padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__about { color: rgba(255,255,255,0.7); max-width: 320px; font-size: 14px; margin-top: 18px; }
.footer__loc-label, .footer__col-title {
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.footer__col-title { font-size: 14px; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__links a { color: rgba(255,255,255,0.78); font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; margin-top: 24px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer__socials a:hover { background: var(--orange); }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.footer__bottom a { color: rgba(255,255,255,0.7); font-weight: 500; }

/* Responsive ------------------------------------------------ */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__links .btn { margin-top: 14px; width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust__row { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}
