.hero-journey {
  --hero-viewport: 100svh;
  --hero-runway: 160svh;
  position: relative;
  height: var(--hero-viewport);
  background: var(--black);
}
.hero-scroll-enabled .hero-journey {
  height: calc(var(--hero-viewport) + var(--hero-runway));
}
.hero-journey > .hero {
  --hero-reveal: -12%;
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--hero-viewport);
  min-height: 0;
  max-height: none;
  isolation: isolate;
}
.hero-journey .hero-scene {
  inset: 0;
  transform: var(--hero-scene-transform, scale(1.025)) !important;
  transform-origin: center;
}
.hero-journey .hero-photo {
  animation: none !important;
  transform: none !important;
  background-position: center 57%;
}
.hero-journey .hero-photo-finished {
  background-image: url('assets/hero-patio-terminado-v1.jpg');
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--hero-reveal) - 8%), transparent calc(var(--hero-reveal) + 8%));
  mask-image: linear-gradient(90deg, #000 calc(var(--hero-reveal) - 8%), transparent calc(var(--hero-reveal) + 8%));
}
.hero-journey .hero-content {
  transform: none !important;
  padding-top: clamp(150px, 22svh, 250px);
}
.hero-journey .hero h1 {
  font-size: clamp(64px, 7.4vw, 116px);
}
.hero-journey .hero-description { margin-top: 26px; }
.hero-journey .hero-actions { margin-top: 28px; }
.hero-journey .hero-bottom {
  bottom: 34px;
  gap: 25px;
  z-index: 5;
}
.hero-transform-status { display: flex; flex-direction: column; gap: 8px; }
.hero-stage-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-scroll-hint { color: #d6dfe6; font-size: 11px; letter-spacing: .25px; }
.hero-transform-actions { display: flex; align-items: center; gap: 10px; }
.hero-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #ffffff60;
  border-radius: 99px;
  padding: 12px 18px;
  background: #08111a65;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  transition: transform .2s var(--ease), background .2s;
}
.hero-skip[hidden] { display: none; }
.hero-skip:hover { background: #ffffff20; transform: translateY(-2px); }
.hero-skip:active, .hero-skip.is-pressed { transform: translateY(1px) scale(.96); }
.hero-journey .motion-toggle { min-height: 42px; padding: 12px 15px; font-size: 10px; }
.hero-journey .scroll-progress { height: 4px; z-index: 6; }
.hero-journey .terrain-marker { bottom: 23%; }
.hero-journey .scene-credit { bottom: 13px; }
.hero-journey .mobile-nav:not([hidden]) { max-height: calc(100svh - 100px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 850px) {
  .hero-journey .hero h1 { font-size: 76px; }
}
@media (max-width: 600px) {
  .hero-journey { --hero-runway: 145svh; }
  .hero-journey .hero-photo { background-position: 82% center; }
  .hero-journey .hero-content { padding-top: clamp(142px, 22svh, 185px); }
  .hero-journey .hero h1 { font-size: clamp(50px, 13.6vw, 67px); letter-spacing: -3.4px; line-height: 1.03; }
  .hero-journey .hero-description { margin-top: 23px; line-height: 1.75; }
  .hero-journey .hero-actions { margin-top: 24px; }
  .hero-journey .hero-bottom { flex-direction: column; align-items: stretch; gap: 12px; bottom: 27px; }
  .hero-transform-status { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
  .hero-stage-label { max-width: 145px; font-size: 9px; line-height: 1.5; letter-spacing: 1px; }
  .hero-scroll-hint { max-width: 170px; font-size: 9px; line-height: 1.5; text-align: right; }
  .hero-transform-actions { gap: 8px; }
  .hero-transform-actions > button { flex: 1; min-height: 42px; padding: 11px 10px; font-size: 9px; }
  .hero-journey .terrain-marker { bottom: 21%; }
  .hero-journey .scene-credit { bottom: 10px; }
}
@media (max-height: 760px) and (min-width: 601px) {
  .hero-journey .hero-content { padding-top: 132px; }
  .hero-journey .hero h1 { font-size: clamp(56px, 7vw, 86px); }
  .hero-journey .hero-kicker { margin-bottom: 20px; }
  .hero-journey .hero-description { margin-top: 18px; font-size: 13px; line-height: 1.65; }
  .hero-journey .hero-actions { margin-top: 22px; }
}
@media (max-height: 760px) and (max-width: 600px) {
  .hero-journey .terrain-marker { display: none; }
  .hero-journey .hero-content { padding-top: 132px; }
  .hero-journey .hero h1 { font-size: clamp(44px, 12.5vw, 52px); }
  .hero-journey .hero-kicker { margin-bottom: 20px; }
  .hero-journey .hero-description { margin-top: 18px; font-size: 12px; line-height: 1.65; }
  .hero-journey .hero-actions { margin-top: 20px; gap: 12px; }
}
@media (max-height: 610px) and (max-width: 600px) {
  .hero-journey .hero-content { padding-top: 112px; }
  .hero-journey .hero h1 { font-size: 44px; }
  .hero-journey .hero-description { margin-top: 14px; }
  .hero-journey .hero-actions { margin-top: 17px; gap: 8px; }
  .hero-journey .hero-bottom { bottom: 22px; gap: 8px; }
}
@media (max-height: 540px) and (min-width: 601px) {
  .hero-journey .hero-content { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 30px; padding-top: 108px; }
  .hero-journey .hero-kicker { grid-column: 1 / -1; margin-bottom: 16px; font-size: 9px; }
  .hero-journey .hero h1 { grid-column: 1; grid-row: 2 / 4; align-self: start; font-size: clamp(44px, 6vw, 62px); letter-spacing: -2.5px; }
  .hero-journey .hero-description { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 12px; }
  .hero-journey .hero-actions { grid-column: 2; grid-row: 3; align-self: start; margin-top: 18px; }
  .hero-journey .hero-actions .button { min-height: 47px; padding: 13px 20px; font-size: 11px; }
  .hero-journey .hero-actions .text-action, .hero-journey .terrain-marker { display: none; }
  .hero-journey .hero-bottom { bottom: 22px; }
  .hero-journey .hero-stage-label, .hero-journey .hero-scroll-hint { font-size: 9px; }
}
@media (max-height: 540px) and (max-width: 600px) {
  .hero-journey { --hero-viewport: 620px; }
  .hero-journey > .hero { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-enabled .hero-journey { height: var(--hero-viewport); }
  .hero-journey > .hero { --hero-reveal: 112%; position: relative; }
}

@media (max-height:540px) and (min-width:601px){.hero-journey .hero-actions{flex-wrap:wrap;gap:10px}.hero-journey .hero-actions .button{min-width:0;padding:12px 14px;font-size:10px;gap:8px}.hero-journey .hero-actions .button-blue{flex:1.25}.hero-journey .hero-actions .button-white{flex:1}}
