/* One visual hierarchy for catalogue, route pages and pre-booking. */
.rio-home .route-card{display:flex;flex-direction:column;overflow:hidden}
.rio-home .route-cover{width:100%;height:auto;aspect-ratio:1600/1066;min-height:0;flex-shrink:0}
.rio-home .route-cover img{width:100%;height:100%;object-fit:cover}
.rio-home .route-card-copy{display:flex;flex:1;flex-direction:column;padding:22px;gap:8px}
.rio-home .route-card-copy h3{font-size:24px;margin:0}
.rio-home .route-increment{display:block!important;min-height:3.2em;font-size:14px;line-height:1.6;margin:0 0 14px}
.rio-home .home-route-duration{margin:0;font-size:13px}
.rio-home .route-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:auto 0 0}
.rio-home .route-price strong{font-size:clamp(26px,2.5vw,36px);line-height:1.2}
.rio-home .route-price small{font-size:13px;display:inline}
.rio-home .route-group-price{font-size:12px;margin:0 0 12px;line-height:1.5}
.rio-home .home-route-choose,.rio-home .home-route-details{width:100%;text-align:center;margin:0;min-height:44px;display:flex;align-items:center;justify-content:center}
.rio-home .home-route-details{font-size:13px}
.rio-home .route-card-copy .rio-money-main,.route-group-price .rio-money-main,[data-map-price] .rio-money-main{display:inline}
.rio-home .route-card-copy .rio-money-pair{display:inline-flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.rio-inclusions{padding:26px 0;border-block:1px solid #c8d7e1;margin:0}
.rio-inclusions h2{font-size:24px;margin:0 0 20px}
.rio-inclusions ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.rio-inclusions li{display:flex;align-items:start;gap:10px;font-size:14px;line-height:1.6}
.rio-inclusions li>span{display:grid;place-items:center;border:1px solid #a9bfcd;border-radius:50%;width:27px;height:27px;flex-shrink:0;color:#315a71}
.rio-inclusions-weather{display:inline-block;border:1px solid #92b7a2;background:#eef8f1;color:#23513a;border-radius:10px;padding:12px 16px;font-size:13px;margin:24px 0 12px}
.rio-inclusions details{font-size:12px;line-height:1.7;color:#4a6478}.rio-inclusions summary{cursor:pointer;min-height:32px}
.rt-booking .rio-inclusions{margin-top:22px}.rt-booking .rio-inclusions h2{font-size:19px}.rt-booking .rio-inclusions ul{grid-template-columns:1fr;gap:12px}.rt-booking .rio-inclusions li{font-size:13px}
.rio-boarding{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.rio-boarding p{line-height:1.7}.rio-boarding h2{font-size:clamp(26px,3vw,36px)}
.rt-hero-photo>a,.rt-gallery-image{display:block;aspect-ratio:1600/1066;overflow:hidden}.rt-hero-photo img,.rt-gallery-image img{width:100%;height:100%;object-fit:contain}
.rio-gallery .gallery-image,.rio-gallery .gallery-card img,.rio-gallery .rio-gallery-item img,.journey-scene{aspect-ratio:4/3;object-fit:cover}
/* The map keeps its complete coordinate space; the photo shares its height. */
.rio-map.rio-map--panorama,#reservar #booking-form .booking-route-explorer .rio-map{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0}
.rio-map>.rio-map-point-select{display:block;font-size:12px;max-width:420px;width:100%;align-self:flex-end}
.rio-map>.rio-map-point-select select{display:block;width:100%;min-height:44px;font:inherit;font-size:14px;border:1px solid #b7cbd9;border-radius:10px;padding:10px;color:#193c59;background:#fff}
.rio-map .rio-map-frames{display:grid;grid-template-columns:minmax(0,1.534fr) minmax(0,1fr);gap:16px;align-items:stretch;width:100%}
.rio-map .rio-map-frames>.rio-map-scene,#reservar #booking-form .booking-route-explorer .rio-map-frames>.rio-map-scene{grid-column:auto;grid-row:auto;aspect-ratio:900/440;min-height:0!important;height:auto!important;align-self:stretch;padding:0;border:0;overflow:hidden;position:relative}
.rio-map .rio-map-frames>.rio-map-scene>svg,#reservar #booking-form .booking-route-explorer .rio-map-frames>.rio-map-scene>svg{width:100%;height:100%!important;max-height:none;min-height:0;display:block;position:absolute!important;inset:0}
.rio-map .rio-map-frames>.rio-map-photo{display:block;aspect-ratio:4/3;position:relative;height:auto;min-height:0;padding:0;overflow:hidden;border:0;border-radius:16px;align-self:stretch}
.rio-map .rio-map-frames>.rio-map-photo img,#reservar #booking-form .booking-route-explorer .rio-map-frames>.rio-map-photo img{display:block;width:100%;height:100%;position:absolute;inset:0;min-height:0;object-fit:cover}
.rio-map .rio-map-frames>.rio-map-photo>span{position:absolute;inset:auto 0 0;color:#fff;background:linear-gradient(transparent,#102536d9);padding:30px 16px 14px;text-align:start}
.rio-map-photo strong{font-size:14px}.rio-map .rio-map-play{z-index:3;bottom:10px}
.rio-map>.rio-map-photo-navigation{display:flex;width:min(420px,100%);align-self:flex-end;justify-content:space-between;align-items:center;gap:8px}
.rio-map>.rio-map-photo-navigation button{min-height:44px;font-size:13px;padding:8px 12px}
.rio-map>.rio-map-photo-credit{align-self:flex-end;max-width:100%;font-size:10px}
.rio-map>.rio-map-list-panel,.rio-map>.rio-map-note{width:100%;margin:0}
#reservar[data-booking-step="1"] #booking-form .booking-stage[data-step="1"]{display:flex;flex-direction:column;gap:20px}
#reservar .booking-choice-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.6fr);width:100%;gap:12px 24px;align-items:start}
#reservar .booking-choice-panel>label{grid-column:1/-1;margin:0;max-width:420px}
#reservar[data-booking-step="1"] .booking-route-options{grid-column:1;grid-row:2/4;margin:0;grid-template-columns:1fr 1fr}
#reservar[data-booking-step="1"] .booking-route-copy>span{display:block;font-size:11px;line-height:1.5}
#reservar .booking-mode-choice,#reservar .booking-schedule-panel{grid-column:2;margin:0}
#reservar .booking-mode-buttons button{min-height:80px;justify-content:center}.booking-mode-buttons small{display:none}
#reservar #booking-form .booking-route-explorer{width:100%;padding:16px}
#reservar .booking-summary .booking-group-total:last-of-type,#reservar #booking-mode-summary{display:none}
#reservar .booking-summary #booking-installments{font-size:12px;line-height:1.5;margin:5px 0 0;display:block}
#reservar .booking-summary #booking-unit{font-size:24px}
#reservar .booking-summary .booking-group-total{font-size:12px;border:0;padding:0}
#reservar .booking-summary{gap:8px 18px}
@media(max-width:760px){
 .rio-inclusions ul{grid-template-columns:1fr 1fr;gap:14px}.rio-inclusions li{font-size:12px}.rio-boarding{grid-template-columns:1fr;gap:14px}
 .rio-home .route-card-copy{padding:18px}.rio-home .route-increment{min-height:0}.rio-home .route-price{margin-top:8px}
 .rio-map .rio-map-frames{grid-template-columns:1fr;gap:14px}
 .rio-map>.rio-map-point-select{max-width:none}.rio-map>.rio-map-photo-navigation{width:100%}
 #reservar .booking-choice-panel{display:flex;flex-direction:column;gap:14px}.booking-choice-panel>*{width:100%}
 #reservar[data-booking-step="1"] .booking-mobile-route{display:block}.booking-route-options{display:none!important}
 #reservar #booking-form .booking-route-explorer{padding:10px;order:1}
 #reservar .booking-mode-buttons button{min-height:80px}.booking-mode-buttons span{font-size:13px!important}
 #reservar .booking-navigation{align-items:center;gap:8px;padding:10px!important}
 #reservar .booking-summary{display:block;flex:1;min-width:0}
 #reservar .booking-summary #booking-unit{font-size:20px}
 #reservar .booking-summary #booking-installments{font-size:10px;max-width:28ch}
 #reservar .booking-summary .booking-group-total{margin:3px 0}
 #reservar .booking-summary .booking-price-label{font-size:11px}
 #reservar[data-booking-step="1"] .booking-navigation #booking-next{min-width:96px}
}

body.rio-home #route-list .route-card>.route-cover{height:auto;min-height:0;aspect-ratio:1600/1066}
body.rio-home #route-list .route-card-copy{padding:20px;gap:8px;justify-content:flex-start}
body.rio-home #route-list .route-card-copy>h3{font-size:22px;min-height:2.4em;margin:0;line-height:1.2}
body.rio-home #route-list .route-card-copy>p{flex:none;margin:0;line-height:1.6}
body.rio-home #route-list .home-route-duration{font-size:12px}
body.rio-home #route-list .route-card-copy>.route-increment{font-size:13px;min-height:4.8em;margin-bottom:10px}
body.rio-home #route-list .route-card-copy>.route-price{margin-top:auto;min-height:44px;align-items:baseline;justify-content:flex-start;text-align:start}
body.rio-home #route-list .route-card-copy>.route-group-price{font-size:11px;min-height:3.2em;margin-bottom:10px;text-align:start}
body.rio-home #route-list .home-route-choose{margin:0;flex-shrink:0}
@media(min-width:761px){
 #reservar .booking-choice-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}
 #reservar .booking-choice-panel>label{grid-column:1;grid-row:1;max-width:none}
 #reservar .booking-schedule-panel{grid-column:2/4;grid-row:1}
 #reservar[data-booking-step="1"] .booking-route-options{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 #reservar .booking-mode-choice{grid-column:1/-1;grid-row:3;width:min(680px,100%)}
 #reservar .booking-route-intro{display:none}
}
#reservar .booking-summary .booking-total{display:grid!important;grid-template-columns:max-content 1fr;gap:4px 7px;align-items:baseline;padding:0}
#reservar .booking-summary .booking-total>span:first-child{grid-column:2;grid-row:1;font-size:11px}
#reservar .booking-summary #booking-unit{grid-column:1;grid-row:1;font-size:26px}
#reservar .booking-summary .booking-group-total{grid-column:1/-1;grid-row:2;display:block}
#reservar .booking-summary .booking-group-total:last-of-type{display:none}
#reservar .booking-summary #booking-installments{grid-column:1/-1;grid-row:3;font-size:11px;font-weight:400}
@media(max-width:760px){#reservar .booking-summary #booking-unit{font-size:20px}#reservar .booking-summary #booking-installments{font-size:10px}body.rio-home #route-list .route-card-copy>.route-increment{min-height:0}}

#reservar .booking-navigation{padding-block:8px!important}
#reservar .booking-navigation .booking-summary .booking-total{grid-template-columns:max-content 1fr;grid-template-rows:auto auto auto;gap:2px 7px;min-height:0;margin:0}
#reservar .booking-navigation .booking-summary .booking-group-total{grid-column:1/-1!important;grid-row:2!important;justify-self:start;width:auto;max-width:none;min-width:0;margin:0;padding:0;font-size:12px;line-height:1.5}
#reservar .booking-navigation .booking-summary .booking-group-total>*{display:inline;font-size:inherit;line-height:inherit}
#reservar .booking-navigation .booking-summary #booking-installments{margin:0}
#reservar .booking-total>small:empty{display:none}

body.rio-home{overflow-x:clip}
#depoimentos .hc-testimonials-grid{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}
#reservar .booking-summary #booking-unit,#reservar .booking-summary .booking-total>span:first-child{display:block!important}

/* Replace the former mobile text-only catalogue, including its important rules. */
body.rio-home[data-rio-community] #route-list .route-card{display:flex!important;flex-direction:column;grid-template-columns:none!important;padding:0!important;gap:0!important}
body.rio-home[data-rio-community] #route-list .route-cover{display:block!important;height:auto!important;aspect-ratio:1600/1066!important}
body.rio-home[data-rio-community] #route-list .route-card-copy{display:flex!important;flex-direction:column;grid-template-columns:none;gap:8px;padding:20px!important;width:100%;box-sizing:border-box}
body.rio-home[data-rio-community] #route-list .route-card-copy>*{grid-column:auto!important;grid-row:auto!important;position:static}
body.rio-home[data-rio-community] #route-list .route-cover-label{display:block!important}
body.rio-home[data-rio-community] #route-list .route-card-copy .route-increment{display:block!important}
body.rio-home[data-rio-community] #route-list .home-route-choose{width:100%;border-radius:10px;min-height:44px}
html:has(body.rio-home){overflow-x:clip}
.rio-proof{min-width:0;overflow:hidden}.rio-proof .hc-testimonials-grid{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:760px){body.rio-home[data-rio-community] #route-list .route-card-copy>h3{min-height:0}body.rio-home[data-rio-community] #route-list .route-card-copy>.route-group-price{min-height:0}.rio-map .rio-map-frames>.rio-map-scene,#reservar #booking-form .booking-route-explorer .rio-map-frames>.rio-map-scene{aspect-ratio:4/3;background:#c8e0e9}}

body.rio-home[data-rio-community] #route-list .route-card-copy{text-align:start!important}
body.rio-home[data-rio-community] #route-list .route-card-copy>h3{min-height:1.2em;text-align:start!important}
body.rio-home[data-rio-community] #route-list .route-card-copy>p{text-align:start!important}
body.rio-home[data-rio-community] #route-list .route-card-copy>.route-increment{min-height:4.8em}
body.rio-home[data-rio-community] #route-list .route-card-copy>.route-price{margin:0!important;min-height:38px}
body.rio-home[data-rio-community] #route-list .route-card-copy>.route-group-price{min-height:1.6em;margin:0 0 8px}
body.rio-home[data-rio-community] #route-list .home-route-details{margin:0!important}
@media(max-width:760px){body.rio-home[data-rio-community] #route-list .route-card-copy>.route-increment{min-height:0}}

#reservar #booking-form .rio-map-photo>span{background:linear-gradient(transparent,#102536d9)!important;color:#fff!important;padding:30px 16px 14px!important;border:0!important;min-height:0}
#reservar #booking-form .rio-map-photo>span strong,#reservar #booking-form .rio-map-photo>span small{color:#fff!important;display:block!important}

.rio-proof .hc-testimonial{position:relative}
.rio-gallery .rio-gallery-image{aspect-ratio:1600/1066}.rio-gallery .rio-gallery-image img{object-fit:contain}

/* Four comparable route previews, using the same panorama and points as the full map. */
.rio-home .route-cover.has-route-map{background:#113b50;isolation:isolate}
.rio-home .route-cover .route-card-map{display:block;width:100%;height:100%;position:absolute;inset:0}
.card-map-outline,.card-map-route{fill:none;stroke-linecap:round;stroke-linejoin:round}
.card-map-outline{stroke:#082a3e;stroke-width:13;opacity:.7}
.card-map-route{stroke:var(--card-map-accent);stroke-width:6}
.card-map-pin{fill:var(--card-map-accent);stroke:#183b4e;stroke-width:3}
.card-map-moving{opacity:0}.map-moving .card-map-moving{opacity:1}
.rio-home .route-cover.has-route-map .route-cover-label{top:12px;left:12px;font-size:12px;padding:7px 10px}
.rio-home .route-map-hint{display:block!important;position:absolute;bottom:12px;left:12px;color:#fff;background:#12394fe8;border:1px solid #ffffff4d;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:600}
body.rio-home[data-rio-community] #route-list .route-cover.has-route-map .route-cover-action{display:grid!important;width:32px;height:32px;right:12px;bottom:12px;font-size:0}
.route-cover-action>svg{width:18px;height:18px}
.rio-home .route-cover:focus-visible{outline:3px solid #1b5676;outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.card-map-moving{display:none}}
/* Booking on phones: a complete route overview, with the actions kept in reach. */
.booking-flight-notes{display:none}
@media(max-width:760px){
 #reservar[data-booking-step="1"]{width:calc(100% - 12px);max-height:calc(100dvh - 12px);padding:4px;border-radius:22px}
 #reservar[data-booking-step="1"] .booking-scroll{max-height:calc(100dvh - 22px);padding:0;scroll-padding-bottom:100px}
 #reservar[data-booking-step="1"] .booking-top{position:relative;min-height:44px;padding:0 14px;gap:8px}
 #reservar[data-booking-step="1"] .booking-close{width:44px;height:44px;min-height:44px}
 #reservar[data-booking-step="1"] .booking-heading{padding:3px 14px}
 #reservar[data-booking-step="1"] .booking-heading h2{font-size:22px;line-height:1.2;margin:0}
 #reservar[data-booking-step="1"] .booking-launch-notice{margin:2px 14px 5px;font-size:10px}
 #reservar[data-booking-step="1"] .booking-steps{margin:4px 0 10px;padding:0 14px;gap:6px}
 #reservar[data-booking-step="1"] .booking-steps li{flex-direction:row;text-align:start;align-items:center;font-size:9px;gap:4px}
 #reservar[data-booking-step="1"] .booking-steps span{width:20px;height:20px;font-size:11px}
 #reservar[data-booking-step="1"] .booking-layout{padding:0 14px 4px}
 #reservar[data-booking-step="1"] #booking-form .booking-stage[data-step="1"]{gap:8px}
 #reservar[data-booking-step="1"] .booking-choice-panel{gap:8px}
 #reservar[data-booking-step="1"] .booking-choice-panel>label{margin:0;font-size:12px;line-height:1.25}
 #reservar[data-booking-step="1"] .booking-choice-panel :is(select,input[type="date"]){font-size:16px;min-height:44px;margin-top:4px;padding:8px 10px}
 #reservar[data-booking-step="1"] .booking-mobile-price{display:none}
 #reservar[data-booking-step="1"] .booking-mode-choice{margin:0;padding:0}
 #reservar[data-booking-step="1"] .booking-mode-buttons button{min-height:54px;padding:7px 9px;gap:3px;align-items:center}
 #reservar[data-booking-step="1"] .booking-mode-buttons button[aria-pressed="true"]{padding:6px 8px}
 #reservar[data-booking-step="1"] .booking-mode-buttons strong{font-size:13px}
 #reservar[data-booking-step="1"] .booking-mode-buttons span{font-size:12px!important}
 #reservar[data-booking-step="1"] .booking-schedule-panel{margin:0}
 #reservar[data-booking-step="1"] .booking-flight-fields{gap:8px;font-size:12px}
 #reservar[data-booking-step="1"] .booking-flight-fields :is(label,#booking-hour-label){font-size:11px!important;line-height:1.25}
 #reservar[data-booking-step="1"] .booking-schedule-panel .booking-muted{font-size:10px;line-height:1.3;margin:4px 0 0}
 #reservar[data-booking-step="1"] #booking-form .booking-route-explorer{padding:0;border:0;background:none;box-shadow:none}
 #reservar[data-booking-step="1"] #booking-form .booking-route-explorer>header{margin:0 0 5px}
 #reservar[data-booking-step="1"] #booking-form .booking-route-explorer h3{font-size:12px}
 #reservar[data-booking-step="1"] .booking-route-explorer :is(.booking-explorer-route,.rio-map-base,.rio-map-point-select,.rio-map-photo,.rio-map-photo-navigation,.rio-map-photo-credit,.rio-map-list-panel,.rio-map-note){display:none!important}
 #reservar[data-booking-step="1"] #booking-form .booking-route-explorer .rio-map{display:block;gap:0}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-map-frames{display:block}
 #reservar[data-booking-step="1"] #booking-form .booking-route-explorer .rio-map-scene{display:block!important;width:100%;height:auto!important;aspect-ratio:900/440;min-height:0!important;border-radius:12px}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-panorama-caption{display:none}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-panorama-path{stroke-width:3;opacity:1}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-panorama-light-head{fill:#ffdf47;r:7;stroke:#fff;stroke-width:2}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-panorama-light-glow{fill:#ffdf47;r:15}
 #reservar[data-booking-step="1"] .booking-route-explorer .rio-map-play{bottom:5px;right:5px;min-height:44px;padding:6px 10px;font-size:10px}
 #reservar[data-booking-step="1"] .booking-navigation{position:sticky!important;bottom:0;z-index:5;display:flex;flex-wrap:nowrap;align-items:center;margin-top:8px;padding:8px 0!important;gap:8px;background:#edf3f9f5;backdrop-filter:blur(12px);border-top:1px solid #ccdbe6}
 #reservar[data-booking-step="1"] .booking-navigation .booking-summary{flex:1 1 auto;width:auto;min-width:0}
 #reservar[data-booking-step="1"] .booking-navigation #booking-next{flex:0 0 auto;width:auto;min-width:100px;min-height:46px;margin:0;padding-inline:13px}
 #reservar[data-booking-step="1"] .booking-summary #booking-unit{font-size:18px}
 #reservar[data-booking-step="1"] .booking-navigation .booking-summary .booking-group-total{font-size:10px}
 #reservar[data-booking-step="1"] .booking-navigation .booking-summary #booking-installments{font-size:9px;line-height:1.3;max-width:30ch}
 #reservar[data-booking-step="1"] .booking-flight-notes{display:block;margin:0 0 0 auto;padding:0;border:0;font-size:10px;color:#536d83}
 #reservar[data-booking-step="1"] .booking-flight-notes>summary{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;cursor:pointer;font-size:10px}
 #reservar[data-booking-step="1"] .booking-flight-notes>summary::after{content:'+';font-size:17px}
 #reservar[data-booking-step="1"] .booking-flight-notes[open]>summary::after{content:'−'}
 #reservar[data-booking-step="1"] .booking-flight-notes>p{position:absolute;inset:100% 8px auto;z-index:7;border:1px solid #ccdbe6;border-radius:12px;padding:14px;background:#f7faff;box-shadow:0 8px 24px #17365324;font-size:12px;line-height:1.5;margin:0}
}
