/* Design DNA: Full-bleed cinematic hero — misty Golan ridge photo with huge trail headline; forest green + mist gray; rugged outdoor mood */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;600;700&display=swap");

:root {
  --hg-forest: #1F4D3A;
  --hg-mist: #D7DED8;
  --hg-basalt: #2A2E2C;
  --hg-amber: #D9893B;
  --hg-white: #ffffff;
  --hg-forest-dark: #163528;
  --hg-mist-dark: #b8c4bc;
  --hg-font-display: "Bebas Neue", sans-serif;
  --hg-font-body: "Source Sans 3", sans-serif;
  --hg-max: 1200px;
  --hg-radius: 4px;
  --hg-shadow: 0 8px 32px rgba(42, 46, 44, 0.18);
  --hg-transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hg-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hg-basalt);
  background: var(--hg-mist);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hg-forest);
  text-decoration: none;
  transition: color var(--hg-transition);
}

a:hover {
  color: var(--hg-amber);
}

ul {
  list-style: none;
}

/* ── Header ── */

.hg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--hg-transition), box-shadow var(--hg-transition);
}

.hg-header--transparent {
  background: transparent;
}

.hg-header--solid {
  background: var(--hg-basalt);
  box-shadow: var(--hg-shadow);
}

.hg-header__inner {
  max-width: var(--hg-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hg-logo {
  font-family: var(--hg-font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--hg-white);
  line-height: 1;
}

.hg-logo span {
  color: var(--hg-amber);
}

.hg-nav {
  display: flex;
  gap: 2rem;
}

.hg-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hg-white);
}

.hg-nav a:hover,
.hg-nav a.hg-nav--active {
  color: var(--hg-amber);
}

.hg-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hg-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--hg-white);
  transition: transform var(--hg-transition), opacity var(--hg-transition);
}

.hg-burger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hg-burger--open span:nth-child(2) {
  opacity: 0;
}

.hg-burger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */

.hg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hg-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42, 46, 44, 0.85) 0%,
    rgba(31, 77, 58, 0.35) 45%,
    rgba(42, 46, 44, 0.15) 100%
  );
}

.hg-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--hg-max);
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  width: 100%;
}

.hg-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hg-amber);
  margin-bottom: 0.75rem;
}

.hg-hero__title {
  font-family: var(--hg-font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  color: var(--hg-white);
  letter-spacing: 0.02em;
  max-width: 14ch;
}

.hg-hero__subtitle {
  font-size: 1.2rem;
  color: var(--hg-mist);
  max-width: 42ch;
  margin-top: 1.25rem;
  font-weight: 300;
}

.hg-hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ── */

.hg-page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  margin-top: 0;
}

.hg-page-hero .hg-hero__bg::after {
  background: linear-gradient(
    to top,
    rgba(42, 46, 44, 0.9) 0%,
    rgba(31, 77, 58, 0.5) 100%
  );
}

.hg-page-hero .hg-hero__content {
  padding: 7rem 1.5rem 3rem;
}

.hg-page-hero .hg-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: none;
}

/* ── Buttons ── */

.hg-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--hg-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  border-radius: var(--hg-radius);
  cursor: pointer;
  transition: background var(--hg-transition), color var(--hg-transition), border-color var(--hg-transition);
}

.hg-btn--primary {
  background: var(--hg-amber);
  color: var(--hg-basalt);
  border-color: var(--hg-amber);
}

.hg-btn--primary:hover {
  background: var(--hg-white);
  border-color: var(--hg-white);
  color: var(--hg-basalt);
}

.hg-btn--outline {
  background: transparent;
  color: var(--hg-white);
  border-color: var(--hg-white);
}

.hg-btn--outline:hover {
  background: var(--hg-white);
  color: var(--hg-basalt);
}

.hg-btn--forest {
  background: var(--hg-forest);
  color: var(--hg-white);
  border-color: var(--hg-forest);
}

.hg-btn--forest:hover {
  background: var(--hg-forest-dark);
  border-color: var(--hg-forest-dark);
  color: var(--hg-white);
}

/* ── Sections ── */

.hg-section {
  padding: 5rem 1.5rem;
}

.hg-section--white {
  background: var(--hg-white);
}

.hg-section--mist {
  background: var(--hg-mist);
}

.hg-section--forest {
  background: var(--hg-forest);
  color: var(--hg-mist);
}

.hg-section--basalt {
  background: var(--hg-basalt);
  color: var(--hg-mist);
}

.hg-container {
  max-width: var(--hg-max);
  margin: 0 auto;
}

.hg-section__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--hg-amber);
  margin-bottom: 0.5rem;
}

.hg-section--forest .hg-section__label,
.hg-section--basalt .hg-section__label {
  color: var(--hg-amber);
}

.hg-section__title {
  font-family: var(--hg-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hg-section--forest .hg-section__title,
.hg-section--basalt .hg-section__title {
  color: var(--hg-white);
}

.hg-section__lead {
  font-size: 1.15rem;
  max-width: 60ch;
  font-weight: 300;
}

.hg-section--forest .hg-section__lead,
.hg-section--basalt .hg-section__lead {
  color: var(--hg-mist);
}

/* ── Grid layouts ── */

.hg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ── Cards ── */

.hg-card {
  background: var(--hg-white);
  border-radius: var(--hg-radius);
  overflow: hidden;
  box-shadow: var(--hg-shadow);
  transition: transform var(--hg-transition);
}

.hg-card:hover {
  transform: translateY(-4px);
}

.hg-card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.hg-card__body {
  padding: 1.5rem;
}

.hg-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hg-forest);
  background: var(--hg-mist);
  padding: 0.25rem 0.6rem;
  border-radius: var(--hg-radius);
  margin-bottom: 0.75rem;
}

.hg-card__title {
  font-family: var(--hg-font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--hg-basalt);
}

.hg-card__meta {
  font-size: 0.85rem;
  color: var(--hg-forest);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hg-card__text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* ── Stats ── */

.hg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.hg-stat__num {
  font-family: var(--hg-font-display);
  font-size: 3rem;
  color: var(--hg-amber);
  line-height: 1;
}

.hg-stat__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  color: var(--hg-mist);
}

/* ── Features ── */

.hg-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.hg-feature {
  padding: 2rem;
  border-left: 3px solid var(--hg-amber);
}

.hg-feature__title {
  font-family: var(--hg-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--hg-basalt);
}

.hg-section--forest .hg-feature__title {
  color: var(--hg-white);
}

.hg-feature__text {
  font-size: 0.95rem;
}

.hg-section--forest .hg-feature__text {
  color: var(--hg-mist-dark);
}

/* ── CTA Banner ── */

.hg-cta {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hg-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hg-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 77, 58, 0.82);
}

.hg-cta__content {
  position: relative;
  z-index: 1;
  max-width: var(--hg-max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  width: 100%;
}

.hg-cta__title {
  font-family: var(--hg-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--hg-white);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hg-cta__text {
  color: var(--hg-mist);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ── Gallery ── */

.hg-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hg-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--hg-radius);
  aspect-ratio: 4 / 3;
}

.hg-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hg-gallery__item:hover img {
  transform: scale(1.05);
}

.hg-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(42, 46, 44, 0.85));
  color: var(--hg-white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Journal entries ── */

.hg-journal-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hg-journal-entry:nth-child(even) {
  direction: rtl;
}

.hg-journal-entry:nth-child(even) > * {
  direction: ltr;
}

.hg-journal-entry__img {
  border-radius: var(--hg-radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--hg-shadow);
}

.hg-journal-entry__date {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hg-amber);
  margin-bottom: 0.5rem;
}

.hg-journal-entry__title {
  font-family: var(--hg-font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.hg-journal-entry__text {
  color: #555;
  margin-bottom: 1rem;
}

/* ── Contact ── */

.hg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.hg-contact-info__item {
  margin-bottom: 1.75rem;
}

.hg-contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hg-forest);
  margin-bottom: 0.35rem;
}

.hg-contact-info__value {
  font-size: 1.1rem;
  color: var(--hg-basalt);
}

.hg-contact-info__value a {
  color: var(--hg-basalt);
}

.hg-contact-info__value a:hover {
  color: var(--hg-amber);
}

.hg-form {
  background: var(--hg-white);
  padding: 2.5rem;
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow);
}

.hg-form__group {
  margin-bottom: 1.25rem;
}

.hg-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hg-basalt);
  margin-bottom: 0.4rem;
}

.hg-form__input,
.hg-form__textarea,
.hg-form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--hg-font-body);
  font-size: 1rem;
  border: 2px solid var(--hg-mist-dark);
  border-radius: var(--hg-radius);
  background: var(--hg-mist);
  color: var(--hg-basalt);
  transition: border-color var(--hg-transition);
}

.hg-form__input:focus,
.hg-form__textarea:focus,
.hg-form__select:focus {
  outline: none;
  border-color: var(--hg-forest);
}

.hg-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.hg-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hg-form__check input {
  margin-top: 0.25rem;
  accent-color: var(--hg-forest);
}

/* ── Privacy ── */

.hg-legal {
  max-width: 780px;
}

.hg-legal h2 {
  font-family: var(--hg-font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--hg-forest);
  margin: 2.5rem 0 1rem;
}

.hg-legal h2:first-child {
  margin-top: 0;
}

.hg-legal p,
.hg-legal li {
  margin-bottom: 1rem;
  color: #444;
}

.hg-legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ── About image ── */

.hg-about-img {
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ── Trail detail badges ── */

.hg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hg-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--hg-radius);
  background: var(--hg-forest);
  color: var(--hg-white);
}

.hg-badge--amber {
  background: var(--hg-amber);
  color: var(--hg-basalt);
}

/* ── Footer ── */

.hg-footer {
  background: var(--hg-basalt);
  color: var(--hg-mist);
  padding: 4rem 1.5rem 2rem;
}

.hg-footer__grid {
  max-width: var(--hg-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.hg-footer__brand {
  font-family: var(--hg-font-display);
  font-size: 1.5rem;
  color: var(--hg-white);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.hg-footer__brand span {
  color: var(--hg-amber);
}

.hg-footer__tagline {
  font-size: 0.9rem;
  color: var(--hg-mist-dark);
  line-height: 1.5;
}

.hg-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hg-amber);
  margin-bottom: 1.25rem;
}

.hg-footer__links li {
  margin-bottom: 0.6rem;
}

.hg-footer__links a {
  color: var(--hg-mist);
  font-size: 0.9rem;
}

.hg-footer__links a:hover {
  color: var(--hg-amber);
}

.hg-footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.hg-footer__contact a {
  color: var(--hg-mist);
}

.hg-footer__contact a:hover {
  color: var(--hg-amber);
}

.hg-footer__bottom {
  max-width: var(--hg-max);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(215, 222, 216, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--hg-mist-dark);
}

.hg-footer__bottom a {
  color: var(--hg-mist-dark);
}

.hg-footer__bottom a:hover {
  color: var(--hg-amber);
}

/* ── Cookie bar ── */

.hg-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--hg-basalt);
  color: var(--hg-mist);
  padding: 1.25rem 1.5rem;
  display: none;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.hg-cookie--visible {
  display: block;
}

.hg-cookie__inner {
  max-width: var(--hg-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hg-cookie__text {
  font-size: 0.9rem;
  flex: 1;
  min-width: 240px;
}

.hg-cookie__text a {
  color: var(--hg-amber);
  text-decoration: underline;
}

.hg-cookie__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hg-cookie__btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--hg-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--hg-radius);
  cursor: pointer;
  transition: background var(--hg-transition);
}

.hg-cookie__btn--accept {
  background: var(--hg-amber);
  color: var(--hg-basalt);
}

.hg-cookie__btn--accept:hover {
  background: var(--hg-white);
}

.hg-cookie__btn--decline {
  background: transparent;
  color: var(--hg-mist);
  border: 1px solid var(--hg-mist-dark);
}

.hg-cookie__btn--decline:hover {
  border-color: var(--hg-white);
  color: var(--hg-white);
}

/* ── Responsive: 900px ── */

@media (max-width: 900px) {
  .hg-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--hg-basalt);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--hg-transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .hg-nav--open {
    right: 0;
  }

  .hg-burger {
    display: flex;
    z-index: 101;
  }

  .hg-grid-2,
  .hg-grid-3,
  .hg-grid-4,
  .hg-contact-grid,
  .hg-journal-entry {
    grid-template-columns: 1fr;
  }

  .hg-journal-entry:nth-child(even) {
    direction: ltr;
  }

  .hg-features,
  .hg-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hg-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hg-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hg-hero__content {
    padding: 7rem 1.5rem 4rem;
  }
}

/* ── Responsive: 560px ── */

@media (max-width: 560px) {
  .hg-section {
    padding: 3.5rem 1.25rem;
  }

  .hg-features,
  .hg-stats,
  .hg-gallery,
  .hg-footer__grid {
    grid-template-columns: 1fr;
  }

  .hg-hero__actions {
    flex-direction: column;
  }

  .hg-btn {
    text-align: center;
    width: 100%;
  }

  .hg-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hg-cookie__actions {
    justify-content: stretch;
  }

  .hg-cookie__btn {
    flex: 1;
  }

  .hg-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hg-form {
    padding: 1.5rem;
  }
}
