/* Climbing Wairarapa — site styles */

:root {
  --navy: #0d3b66;
  --navy-dark: #082744;
  --orange: #f0603c;
  --yellow: #f4c84a;
  --cream: #fdfaf4;
  --ink: #1c2a33;
  --grey: #5c6b73;
  --line: #e7e0d3;
  --radius: 14px;
  --max: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink); }

a { color: var(--navy); }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { height: 34px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
  opacity: 0.85;
}

nav.main-nav a:hover,
nav.main-nav a.active { opacity: 1; border-bottom: 2px solid var(--orange); padding-bottom: 3px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(240,96,60,.28);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(240,96,60,.38); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.header-cta { flex-shrink: 0; }

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

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,39,68,.78) 0%, rgba(8,39,68,.72) 55%, rgba(8,39,68,.88) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 90px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .eyebrow {
  display: inline-block;
  background: rgba(244,200,74,.18);
  color: var(--yellow);
  border: 1px solid rgba(244,200,74,.5);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 620px;
  color: rgba(255,255,255,.92);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 48px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.05rem; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: #fff; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.85); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Quick facts strip ---------- */

.facts-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
}
.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fact .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.fact strong { display: block; color: var(--navy); font-size: 0.95rem; }
.fact span { color: var(--grey); font-size: 0.92rem; }

/* ---------- Find-us line ---------- */

.find-us-line {
  margin-top: 18px;
  font-weight: 600;
  color: var(--navy);
}
.find-us-line a { color: var(--orange); text-decoration: none; }
.find-us-line a:hover { text-decoration: underline; }

/* ---------- Photo strip ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Offer list (home) ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.offer-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.offer-list li { border-bottom: 1px solid var(--line); }
.offer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 2px;
  text-decoration: none;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color .15s ease, padding-left .15s ease;
}
.offer-list a:hover { color: var(--orange); padding-left: 6px; }
.offer-list .arrow {
  opacity: 0;
  color: var(--orange);
  transition: opacity .15s ease, transform .15s ease;
  transform: translateX(-6px);
}
.offer-list a:hover .arrow { opacity: 1; transform: translateX(0); }

.offer-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offer-photos img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(13,59,102,.14);
}

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { box-shadow: 0 14px 30px rgba(13,59,102,.1); transform: translateY(-3px); }

.service-card .tag {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.tag-orange { background: rgba(240,96,60,.14); }
.tag-yellow { background: rgba(244,200,74,.24); }
.tag-navy { background: rgba(13,59,102,.1); }

.service-card p { color: var(--grey); font-size: 0.96rem; margin-bottom: 0; flex-grow: 1; }
.service-card .more { font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--orange); margin-top: 6px; }
.service-card .more:hover { text-decoration: underline; }

/* Full service blocks on services page */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(13,59,102,.14); }
.service-text .tag { margin-bottom: 14px; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.price-card.featured { border-color: var(--orange); position: relative; }
.price-card .amount { font-family: "Poppins", sans-serif; font-size: 2.6rem; color: var(--navy); font-weight: 700; margin: 10px 0 4px; }
.price-card .amount span { font-size: 1rem; color: var(--grey); font-weight: 500; }
.price-card ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.price-card li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--grey); font-size: 0.95rem; }
.price-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}
.price-note {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 24px;
  color: var(--grey);
}
.price-note strong { color: var(--navy); }

/* Program tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tier-card {
  border-radius: 999px 999px var(--radius) var(--radius);
  padding: 28px 22px;
  color: #fff;
  text-align: center;
}
.tier-little { background: var(--orange); }
.tier-grip { background: var(--navy); }
.tier-carabiner { background: var(--yellow); color: var(--navy-dark); }
.tier-card h3 { color: inherit; margin-bottom: 6px; }
.tier-card p { color: inherit; opacity: .92; font-size: 0.92rem; margin: 0; }

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--line);
}
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 2.6rem; color: var(--yellow); line-height: 1; display: block; margin-bottom: 4px; }
.testimonial p { color: var(--ink); font-size: 0.97rem; margin-bottom: 10px; }
.testimonial .who { font-weight: 700; color: var(--navy); font-size: 0.88rem; }

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(13,59,102,.14); }

.funders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.funders-list span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.mural-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-photo { border-radius: var(--radius); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-photo-single {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13,59,102,.14);
}
.team-photo-single img { width: 100%; display: block; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a { border-radius: 10px; overflow: hidden; display: block; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
}
.info-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.form-card { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-card.primary { background: var(--navy); border-color: var(--navy); }
.form-card.primary h3, .form-card.primary p { color: #fff; }
.form-card h3 { margin-bottom: 4px; }
.form-card p { margin: 0; color: var(--grey); font-size: 0.92rem; }
.form-card .btn { flex-shrink: 0; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 20px;
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table td:first-child { color: var(--navy); font-weight: 600; width: 45%; }
.hours-table td:last-child { color: var(--grey); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }

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

footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
footer a { color: rgba(255,255,255,.75); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid, .card-grid.two, .facts-grid, .pricing-grid, .testimonial-grid,
  .about-grid, .mural-block, .team-grid, .tier-grid, .contact-grid, .footer-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 28px; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .offer-photos img { height: 320px; }
}

@media (max-width: 520px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 150px; }
  .offer-photos img { height: 240px; }
}

@media (max-width: 760px) {
  nav.main-nav { position: fixed; top: 63px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.06); display: none; }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta .btn { padding: 10px 18px; font-size: 0.9rem; }
  .hero-inner { padding: 64px 20px 60px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
