@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@300;500;600;700&family=Wix+Madefor+Text:wght@400;500;600&display=swap');

:root {
  --brand: #2b5672;
  --brand-dark: #1f3a4c;
  --accent: #e3c429;
  --accent-dark: #c6a411;
  --bg: #f7f2ea;
  --surface: #ffffff;
  --text: #1d1f24;
  --muted: #4b5563;
  --border: #ebe2d5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Wix Madefor Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Wix Madefor Display', 'Wix Madefor Text', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo img {
  width: 56px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

nav a {
  padding: 0.5rem 0.9rem;
  border: none;
  border-radius: 12px;
  color: var(--brand-dark);
  transition: background 0.2s ease, color 0.2s ease;
}

nav a[aria-current] {
  background: var(--brand);
  color: #fff;
}

nav a:hover,
nav a:active {
  background: var(--brand);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1.2rem 2.6rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-primary:active {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  padding: 0.4rem 0.2rem;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-arrow:hover {
  color: #fff;
  background: var(--brand);
}

.btn-accent {
  background: var(--accent);
  color: #0f1114;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
}

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

.hero {
  color: #fff;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 15, 24, 0.45), rgba(18, 36, 54, 0.25));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-home {
  background-image: url('../images/hero-climb.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  min-height: 62vh;
  padding-top: 25vh;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.hero h1 {
  font-family: 'Wix Madefor Display', 'Wix Madefor Text', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  margin: 0.4rem 0 1rem;
  line-height: 1.05;
}

.hero p {
  max-width: 640px;
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-tagline {
  font-size: 3.5rem;
}

.hero-location {
  margin-top: -0.4rem;
  font-size: 2rem;
}

.section {
  padding: 5rem 0;
}

main ul {
  padding-left: 1.25rem;
}

main li {
  margin-bottom: 0.35rem;
}

.section-heading {
  font-family: 'Wix Madefor Display', 'Wix Madefor Text', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.5rem 0 1.5rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent-dark);
  font-size: 0.75rem;
}

.about-grid,
.split-grid,
.locations-grid,
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.services-list {
  grid-auto-rows: 1fr;
}

.surface {
  background: var(--surface);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.75rem;
}

.surface img {
  border-radius: 24px;
}

#about .surface {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 0.5rem;
}

#about .surface > div:first-child {
  justify-self: center;
  transform: translateX(12px);
}

.about-photos {
  display: grid;
  gap: 0.75rem;
}

#services .services-cta {
  text-align: center;
}

#services .split-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

#services {
  padding-top: 0.5rem;
}

.service-card {
  position: relative;
  border-radius: 28px;
  padding: 1.75rem;
  color: #fff;
  min-height: 260px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(11, 19, 30, 0.25);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay, rgba(17, 17, 17, 0.65));
  z-index: -1;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.service-card[data-image="climb"]::after {
  background-image: url('../images/service-climb.jpg');
}

.service-card[data-image="ims"]::after {
  background-image: url('../images/service-ims.jpg');
}

.service-card[data-image="run"]::after {
  background-image: url('../images/service-running.jpg');
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  font-family: 'Wix Madefor Display', 'Wix Madefor Text', sans-serif;
}

.services-list p {
  margin-bottom: 0;
}

.testimonial-strip {
  background: #132535;
  color: #fff;
  border-radius: 32px;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.testimonial {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.instagram-panel {
  text-align: center;
}

.instagram-panel p {
  font-size: 1.1rem;
  color: var(--muted);
}

.instagram-feed {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.instagram-feed iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 20px 35px rgba(11, 19, 30, 0.2);
  background: #fff;
}

.locations-grid .card,
.contact-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 25px rgba(12, 18, 27, 0.08);
}

.card h3 {
  margin-top: 0;
}

.address {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-location .card {
  color: #ffffff;
}

.footer-location .address {
  color: #ffffff;
}

.muted {
  color: var(--muted);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 0.4rem 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  align-items: start;
  position: relative;
}

.contact-panel .contact-card {
  position: relative;
  z-index: 2;
  margin-top: -420px;
  max-width: 800px;
}

.contact-panel .contact-photo {
  position: relative;
  grid-column: 1 / -1;
  order: -1;
  width: 75%;
  margin: 0 auto;
}

.contact-panel .contact-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(11, 19, 30, 0.18);
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fefcf8;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

footer {
  background: rgb(113, 113, 111);
  color: #ffffff;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

footer a {
  color: inherit;
}

footer a:hover {
  color: var(--brand);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 0.35rem;
}

.footer-location .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.footer-location .hours-list li {
  border-color: rgba(255, 255, 255, 0.35);
}

.page-hero {
  background: linear-gradient(135deg, #102231, #1f3a4c);
  color: #fff;
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  margin: 0.2rem 0 0.5rem;
}

.page-content {
  padding: 4rem 0 1rem;
}

.rich-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 35px rgba(10, 20, 30, 0.08);
}

.rich-card + .rich-card {
  margin-top: 2rem;
}

.intro-text {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--muted);
}

.qualifications {
  columns: 1;
  column-gap: 0;
  list-style: disc;
  padding-left: 1.25rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(8, 14, 23, 0.06);
}

.testimonial-card cite {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brand);
}

.contact-callout {
  text-align: center;
  padding: 2.5rem;
}

.contact-callout p {
  color: var(--muted);
}

@media (max-width: 720px) {
  nav ul {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero {
    padding: 4.5rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .surface {
    padding: 2rem;
  }

  .testimonial-strip {
    padding: 2rem;
  }

  .qualifications {
    columns: 1;
  }
}
.split-grid.equal-height {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.split-grid.equal-height > * {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
}

.locations-grid.equal-height {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.locations-grid.equal-height .card {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
}

.map-embed {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.18);
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.map-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.map-hours .map-embed {
  margin-top: 0;
}
