/* ===== home-hero-editorial ===== */
/* Centered homepage hero, isolated from every other carousel and page section. */
.home-index #example.home-hero-tourimo {
  --hero-height: max(720px, 100svh);
  --hero-red: #ef2940;
  margin-top: 0;
  background: #142727;
  isolation: isolate;
}
.home-index #example .home-hero-frame,
.home-index #example .home-hero-media,
.home-index #example .home-hero-image,
.home-index #example .home-hero-layout {
  min-height: var(--hero-height) !important;
}
.home-index #example .home-hero-frame { height: var(--hero-height); }
.home-index #example .home-hero-media { position: absolute; inset: 0; }
.home-index #example .home-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: scale(1.025);
  transition: transform 7s ease-out;
}
.home-index #example .swiper-slide-active .home-hero-image { transform: scale(1.075); }
.home-index #example .home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,20,22,.18) 0%, rgba(8,20,22,.32) 40%, rgba(8,20,22,.44) 72%, rgba(8,20,22,.82) 100%);
  pointer-events: none;
}
.home-index #example .home-hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  padding: 150px 32px 130px;
  z-index: 2;
}
.home-index #example .home-hero-copy {
  flex: 0 1 1040px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}
.home-index #example .home-hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.home-index #example .home-hero-kicker::before,
.home-index #example .home-hero-kicker::after {
  content: '';
  flex: 0 0 50px;
  height: 3px;
  background: var(--hero-red);
}
.home-index #example .home-hero-title {
  max-width: 960px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,.12);
  opacity: 1;
  transform: none;
  transition: opacity 450ms ease;
}
.home-index #example .home-hero-subtitle {
  max-width: 660px;
  margin: 0 auto;
  color: #f0f2f1;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  opacity: 1;
  transform: none;
}
.home-index #example .home-hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 18px;
  opacity: 1;
  transform: none;
}
.home-index #example .home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 1 290px;
  max-width: 100%;
  border: 1px solid #ffffff;
  border-radius: 0;
  background: #111111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  line-height: 1.4;
  
  box-shadow: none;
  text-decoration: none;
  transition: color 200ms ease;
}
.home-index #example .home-hero-btn:hover {
  background: #111111;
  color: #fff;
  transform: none;
}
.home-index #example .home-hero-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.home-index #example .home-hero-controls {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  color: #fff;
}
.home-index #example .home-hero-arrows { position: absolute; inset: 0; pointer-events: none; }
.home-index #example .home-hero-controls :is(.swiper-button-prev,.swiper-button-next) {
  display: grid !important;
  place-items: center;
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 0;
  background: rgba(12,24,25,.25);
  backdrop-filter: none;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: color 200ms ease;
}
.home-index #example .home-hero-controls .swiper-button-prev { left: 28px; right: auto; }
.home-index #example .home-hero-controls .swiper-button-next { right: 28px; left: auto; }
.home-index #example .home-hero-controls :is(.swiper-button-prev,.swiper-button-next):hover { background: var(--hero-red); border-color: var(--hero-red); }
.home-index #example .home-hero-controls :is(.swiper-button-prev,.swiper-button-next)::after { content: none; }
.home-index #example .home-hero-controls svg { width: 24px; height: 24px; }
.home-index #example .home-hero-progress {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 2px; background: rgba(255,255,255,.3);
}
.home-index #example .home-hero-progress > span { display: block; width: var(--hero-progress, 33.333%); height: 100%; background: var(--hero-red); transition: width 600ms ease; }
.home-index #example :is(a,button):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 1024px) {
  .home-index #example.home-hero-tourimo { --hero-height: max(720px, 100svh); }
  .home-index #example .home-hero-layout { padding: 140px 32px 130px; }
  .home-index #example .home-hero-title { font-size: clamp(2.5rem, 5.6vw, 3.75rem); max-width: 800px; }
}
@media (max-width: 767px) {
  .home-index #example.home-hero-tourimo { --hero-height: max(680px, 100svh); }
  .home-index #example .home-hero-layout { padding: 138px 24px 124px; }
  .home-index #example .home-hero-title { font-size: clamp(2.2rem, 8.8vw, 3rem); line-height: 1.16; letter-spacing: -.025em; margin-bottom: 22px; }
  .home-index #example .home-hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.home-index #example .home-hero-kicker::before,
.home-index #example .home-hero-kicker::after {
  content: '';
  flex: 0 0 50px;
  height: 3px;
  background: var(--hero-red);
}
  .home-index #example .home-hero-subtitle { font-size: 16px; line-height: 1.55; }
  .home-index #example .home-hero-actions { margin-top: 28px; }
  .home-index #example .home-hero-btn { min-height: 52px; padding: 12px 20px; gap: 16px; font-size: 13px; }

  .home-index #example .home-hero-progress { bottom: 30px; width: 120px; }
  .home-index #example .home-hero-controls :is(.swiper-button-prev,.swiper-button-next) { width: 44px; height: 44px; }
  .home-index #example .home-hero-controls .swiper-button-prev { left: 12px; }
  .home-index #example .home-hero-controls .swiper-button-next { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-index #example .home-hero-image,
  .home-index #example .swiper-slide-active .home-hero-image { transform: none; }
  .home-index #example * { transition: none !important; }
}

/* A diagonal red wipe stays behind the text and inside the square button. */
.home-index #example .home-hero-btn::before {
  content: '';
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 130%;
  background: var(--hero-red);
  transform: translateX(-110%) skewX(-18deg);
  transition: transform 500ms cubic-bezier(.22,.61,.36,1);
  z-index: 0;
  pointer-events: none;
}
.home-index #example .home-hero-btn > :is(span,svg) { position: relative; z-index: 1; }
.home-index #example .home-hero-btn:hover::before,
.home-index #example .home-hero-btn:focus-visible::before { transform: translateX(-10%) skewX(-18deg); }
@media (max-width: 767px) {
  .home-index #example .home-hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .home-index #example .home-hero-btn { flex: 0 0 auto; width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-index #example .home-hero-btn::before { transition: none; }
}

/* Clear hierarchy: solid brand red primary action, dark outlined secondary. */
.home-index #example .home-hero-btn-primary {
  background: var(--hero-red);
  border-color: var(--hero-red);
}
.home-index #example .home-hero-btn-primary:hover,
.home-index #example .home-hero-btn-primary:focus-visible {
  background: var(--hero-red);
  border-color: var(--hero-red);
}
.home-index #example .home-hero-btn-primary::before { background: #d01f34; }

/* ===== home-typography ===== */
/* Approved reading font for homepage descriptions only; preserve display hierarchy. */
.home-index :is(.home-hero-subtitle,.home-guided-intro,.home-guided-card-text,.travel-route-text,.travel-cusco-text,.travel-cusco-note p,.rainbow-parallax-text p),
.home-index :is(.home-hero-subtitle,.home-guided-intro,.home-guided-card-text,.travel-route-text,.travel-cusco-text,.travel-cusco-note p,.rainbow-parallax-text p) :is(a,span,strong,b,em,sup,sub) {
  font-family: 'Inter', sans-serif !important;
}
.home-index :is(.home-hero-subtitle,.home-guided-intro,.home-guided-card-text,.travel-route-text,.travel-cusco-text,.travel-cusco-note p,.rainbow-parallax-text p) { font-weight: 350; }
.home-index :is(.home-hero-subtitle,.home-guided-intro,.home-guided-card-text,.travel-route-text,.travel-cusco-text,.travel-cusco-note p,.rainbow-parallax-text p) :is(a,span,em,sup,sub) { font-weight: inherit; }
.home-index :is(.home-hero-subtitle,.home-guided-intro,.home-guided-card-text,.travel-route-text,.travel-cusco-text,.travel-cusco-note p,.rainbow-parallax-text p) :is(strong,b) { font-weight: 550; }

/* Give section headings a consistent presence without increasing their size. */
.home-index :is(.home-section-title,.home-guided h2,.travel-cusco-title,.rainbow-parallax-title) { font-weight: 700; }

/* A clear, consistent heading weight; preserve the approved hero typography. */
.home-index :is(h1,h2,h3,h4,h5,h6,.home-guided-card-title,.travel-route-title,.cusco-discover-card-title,.home-destination-title,.featured-posts-card-title):not(:where(.home-hero-tourimo *)) {
  font-weight: 700 !important;
}

/* Match the stronger editorial headings with firmer section labels. */
.home-index :is(.home-section-kicker,.home-guided-kicker,.travel-cusco-kicker,.rainbow-parallax-kicker):not(:where(.home-hero-tourimo *)) { font-weight: 700 !important; }

/* Guided Adventures: soft charcoal reading copy on the white cards. */
.home-index .home-guided :is(.home-guided-intro,.home-guided-card-text) { color: #242424; }

/* Lima to Cusco: match the approved soft charcoal reading color. */
.home-index .travel-cusco-copy :is(.travel-cusco-text,.travel-cusco-note p) { color: #242424; }

/* Rainbow Mountain: match the homepage reading size and heading scale. */
.home-index .rainbow-parallax-text,
.home-index .rainbow-parallax-text p { font-size: 1rem; line-height: 1.75; }
.home-index .rainbow-parallax-title { font-size: clamp(2.15rem,3.4vw,2.85rem); line-height: 1.08; }
@media(max-width:767px) {
 .home-index .rainbow-parallax-title { font-size: clamp(2rem,8vw,2.3rem); }
}
