:root {
  --paper: oklch(96.8% 0.011 110);
  --ink: oklch(22% 0.018 140);
  --soft-ink: oklch(44% 0.018 140);
  --muted: oklch(62% 0.014 140);
  --line: oklch(77% 0.018 118);
  --leaf: oklch(34% 0.095 145);
  --leaf-soft: oklch(74% 0.075 145);
  --sand: oklch(82% 0.066 84);
  --paper-on-leaf: oklch(96.5% 0.012 110);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 8px;
  --shadow-soft: 0 18px 60px oklch(22% 0.018 140 / 0.1);
  --shadow-ring:
    0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06),
    0 2px 4px 0 rgba(0, 0, 0, 0.04);
  --shadow-ring-hover:
    0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 5px -1px rgba(0, 0, 0, 0.08),
    0 8px 18px -8px rgba(0, 0, 0, 0.14);
  --font-sans: "Montserrat", Arial, sans-serif;
  --text-caption: 0.72rem;
  --text-meta: 0.78rem;
  --text-body: 1rem;
  --text-lead: clamp(1.02rem, 1.15vw, 1.16rem);
  --text-section: clamp(1.75rem, 3vw, 3.2rem);
  --text-hero: clamp(3.2rem, 7vw, 7rem);
  --leading-tight: 0.98;
  --leading-title: 1.06;
  --leading-body: 1.6;
  --leading-caption: 1.3;
  --track-label: 0.12em;
  --track-action: 0.08em;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-optical-sizing: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

body::selection {
  color: var(--paper-on-leaf);
  background: var(--leaf);
}

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

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

a:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 4px;
}

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon-sprite {
  display: none;
}

.page-header,
.activity-page,
.page-footer {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
}

.page-header {
  padding: clamp(24px, 4vw, 42px) 0 clamp(54px, 8vw, 96px);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 56px);
}

.header-logo img,
.footer-logo img {
  width: clamp(106px, 10vw, 140px);
  height: auto;
  outline: 0;
}

.header-links {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: var(--soft-ink);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.header-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms var(--ease-out-quint);
}

.header-links a:hover {
  color: var(--leaf);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--leaf-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-label);
  line-height: var(--leading-caption);
  text-transform: uppercase;
}

.icon-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-label svg {
  width: 16px;
  height: 16px;
  opacity: 0.88;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
}

h2 {
  margin-bottom: 0;
  font-size: var(--text-section);
  line-height: var(--leading-title);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.16rem, 1.35vw, 1.38rem);
  line-height: 1.16;
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: end;
  padding-bottom: clamp(54px, 9vw, 116px);
}

.hero-copy > p:not(.eyebrow),
.copy-block p,
.footer-brand p {
  max-width: 66ch;
  color: var(--soft-ink);
  font-size: var(--text-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-kicker {
  color: var(--leaf);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 16px 14px 18px;
  color: var(--paper-on-leaf);
  background: var(--leaf);
  box-shadow: var(--shadow-ring);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: var(--track-action);
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    color 180ms var(--ease-out-quint),
    background-color 180ms var(--ease-out-quint),
    transform 180ms var(--ease-out-quint),
    box-shadow 180ms var(--ease-out-quint);
}

.button:hover {
  box-shadow: var(--shadow-ring-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.96);
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: var(--track-action);
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-out-quint);
}

.text-link:hover {
  transform: translateX(3px);
}

.hero-image {
  margin: 0;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  box-shadow: var(--shadow-soft);
}

.punta-indio-page .page-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  width: min(100% - 56px, 1320px);
  padding: clamp(24px, 3.2vw, 42px) 0 0;
}

.punta-indio-page .header-logo img {
  width: clamp(112px, 9vw, 146px);
}

.punta-indio-page .header-links {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}

.punta-indio-page .header-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.punta-indio-page .activity-page {
  width: min(100% - 40px, 1320px);
}

.punta-indio-hero {
  position: relative;
  min-height: 100svh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  place-items: center;
  padding: clamp(118px, 12vw, 172px) 24px clamp(66px, 7vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(0, 34, 83, 0.42) 0%,
      rgba(0, 51, 105, 0.14) 34%,
      rgba(0, 23, 45, 0.12) 62%,
      rgba(0, 27, 28, 0.44) 100%
    ),
    url("../../assets/images/PuntaIndio/punta-indio-hiking-experience-hero.jpg")
      center / cover no-repeat;
}

.punta-indio-hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.punta-indio-hero-logo {
  width: min(74vw, 980px);
  margin-top: clamp(18px, 8vh, 92px);
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.2));
}

.punta-indio-hero-location {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 5vw, 56px);
  width: min(100% - 40px, 760px);
  margin: 0;
  transform: translateX(-50%);
  color: #fff;
  font-size: clamp(0.72rem, 1.8vw, 1.18rem);
  font-weight: 400;
  letter-spacing: clamp(0.2em, 1.3vw, 0.48em);
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  text-transform: uppercase;
}

.punta-indio-page .activity-facts {
  margin-top: clamp(40px, 7vw, 88px);
}

.activity-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(22px, 4vw, 36px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.activity-facts div,
.detail-list div,
.flow-items div {
  display: grid;
  gap: 8px;
}

.activity-facts span,
.detail-list span,
.flow-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--track-label);
  line-height: var(--leading-caption);
  text-transform: uppercase;
}

.activity-facts span svg,
.detail-list span svg,
.flow-items span svg {
  width: 16px;
  height: 16px;
  color: var(--leaf-soft);
}

.activity-facts strong,
.detail-list strong,
.flow-items strong {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: pretty;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(56px, 9vw, 112px) 0;
}

.copy-block h2 {
  max-width: 760px;
  margin-bottom: 28px;
}

.detail-panel {
  padding-left: 38px;
  border-left: 1px solid var(--line);
}

.detail-list {
  display: grid;
  gap: 22px;
}

.gear-section,
.trail-gallery,
.activity-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 78px);
  align-items: start;
  padding: clamp(32px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.gear-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gear-list li {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--soft-ink);
  background: oklch(93% 0.015 112);
  box-shadow: inset 0 0 0 1px oklch(77% 0.018 118 / 0.62);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: pretty;
}

.gear-list li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--leaf-soft);
}

.gallery-heading h2 {
  max-width: 640px;
}

.gallery-slider {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.gallery-track {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 2vw, 18px);
  width: max-content;
  animation: gallery-drift 95s linear infinite;
}

.gallery-slider:hover .gallery-track,
.gallery-slider:focus-within .gallery-track {
  animation-play-state: paused;
}

.gallery-slide {
  width: clamp(220px, 24vw, 360px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  transition:
    filter 220ms var(--ease-out-quint),
    transform 220ms var(--ease-out-quint);
}

.gallery-slide:hover img,
.gallery-slide:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  place-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: clamp(18px, 4vw, 42px);
  background: rgba(4, 15, 17, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out-quint);
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-frame {
  width: min(100%, 1120px);
  margin: 0;
}

.gallery-modal-frame img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.gallery-modal-frame figcaption {
  min-height: 22px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--track-label);
  line-height: var(--leading-caption);
  text-align: center;
  text-transform: uppercase;
}

.gallery-modal-close,
.gallery-modal-arrow {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--paper-on-leaf);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition:
    background-color 180ms var(--ease-out-quint),
    transform 180ms var(--ease-out-quint);
}

.gallery-modal-close:hover,
.gallery-modal-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.gallery-modal-close:active,
.gallery-modal-arrow:active {
  transform: scale(0.96);
}

.gallery-modal-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-modal-arrow svg {
  width: 22px;
  height: 22px;
}

.gallery-modal-prev {
  grid-column: 1;
}

.gallery-modal-frame {
  grid-column: 2;
}

.gallery-modal-next {
  grid-column: 3;
}

@keyframes gallery-drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - clamp(6px, 1vw, 9px)));
  }
}

.flow-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.page-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  padding: clamp(56px, 8vw, 96px) 0;
}

.footer-brand p {
  margin: 24px 0 0;
}

.footer-contact {
  display: grid;
  justify-items: end;
}

.footer-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-size: clamp(0.88rem, 1.15vw, 0.96rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  transition:
    color 180ms var(--ease-out-quint),
    transform 180ms var(--ease-out-quint);
}

.footer-contact a:hover {
  color: var(--leaf);
  transform: translateX(3px);
}

.footer-contact svg {
  opacity: 0.84;
}

.reveal {
  transition:
    opacity 720ms var(--ease-out-expo),
    transform 720ms var(--ease-out-expo),
    filter 720ms var(--ease-out-quart);
  transition-delay: var(--delay, 0ms);
}

.motion-ready .reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 24px, 0);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1120px) {
  .activity-hero,
  .content-grid,
  .gear-section,
  .trail-gallery,
  .activity-flow,
  .page-footer {
    grid-template-columns: 1fr;
  }

  .activity-hero {
    align-items: start;
  }

  .hero-image img {
    aspect-ratio: 16 / 10;
  }

  .gear-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .page-header,
  .activity-page,
  .page-footer {
    width: min(100% - 28px, 1320px);
  }

  .page-header {
    padding-bottom: 48px;
  }

  .punta-indio-page .page-header {
    left: 50%;
    right: auto;
    width: 100%;
    padding-inline: 14px;
    padding-top: 22px;
    transform: translateX(-50%);
  }

  .header-nav {
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
  }

  .header-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    justify-content: stretch;
    gap: 8px 14px;
    font-size: 0.68rem;
    text-align: center;
  }

  .header-links a {
    justify-content: center;
  }

  .punta-indio-page .header-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    justify-content: center;
    gap: 8px;
    width: min(100%, 520px);
    text-align: center;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.35rem);
  }

  .punta-indio-hero {
    min-height: 100svh;
    padding: 132px 18px 64px;
    background-position: center top;
  }

  .punta-indio-hero-logo {
    width: min(92vw, 520px);
    margin-top: clamp(20px, 9vh, 72px);
  }

  .punta-indio-hero-location {
    bottom: 28px;
    width: min(100% - 32px, 360px);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  .hero-actions,
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .activity-facts,
  .flow-items {
    grid-template-columns: 1fr;
  }

  .gear-list {
    grid-template-columns: 1fr;
  }

  .trail-gallery {
    gap: 22px;
  }

  .gallery-slider {
    margin-inline: -14px;
    padding-inline: 14px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .gallery-slide {
    width: min(76vw, 320px);
  }

  .gallery-modal {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 62px 14px 24px;
  }

  .gallery-modal-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    grid-row: 2;
    margin-top: 10px;
  }

  .gallery-modal-prev {
    grid-column: 1;
    justify-self: end;
  }

  .gallery-modal-next {
    grid-column: 2;
    justify-self: start;
  }

  .footer-contact a {
    width: 100%;
  }
  /* User Edits */

  .detail-panel {
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
}

@media (hover: none) {
  .button:hover,
  .text-link:hover,
  .footer-contact a:hover {
    transform: none;
  }

  .button:hover {
    box-shadow: var(--shadow-ring);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal.is-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
