/* Shared hero system. Loaded after page CSS; every rule stays inside .hero.
   Repeated .hero specificity overrides legacy page variants without !important. */
.hero.hero{
  min-height:calc(100vh - var(--header-h) - 1px);
  min-height:calc(100dvh - var(--header-h) - 1px);
  padding:0;
  align-items:center;
  isolation:isolate;
  background-color:#102b43;
}
.hero.hero::before{
  background:linear-gradient(90deg,rgba(7,23,39,.88),rgba(7,23,39,.62) 58%,rgba(7,23,39,.28)),linear-gradient(0deg,rgba(7,23,39,.38),transparent 65%);
  pointer-events:none;
}
.hero.hero > .container{
  width:min(calc(100% - 40px),var(--container));
  max-width:none;
  margin-inline:auto;
}
.hero.hero .hero-inner{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  width:100%;
  max-width:960px;
  padding:56px 0;
  min-width:0;
}
.hero.hero .hero-inner > *{min-width:0}
.hero.hero .hero-breadcrumb{
  display:block;
  width:auto;
  margin:0 0 4px;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  color:rgba(255,255,255,.86);
  font-size:.75rem;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.hero.hero .hero-breadcrumb a{
  display:inline-block;
  padding-block:4px;
  color:inherit;
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}
.hero.hero .eyebrow{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  font-size:.7rem;
  line-height:1.6;
  letter-spacing:.08em;
  color:#d7e8f0;
}
.hero.hero h1{
  max-width:22ch;
  margin:0;
  font-size:clamp(2.75rem,4.4vw,4rem);
  line-height:1.08;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
  text-wrap:balance;
}
.hero.hero p{
  max-width:62ch;
  margin:0;
  font-size:1.05rem;
  line-height:1.65;
  color:#f1f5f8;
}
.hero.hero .hero-facts,
.hero.hero .hero-quick-info,
.hero.hero .meta-tags,
.hero.hero .trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  margin:0;
  padding:0;
}
.hero.hero .hero-facts > span,
.hero.hero .hero-quick-info > span,
.hero.hero .meta-tags > span,
.hero.hero .trust > .chip{
  display:block;
  max-width:100%;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
  color:#e4edf3;
  font-size:.82rem;
  line-height:1.6;
  font-weight:600;
  overflow-wrap:break-word;
}
.hero.hero .hero-actions,
.hero.hero .trip-decision-actions,
.hero.hero .public-departure-hero-actions{
  display:flex;
  flex-direction:row;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:6px 0 0;
  padding:0;
}
.hero.hero .cta-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  max-width:100%;
  height:auto;
  margin:0;
  padding:13px 22px;
  font-size:.9rem;
  line-height:1.45;
  text-align:center;
  white-space:normal;
  overflow-wrap:break-word;
}
.hero.hero .cta-btn--ghost{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:none;
  color:#fff;
}
.hero.hero .cta-btn--ghost:hover{background:rgba(255,255,255,.18)}
.hero.hero :is(a,button):focus-visible{outline:3px solid #ffe09b;outline-offset:4px}
.hero.hero .trip-key-requirement{
  padding:12px 16px;
  color:#654607;
  font-size:.9rem;
  line-height:1.55;
}
.hero.hero .scroll-indicator{
  position:absolute;
  z-index:3;
  bottom:12px;
  right:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:rgba(7,23,39,.55);
}
.hero.hero.hero--compact .hero-inner,
.hero.hero.booking-hero .hero-inner{padding-block:32px;max-width:860px}
.hero.hero.hero--compact h1,
.hero.hero.booking-hero h1{font-size:clamp(2rem,3.4vw,3rem);max-width:26ch}
.hero.hero .hero-update{
  margin:0;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
  font-size:.82rem;
  line-height:1.6;
}
/* Keep the live dashboard and all its IDs inside the status hero. */
.hero.hero.hero--cataratas-hoy .hero-inner{max-width:none}
.hero.hero .cataratas-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:20px;
  width:100%;
  align-items:center;
}
.hero.hero .cataratas-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.hero.hero .hero-status-details{width:100%;max-width:680px}
.hero.hero .hero-visit-details{width:100%;max-width:760px}
.hero.hero .hero-visit-details > summary{
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:10px 0;
  color:#e4edf3;
  font-size:.82rem;
  line-height:1.6;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:4px;
}
.hero.hero .hero-visit-details > summary:focus-visible{outline:3px solid #ffe09b;outline-offset:4px}
.hero.hero .hero-visit-details[open] > summary{margin-bottom:8px}
.hero.hero .hero-status-details > summary{
  display:list-item;
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:10px 0;
  color:#fff;
  font-size:.9rem;
  font-weight:600;
  line-height:1.6;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:4px;
}
.hero.hero .hero-status-details > summary:focus-visible{outline:3px solid #ffe09b;outline-offset:4px}
.hero.hero .hero-status-details[open] > summary{margin-bottom:12px}
.hero.hero .cataratas-status-card{padding:24px;max-width:560px}
.hero.hero .cataratas-status-card .status-value{font-size:clamp(1.6rem,2.3vw,2.2rem);line-height:1.15;letter-spacing:-.025em}
.hero.hero .cataratas-status-card p{color:#45596b;font-size:.9rem;line-height:1.55;margin-bottom:16px}
.hero.hero .status-metric{padding:12px;border-radius:12px}
.hero.hero .status-metric--main{padding:14px}
.hero.hero .status-metrics{gap:8px}
@media(max-width:900px){
  .hero.hero .cataratas-hero-grid{grid-template-columns:1fr;gap:28px}
  .hero.hero .cataratas-status-card{justify-self:start;width:100%;max-width:680px}
}
@media(max-width:768px){
  .hero.hero::before{background:linear-gradient(90deg,rgba(7,23,39,.86),rgba(7,23,39,.7)),linear-gradient(0deg,rgba(7,23,39,.25),transparent)}
  .hero.hero .hero-inner{padding:32px 0;gap:14px}
  .hero.hero:has(> .scroll-indicator) .hero-inner{padding-bottom:80px}
  .hero.hero h1{font-size:clamp(2rem,7.7vw,2.65rem);max-width:24ch;line-height:1.12}
  .hero.hero p{font-size:1rem;line-height:1.6}
  .hero.hero .hero-actions,
  .hero.hero .trip-decision-actions,
  .hero.hero .public-departure-hero-actions{flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .hero.hero .hero-actions .cta-btn,
  .hero.hero .trip-decision-actions .cta-btn,
  .hero.hero .public-departure-hero-actions > *{width:100%}
  .hero.hero .hero-actions .cta-btn--ghost{
    width:auto;
    align-self:flex-start;
    justify-content:flex-start;
    min-height:44px;
    padding:8px 0;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
    backdrop-filter:none;
    text-decoration:underline;
    text-underline-offset:4px;
  }
  .hero.hero .trip-decision-actions > a:last-child:not(.cta-btn){padding:8px 0;min-height:44px}
  .hero.hero .hero-facts,
  .hero.hero .hero-quick-info,
  .hero.hero .trust{gap:6px 14px}
  .hero.hero .cataratas-status-card{padding:18px;border-radius:20px}
  .hero.hero .status-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero.hero .status-metric--wide{grid-column:1 / -1}
  .hero.hero .status-live-row{flex-wrap:wrap;line-height:1.5}
  .hero.hero .status-card-head{flex-direction:row;flex-wrap:wrap;align-items:center}
  .hero.hero .status-metric strong{overflow-wrap:anywhere}
}

/* Home-only photographic treatment; content and fullscreen layout stay shared. */
.hero.hero.hero-home{
  background-position:62% 100%;
}
.hero.hero.hero-home > .container{
  width:min(calc(100% - 9vw),var(--container));
}
.hero.hero.hero-home::after{
  inset:0;
  height:auto;
  z-index:0;
  background:inherit;
  background-size:cover;
  transform:scale(1.28);
  transform-origin:62% 100%;
  pointer-events:none;
}
.hero.hero.hero-home::before{
  background:
    linear-gradient(90deg,rgba(5,24,32,.84) 0%,rgba(5,24,32,.68) 38%,rgba(5,24,32,.18) 72%,rgba(5,24,32,.04) 100%),
    linear-gradient(0deg,rgba(5,24,32,.25),transparent 55%);
}
@media(max-width:768px){
  .hero.hero.hero-home > .container{width:calc(100% - 40px)}
  .hero.hero.hero-home::after{
    transform:scale(1.48);
    transform-origin:68% 100%;
  }
  .hero.hero.hero-home::before{
    background:linear-gradient(180deg,rgba(5,24,32,.1) 0%,rgba(5,24,32,.67) 34%,rgba(5,24,32,.72) 65%,rgba(5,24,32,.24) 100%);
  }
}
