/* ==========================================================================
   Heaven's Way Zipline Adventure — static site styles
   Design source: Activland theme (Pavothemes), converted to plain CSS.
   Mobile-first. Breakpoints follow the theme: 600px, 768px, 1025px, 1200px.
   ========================================================================== */

/* 1. Fonts (self-hosted, see /assets/fonts) ------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/rubik-latin-800-normal.woff2") format("woff2");
}

/* 2. Design tokens --------------------------------------------------------- */
:root {
  /* Theme palette (Activland global colours) */
  --primary: #ff4d00;          /* decorative orange: borders, icons, large display text */
  --primary-strong: #cc3d00;   /* orange that passes 4.5:1 with white, used for text and filled buttons */
  --primary-stronger: #a83200; /* hover state */
  --primary-light: #ff9966;    /* orange text on dark backgrounds */
  --secondary: #5b320d;        /* brown section titles and sections */
  --green: #3a5533;
  --dark: #3d3d3d;
  --darker: #2e2e2e;
  --cream: #f5efe4;
  --heading: #000000;
  --text: #595959;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --field-border: #8a8a8a;
  --white: #ffffff;
  --whatsapp: #075e54;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Rubik", "Arial Black", system-ui, sans-serif;

  --container: 1290px;
  --gutter: 15px;
  --radius: 10px;
  --header-h: 72px;
  --torn-h: clamp(12px, 2.2vw, 30px);
  --section-pad: 60px;
  --section-bg: var(--white);
}

@media (min-width: 768px) {
  :root {
    --gutter: 30px;
    --section-pad: 80px;
  }
}

@media (min-width: 1025px) {
  :root {
    --header-h: 96px;
    --section-pad: 110px;
  }
}

/* 3. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  text-transform: uppercase;
}

h1,
h2 {
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p,
ul,
ol,
dl,
blockquote,
figure {
  margin: 0 0 1.25em;
}

a {
  color: var(--primary-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-stronger);
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* 4. Utilities ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(850px + 2 * var(--gutter));
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

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

.card-grid + .text-center,
.post-grid-single + .text-center {
  margin: 50px 0 0;
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border: 4px solid transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn .icon {
  font-size: 1.25em;
}

.btn-primary {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-stronger);
  border-color: var(--primary-stronger);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--heading);
}

.btn-outline:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--white);
}

.on-dark .btn-outline,
.hero .btn-outline {
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #054a42;
  border-color: #054a42;
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-center .btn-row {
  justify-content: center;
}

/* 6. Section scaffolding + torn-paper edges --------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
  background-color: var(--section-bg);
}

.bg-white { --section-bg: var(--white); }
.bg-cream { --section-bg: var(--cream); }
.bg-green { --section-bg: var(--green); }
.bg-dark { --section-bg: var(--dark); }
.bg-brown { --section-bg: var(--secondary); }

.on-dark {
  color: rgba(255, 255, 255, 0.88);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--white);
}

.on-dark a:not(.btn) {
  color: var(--white);
}

/* A strip of the section's own colour with a ripped top edge, drawn just above the section. */
.has-torn-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  z-index: 2;
  height: var(--torn-h);
  background-color: var(--section-bg);
  -webkit-mask: url("../img/torn-edge.svg") center bottom / 100% 100% no-repeat;
  mask: url("../img/torn-edge.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.section-head {
  max-width: 770px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.29em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.on-dark .eyebrow {
  color: var(--primary-light);
}

.bg-green .eyebrow {
  color: var(--white);
}

.section-title {
  color: var(--secondary);
  line-height: 1;
}

.on-dark .section-title {
  color: var(--white);
}

.lead {
  font-size: 1.125rem;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split > *,
.layout-sidebar > * {
  min-width: 0;
}

@media (min-width: 1025px) {
  .section-head {
    margin-bottom: 60px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .split--wide-left {
    grid-template-columns: 3fr 2fr;
  }

  .split--top {
    align-items: start;
  }
}

/* 7. Header + navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.site-logo img {
  width: auto;
  height: 48px; /* logo is 512x172; width follows the aspect ratio */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
}

.header-phone .icon {
  font-size: 1.25rem;
  color: var(--primary-strong);
}

.header-cta {
  display: none;
}

.nav-toggle,
.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.nav-toggle .icon,
.nav-close .icon {
  font-size: 1.6rem;
}

/* Mobile: off-canvas panel */
.primary-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  width: min(340px, 86vw);
  padding: 16px 24px 40px;
  overflow-y: auto;
  background: var(--white);
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.35s ease, visibility 0.35s;
}

.primary-nav.is-open {
  visibility: visible;
  transform: none;
  transition: transform 0.35s ease, visibility 0s;
}

.nav-panel-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.menu,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.menu a {
  display: block;
  flex: 1;
  padding: 14px 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--heading);
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--primary-strong);
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.submenu-toggle .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.submenu-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  flex-basis: 100%;
  padding: 0 0 10px 14px;
}

.has-submenu.is-open > .submenu {
  display: block;
}

.submenu a {
  padding: 8px 0;
  font-size: 0.8125rem;
}

.nav-panel-contact {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.55);
}

@media (min-width: 600px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1025px) {
  .site-logo img {
    height: 64px;
  }

  .nav-toggle,
  .nav-close,
  .nav-panel-head,
  .nav-panel-contact,
  .nav-overlay {
    display: none;
  }

  .primary-nav {
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .menu {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .menu > li {
    border: 0;
    flex-wrap: nowrap;
  }

  .menu > li > a {
    padding: 34px 10px;
  }

  .submenu-toggle {
    width: 24px;
    margin-left: -6px;
  }

  .submenu-toggle .icon {
    font-size: 1.1rem;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    display: block;
    min-width: 260px;
    padding: 14px 0;
    background: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu,
  .has-submenu.is-open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    padding: 9px 24px;
  }
}

@media (min-width: 1200px) {
  .header-phone {
    display: inline-flex;
  }

  .menu {
    gap: 14px;
  }
}

/* 8. Hero slider ---------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--darker);
  color: var(--white);
}

.hero-slides {
  display: grid;
}

.hero-slide {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  align-items: center;
  min-height: 550px;
  padding-block: 80px 110px;
}

/* Without JavaScript only the first slide shows. */
.hero:not(.is-ready) .hero-slide + .hero-slide {
  display: none;
}

.hero.is-ready .hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.hero.is-ready .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.2) 100%);
}

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

.hero-content > * {
  max-width: 720px;
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title span {
  color: var(--primary);
}

.hero .eyebrow {
  color: var(--white);
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: calc(var(--torn-h) + 24px);
  left: 0;
  z-index: 3;
}

.hero-controls .container {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.hero-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-control:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.hero-control .icon {
  font-size: 1.1rem;
}

.hero-control[data-hero-prev] .icon,
.hero-control[data-hero-next] .icon {
  width: 0.5em;
}

@media (min-width: 768px) {
  .hero-slide {
    min-height: 600px;
  }
}

@media (min-width: 1025px) {
  .hero-slide {
    min-height: 700px;
  }
}

/* 9. Stats (home "about" band) -------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  padding: 28px 20px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 10. Service cards (theme "what we do" card) ------------------------------ */
.card-grid {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  color: var(--white);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 75%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 100%);
}

.service-card-body {
  position: relative;
  z-index: 2;
  padding: 30px;
  transition: transform 0.4s ease;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--white);
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: var(--primary-light);
}

/* Makes the whole card clickable through the title link. */
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.card-link:focus-visible {
  outline: none;
  box-shadow: none;
}

.service-card:focus-within,
.project-card:focus-within,
.post-card:focus-within {
  outline: 3px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}

.service-card p {
  margin-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.more-link {
  display: inline-block;
  padding: 10px 26px;
  border: 4px solid var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card:hover .service-card-body {
  transform: translateY(-10px);
}

.service-card:hover .more-link {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

/* 11. Project cards (theme "activities" card, image-free variant) ---------- */
.project-card {
  position: relative;
  height: 100%;
  padding: 32px 30px 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.project-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 76px;
  color: var(--primary);
  opacity: 0;
  transform: translate(50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-decor {
  opacity: 1;
  transform: none;
}

.project-card h3 {
  margin-bottom: 14px;
  padding-right: 40px;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--secondary);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-meta .icon {
  font-size: 1rem;
  color: var(--primary-strong);
}

.project-card p {
  margin: 14px 0 0;
  font-size: 0.9375rem;
}

/* Project photo (800x600 WebP), full width across the top of the card. */
.project-img {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: -32px -30px 24px;
  object-fit: cover;
  background: var(--border);
  transition: transform 0.6s ease;
}

.project-card--image:hover .project-img {
  transform: scale(1.04);
}

.project-card--image .project-decor {
  z-index: 1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
}

.filter-btn {
  min-height: 48px;
  padding: 12px 22px;
  border: 4px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
  cursor: pointer;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.filter-btn .count {
  padding-left: 3px;
  color: var(--primary-strong);
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--white);
}

.filter-btn:hover .count,
.filter-btn[aria-pressed="true"] .count {
  color: var(--white);
}

.filter-bar[hidden] {
  display: none;
}

.project-item[hidden],
.equipment-item[hidden] {
  display: none;
}

/* 11b. Equipment cards (shop page) ----------------------------------------- */
.equipment-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.equipment-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* 600x600 product photo on white, shown whole (never cropped). */
.equipment-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: transform 0.6s ease;
}

.equipment-card:hover .equipment-img {
  transform: scale(1.04);
}

.equipment-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.equipment-cat {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.equipment-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--secondary);
}

.equipment-body > p:not(.equipment-cat) {
  margin: 0 0 20px;
  font-size: 0.9375rem;
}

.equipment-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.equipment-price {
  font-weight: 700;
  color: var(--heading);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  border-width: 3px;
}

/* 12. Featured locations list (replaces the Image Map Pro widget) ---------- */
.location-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
}

.location-list .icon {
  margin-top: 4px;
  font-size: 1.25rem;
  color: var(--primary-light);
}

.location-list strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

.location-list span {
  font-size: 0.875rem;
}

@media (min-width: 600px) {
  .location-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* 13. Steps (5-step package) ---------------------------------------------- */
.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-light);
}

.step h3 {
  font-size: 1.125rem;
  color: var(--white);
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
}

.bg-white .step,
.bg-cream .step {
  border-color: var(--border);
  background: var(--white);
}

.bg-white .step::before,
.bg-cream .step::before {
  color: var(--primary-strong);
}

.bg-white .step h3,
.bg-cream .step h3 {
  color: var(--secondary);
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 14. Check list + badges ------------------------------------------------- */
.check-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.check-list .icon {
  margin-top: 3px;
  font-size: 1.25rem;
  color: var(--primary-strong);
}

.on-dark .check-list .icon {
  color: var(--primary-light);
}

@media (min-width: 768px) {
  .check-list--2col {
    columns: 2;
    column-gap: 40px;
  }

  .check-list--2col li {
    break-inside: avoid;
  }
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.badge-list li {
  padding: 10px 18px;
  border: 2px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
  background: var(--white);
}

.award {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.award .icon {
  font-size: 2.25rem;
  color: var(--primary-strong);
}

.award h3 {
  margin-bottom: 6px;
  color: var(--secondary);
}

.award p {
  margin: 0;
}

.award-photo {
  margin: 16px 0 0;
}

.award-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 15. Testimonials -------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.testimonial .icon {
  width: 47px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 24px;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: #3f3f3f;
}

.testimonial blockquote p {
  margin: 0;
}

.testimonial figcaption {
  font-size: 0.875rem;
}

.testimonial figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--heading);
}

/* 16. Team ---------------------------------------------------------------- */
.team-card {
  height: 100%;
  padding: 30px 26px;
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.team-role {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.team-card p:last-child {
  margin: 0;
  font-size: 0.9375rem;
}

/* 17. Blog cards ---------------------------------------------------------- */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 32px;
}

.post-meta {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card h2,
.post-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.post-card p {
  flex: 1;
}

.post-card .more-link {
  align-self: flex-start;
}

.post-card .card-link:hover {
  color: var(--primary-strong);
}

.post-grid-single {
  max-width: 420px;
  margin-inline: auto;
}

/* 18. Page banner + breadcrumb ------------------------------------------- */
.page-banner {
  position: relative;
  padding-block: 70px calc(70px + var(--torn-h));
  background: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.page-banner h1 {
  max-width: 900px;
  margin: 0 auto 16px;
  color: var(--white);
}

.page-banner-lead {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 1.125rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.breadcrumb li + li::before {
  content: "/";
  padding-inline: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb [aria-current="page"] {
  color: var(--primary-light);
}

@media (min-width: 1025px) {
  .page-banner {
    padding-block: 100px calc(100px + var(--torn-h));
  }
}

/* 19. Long-form content (pages + posts) ---------------------------------- */
.entry-content {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.entry-content h2 {
  margin-top: 1.6em;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  color: var(--secondary);
}

.entry-content h3 {
  margin-top: 1.4em;
  color: var(--secondary);
}

.entry-content > :first-child,
.entry-content .eyebrow + h2 {
  margin-top: 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}

.entry-content li {
  margin-bottom: 0.5em;
}

.entry-image {
  margin: 0 0 40px;
}

.entry-image img {
  width: 100%;
  border-radius: var(--radius);
}

.rounded-img {
  width: 100%;
  border-radius: var(--radius);
}

.layout-sidebar {
  display: grid;
  gap: 50px;
}

@media (min-width: 1025px) {
  .layout-sidebar {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
  }
}

.widget {
  margin-bottom: 30px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--cream);
}

.widget h2 {
  font-size: 1.125rem;
  color: var(--secondary);
}

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

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.widget li:last-child {
  border-bottom: 0;
}

.widget a {
  font-weight: 700;
  text-decoration: none;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* 20. FAQ (native <details>) --------------------------------------------- */
.faq {
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--primary-strong);
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  padding: 0 24px 20px;
}

.faq details p:last-child {
  margin: 0;
}

/* 21. Contact page + form ------------------------------------------------- */
.contact-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--cream);
}

.contact-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-list .icon {
  margin-top: 4px;
  font-size: 1.2rem;
  color: var(--primary-strong);
}

.contact-list strong {
  display: block;
  color: var(--heading);
}

.contact-list a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading);
}

.field .hint {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: var(--white);
  font: inherit;
  color: var(--heading);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #000;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-grid {
  display: grid;
  gap: 8px 20px;
}

@media (min-width: 600px) {
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}

.checkbox-grid input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--primary-strong);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-status {
  font-weight: 700;
  color: var(--green);
}

/* 22. Footer -------------------------------------------------------------- */
.footer-cta {
  padding-block: 60px;
}

.footer-cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.footer-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.footer-cta p {
  margin: 0;
}

@media (min-width: 1025px) {
  .footer-cta-inner {
    grid-template-columns: 1fr auto;
    gap: 60px;
  }
}

.footer-main {
  padding-block: 70px 40px;
  background: var(--dark);
  color: #d0d0d0;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  }
}

.footer-logo {
  width: auto;
  height: 64px; /* logo is 512x172; width follows the aspect ratio */
  margin-bottom: 18px;
}

.footer-title {
  margin-bottom: 18px;
  font-size: 1.125rem;
  color: var(--white);
}

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

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a,
.footer-main address a {
  display: inline-block;
  overflow-wrap: anywhere;
  padding: 4px 0;
  color: #e6e6e6;
  text-decoration: none;
}

.footer-links a:hover,
.footer-main address a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer-main address p {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-main address .icon {
  margin-top: 5px;
  color: var(--primary-light);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.footer-bottom {
  padding-block: 22px;
  background: var(--darker);
  font-size: 0.875rem;
  color: #cfcfcf;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom a {
  color: #e6e6e6;
}

/* 23. 404 ----------------------------------------------------------------- */
.error-404 {
  text-align: center;
}

.error-404 img {
  width: min(100%, 520px);
  margin: 0 auto 30px;
}

.error-404 h1 {
  margin-bottom: 6px;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--secondary);
}

.error-404 .sub-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--heading);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.error-links a {
  font-weight: 700;
}

/* 24. Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
