/* ---------- Hero ---------- */
.hero-home {
  position: relative;
  min-height: 110vh;
  padding-top: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-home__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 120vh;
  min-width: 213.33vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 7, 0, 0.15) 0%, rgba(14, 7, 0, 0.65) 100%);
  z-index: 1;
}

.hero-home__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px 72px;
  max-width: 900px;
}

.hero-home__title {
  font-family: var(--font-display);
  font-size: clamp(32.1px, 6.12vw, 67.3px);
  line-height: 1.05;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 16px;
}

.hero-home__subtitle {
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-home__cta {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.hero-home__cta:hover,
.hero-home__cta:focus-visible {
  background: transparent;
  color: #fff;
  text-decoration: none;
}

/* ---------- Home intro plan CTA ---------- */
.home-intro .btn {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-text);
}

.home-intro .btn:hover,
.home-intro .btn:focus,
.home-intro .btn:active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* ---------- Section basics ---------- */
.home-section {
  padding: 30px 0;
}

.home-section:last-child {
  padding-bottom: 0;
}

.home-section--tight {
  padding: 24px 0 0;
}

.home-section__title,
.home-section__lead {
  text-align: center;
}

.home-section__title {
  font-size: clamp(21.4px, 3.06vw, 30.6px);
  margin-bottom: 16px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.home-section__lead {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.6;
}

p.home-section__lead,
h2.home-section__lead {
  font-family: var(--font-body);
  font-weight: 400;
}

.home-intro p {
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Activities grid ---------- */
.activity-card {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.activity-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 7, 0, 0) 40%, rgba(14, 7, 0, .75) 100%);
  z-index: 1;
}

.activity-card__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 20px;
  color: #fff;
  font-size: 15.3px;
  text-align: center;
}

.activity-card:hover img {
  transform: scale(1.08);
}

.activity-card:hover,
.activity-card:focus-visible {
  text-decoration: none;
}

/* ---------- Activities icons (home) ---------- */
.home-activities__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
  justify-content: center;
}

.home-activities__grid .col {
  flex: 1 1 0;
  min-width: 0;
}

.activity-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
}

.activity-icon:hover,
.activity-icon:focus-visible {
  text-decoration: none;
}

.activity-icon__circle {
  width: 80px;
  height: 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
  transition: transform var(--transition);
}

.activity-icon:hover .activity-icon__circle {
  transform: scale(1.06);
}

.activity-icon__title {
  line-height: 1.3;
}

.home-activities__grid .activity-icon__title {
  font-size: 15px;
}

/* ---------- Fauna tooltip grid ---------- */
.fauna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 16px;
}

.fauna-item {
  position: relative;
}

.fauna-item__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  border: 3px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.fauna-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fauna-item:hover .fauna-item__thumb {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.fauna-item__name {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text);
}

/* ---------- Fauna gallery (home) ---------- */
.fauna-grid--gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 0 12px;
}

.fauna-grid--gallery .fauna-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.fauna-grid--gallery .fauna-item__thumb {
  border-radius: 0;
  border: 0;
  width: 100%;
  height: 100%;
}

.fauna-grid--gallery .fauna-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.fauna-grid--gallery .fauna-item:hover .fauna-item__thumb img,
.fauna-grid--gallery .fauna-item:focus-visible .fauna-item__thumb img {
  transform: scale(1.08);
}

.fauna-grid--gallery .fauna-item__name {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(14, 7, 0, .75);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: bottom .3s ease, opacity .3s ease;
  white-space: normal;
  z-index: 2;
  pointer-events: none;
}

.fauna-grid--gallery .fauna-item:hover .fauna-item__name,
.fauna-grid--gallery .fauna-item:focus-visible .fauna-item__name {
  bottom: 0;
  opacity: 1;
}

/* ---------- Explore map ---------- */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.map-frame iframe {
  width: 100%;
  height: 600px;
  border: 0;
}

/* ---------- Home photo slider ---------- */
.home-section--slider {
  padding: 0;
  margin: 40px 0;
  background: #0e0700;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
}

.home-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.home-slider__bg {
  position: absolute;
  inset: 0;
}

.home-slider__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .05) 100%);
  z-index: 1;
}

.home-slider__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.home-slider__content .container {
  height: 100%;
  max-width: 520px;
  margin-left: 40px;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
}

.home-slider__panel {
  width: 100%;
  padding: 48px 40px;
  background: rgba(28, 22, 16, .82);
  color: #fff;
}

.home-slider__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(24.5px, 3.825vw, 41.3px);
  line-height: 1.1;
  color: #fff;
}

.home-slider__title a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
}

.home-slider__title a:hover,
.home-slider__title a:focus-visible {
  color: var(--color-accent, #c7a87a);
  text-decoration: none;
}

.home-slider__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #f5f2ef;
}

.home-slider__pagination-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 3;
  pointer-events: none;
}

.home-slider__pagination-wrap .container {
  max-width: 520px;
  margin-left: 40px;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  pointer-events: auto;
}

.home-slider .swiper-pagination {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  text-align: center;
}

.home-slider .swiper-pagination-bullet {
  width: 46px;
  height: 46px;
  background: transparent;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}

.home-slider .swiper-pagination-bullet:hover,
.home-slider .swiper-pagination-bullet:focus-visible {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

.home-slider .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
  border-color: #fff;
}

.home-slider__bullet-num {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1;
}

.home-slider .swiper-pagination-bullet-active .home-slider__bullet-num {
  color: #0e0700;
}

/* ---------- FAQ accordion ---------- */
.home-faq .accordion {
  max-width: 900px;
  margin: 0 auto;
}

.home-faq .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: transparent;
}

.home-faq .accordion-collapse {
  transition: height 0.35s ease, opacity 0.35s ease;
}

.home-faq .accordion-button {
  font-family: var(--font-display);
  font-size: 19px;
  padding: 18px 0;
  background: transparent;
  gap: 16px;
  align-items: center;
}

.home-faq .accordion-button:not(.collapsed) {
  color: var(--color-text);
  background: transparent;
  box-shadow: none;
}

.home-faq .accordion-button:focus {
  box-shadow: none;
}

.home-faq .accordion-button::after {
  transition: transform 0.35s ease;
}

.home-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.home-faq .accordion-body {
  padding: 0 0 24px 0;
  color: var(--color-muted);
}

.home-faq .accordion-body a {
  color: var(--color-text);
  text-decoration: underline;
}

/* ---------- Quick links (Cómo llegar / Sobre el parque / Dónde dormir) ---------- */
.quick-links {
  padding: 0;
  background: transparent;
}

.quick-links .container {
  max-width: 100%;
  padding: 0;
}

.quick-links .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.quick-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding: 60px 32px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 7, 0, .5);
  z-index: 0;
}

.quick-link-card>* {
  position: relative;
  z-index: 1;
}

.quick-link-card h2 {
  font-family: var(--font-body);
  font-size: 19.9px;
  color: #fff;
  margin-bottom: 12px;
}

.quick-link-card h2 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.quick-link-card h2 a:hover {
  opacity: 0.8;
}

.quick-link-card p {
  color: rgba(255, 255, 255, .9);
  margin-bottom: 0;
}

.quick-links .col-md-4:nth-child(1) .quick-link-card {
  background-image: url('../img/home/Mask-Group-35.webp');
}

.quick-links .col-md-4:nth-child(2) .quick-link-card {
  background-image: url('../img/home/IMG_0280.webp');
}

.quick-links .col-md-4:nth-child(3) .quick-link-card {
  background-image: url('../img/home/Freyja-Febrero-2024-Horacio-Barbieri.webp');
}

/* ---------- Media queries ---------- */
@media (max-width: 1199.98px) {
  .home-activities__grid {
    gap: 4rem 2rem;
  }
  .home-activities__grid .col {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 1024px) {
  .fauna-grid--gallery {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 10px;
  }
}

@media (max-width: 991.98px) {
  .home-slider {
    height: 72vh;
    min-height: 520px;
  }

  .home-slider__content .container,
  .home-slider__pagination-wrap .container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    max-width: 92%;
    justify-content: center;
  }

  .home-slider__panel {
    padding: 36px 24px;
    text-align: center;
  }

  .home-slider .swiper-pagination {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .home-section {
    padding: 40px 0;
  }
}

@media (max-width: 767.98px) {
  .home-section {
    padding: 48px 0;
  }

  .home-section--slider {
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .home-activities__grid {
    gap: 2.5rem;
  }
  .home-activities__grid .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .map-frame iframe {
    height: 420px;
  }
}

@media (max-width: 575.98px) {
  .fauna-grid--gallery {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 8px;
  }
}

@media (min-width: 576px) {
  .home-faq .accordion-body {
    padding: 0 0 24px 0;
  }
}

@media (min-width: 1450px) {
  .home-slider__panel {
    max-width: 60%;
  }
}