/* =========================================================
   XPLORE MOTORCYCLES — CO-RIDER-EXPERIENCE
   Page-specific styles. Shared layout lives in base.css.
   ========================================================= */

/* CRITICAL FONT RESET: Força a tipografia oficial da Xplore em todos os elementos da página */
.xplore-corider-layout-container,
.xplore-corider-layout-container *,
.booking-engine-box,
.booking-engine-box * {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
}

@media (max-width: 991px) {
    .xplore-corider-split-grid {
        grid-template-columns: 1fr !important; padding-top: 60px;
    }

    .corider-hero-image-wrapper {
        height: 350px !important; min-height: 350px !important;
    }

    .corider-hero-content-wrapper {
        padding: 40px 20px !important;
    }

    .corider-hero-content-wrapper h2 {
        font-size: 30px !important;
    }
}

/* Hero: the photo runs the full width on top, so the passenger, the rider and
   the sea behind them all stay in frame (side by side, the column was too
   narrow on a 13" laptop and the crop lost her). Text on the left, booking
   on the right underneath. Approved by Gabriel from a mockup, 28/09/2026. */
.xplore-corider-split-grid {
    grid-template-columns: 1fr !important; min-height: 0 !important;
}

/* The photo starts under the header instead of behind it: the helmets are at
   the top of the frame and the header was covering them (Gabriel, 29/09).
   The padding is the header's own height at each of its breakpoints. */
.xplore-corider-split-grid {
    padding-top: 136px;
}

@media (max-width: 1140px) {
    .xplore-corider-split-grid {
        padding-top: 127px;
    }
}

@media (max-width: 991px) {
    .xplore-corider-split-grid {
        padding-top: 106px;
    }
}

@media (max-width: 575px) {
    .xplore-corider-split-grid {
        padding-top: 95px;
    }
}

.corider-hero-image-wrapper {
    height: 68vh !important; min-height: 520px !important; max-height: 760px;
    background-position: center 34% !important;
}

.corider-hero-content-wrapper {
    display: grid !important; grid-template-columns: 1.15fr 1fr; column-gap: 80px;
    padding: 80px max(60px, calc((100% - 1200px) / 2)) 90px !important; align-items: start;
}

.corider-hero-content-wrapper > p,
.corider-hero-content-wrapper > h1 {
    grid-column: 1;
}

.corider-hero-content-wrapper > .cr-book-col {
    grid-column: 2; grid-row: 1 / span 5; align-self: stretch; justify-self: end; display: flex; flex-direction: column; max-width: 440px; width: 100%;
}

.cr-book-col > .booking-engine-box {
    flex: 1; display: flex; flex-direction: column;
}

.cr-book-col .gift-nudge {
    margin: 18px 0 0 0; text-align: left;
}

.cr-live-lead {
    max-width: none !important;
}

@media (min-width: 900px) {
    .cr-live-lead {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .corider-hero-image-wrapper {
        height: 62vw !important; min-height: 300px !important;
    }

    .corider-hero-content-wrapper {
        grid-template-columns: 1fr; padding: 40px 20px !important;
    }

    .corider-hero-content-wrapper > .cr-book-col {
        grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; margin-top: 10px;
    }
}

.xplore-hub-tab {
    background: transparent; border: 1px solid #CCCCCC; padding: 12px 20px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; color: #555555;
}

.xplore-hub-tab:hover,
.xplore-hub-tab.active {
    background-color: #111111; color: #FFFFFF; border-color: #111111;
}

.corider-desk-link-btn {
    flex: 1; min-width: 250px; text-decoration: none; padding: 20px 30px; box-sizing: border-box; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: inline-block; transition: all 0.3s ease; text-align: center;
}

.corider-desk-link-btn:hover {
    background-color: #A38A5F !important; border-color: #A38A5F !important; color: #FFFFFF !important;
}

.corider-thumb-item {
    width: 100%; height: 110px; background-size: cover; background-position: center; border: 1px solid #EAEAEA; cursor: pointer; transition: opacity 0.3s ease;
}

.corider-thumb-item:hover {
    opacity: 0.85;
}

.corider-inc-pill {
    display: inline-block; background-color: #F4F4F2; color: #444444; font-size: 12px; font-weight: 600; padding: 6px 14px; margin: 4px 2px;
}

.corider-reviews-viewport {
    overflow: hidden; width: 100%; position: relative;
}

/* Made for you + perks, beside the arms-up photo */
.cr-intro {
    background: #FFFFFF; padding: 100px 20px;
}

.cr-intro-top {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: stretch;
}

.cr-kicker-dark {
    color: #A38A5F !important; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 15px 0;
}

.cr-intro h2,
.cr-how h2 {
    font-size: 34px; font-weight: 800; text-transform: uppercase; margin: 0 0 25px 0; line-height: 1.2; color: #111111;
}

.cr-intro-lead {
    color: #555555 !important; font-size: 16px; line-height: 1.8; font-weight: 500; margin: 0 0 45px 0;
}

.cr-perks {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px;
}

.cr-perks li {
    border-top: 2px solid #A38A5F; padding-top: 18px;
}

.cr-perks h3 {
    font-size: 13px; font-weight: 800; letter-spacing: 1.5px; margin: 0 0 8px 0; color: #111111;
}

.cr-perks p {
    color: #666666; font-size: 14px; line-height: 1.6; margin: 0;
}

.cr-intro-photo {
    margin: 0; position: relative; min-height: 0;
}

.cr-book-col .booking-form {
    flex: 1; justify-content: center;
}

.cr-intro-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block;
}

.cr-intro-photo figcaption {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 60px 24px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 2px;
}

.cr-intro-photo figcaption b {
    color: #E2C28A;
}

/* How your ride works: four steps in a row */
.cr-how {
    background: #F4F4F2; padding: 90px 20px; border-top: 1px solid #EAEAEA;
}

.cr-how-inner {
    max-width: 1200px; margin: 0 auto; text-align: center;
}

.cr-how h2 {
    margin-bottom: 50px;
}

.cr-how-steps {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: left;
}

.cr-how-steps li {
    background: #FFFFFF; border: 1px solid #EAEAEA; padding: 32px 28px;
}

.cr-how-steps span {
    display: block; font-size: 34px; font-weight: 800; color: #A38A5F; line-height: 1; margin-bottom: 18px;
}

.cr-how-steps p {
    margin: 0; color: #555555; font-size: 14px; line-height: 1.7; font-weight: 500;
}

@media (max-width: 991px) {
    .cr-intro-top {
        grid-template-columns: 1fr; gap: 40px;
    }

    .cr-intro-photo {
        min-height: 0; aspect-ratio: 4 / 5;
    }

    .cr-how-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cr-intro {
        padding: 60px 20px;
    }

    .cr-how {
        padding: 60px 20px;
    }

    .cr-perks,
    .cr-how-steps {
        grid-template-columns: 1fr;
    }

    .cr-intro h2,
    .cr-how h2 {
        font-size: 28px;
    }
}

/* Hero: one line of proof under the booking box */
.cr-hero-proof {
    margin: 0; padding-top: 22px; border-top: 1px solid #E5E5E5; font-size: 13px; line-height: 1.6; color: #444444;
}

.cr-hero-proof .cr-stars {
    color: #A38A5F; letter-spacing: 2px; margin-right: 6px;
}

.cr-hero-proof .review-text {
    font-style: italic; font-weight: 600; color: #111111;
}

.cr-hero-proof .cr-stars {
    display: block; margin: 0 0 10px 0;
}

.cr-hq-row {
    display: flex; align-items: center; gap: 14px;
}

.cr-hq-track {
    position: relative; flex: 1; min-height: 72px;
}

.cr-hq {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; display: flex; flex-direction: column; justify-content: center;
}

.cr-hq.on {
    opacity: 1; pointer-events: auto;
}

.cr-hq .review-text {
    margin: 0; font-style: italic; font-weight: 600; color: #111111; font-size: 14px; line-height: 1.5;
}

.cr-hq .review-author {
    margin: 5px 0 0 0; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #888888;
}

.cr-hq .review-author span {
    color: #A38A5F;
}

.cr-hq-arrow {
    flex: 0 0 34px; height: 34px; border: 1px solid #DDDDDD; background: #FFFFFF; color: #111111; cursor: pointer; font-size: 14px; transition: all 0.2s;
}

.cr-hq-arrow:hover {
    background: #111111; color: #FFFFFF; border-color: #111111;
}

.cr-proof-who {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #888888; margin-top: 4px;
}

.cr-proof-who a {
    color: #A38A5F; text-decoration: none;
}

/* How your ride works */
.cr-steps-title {
    font-size: 16px; font-weight: 700; letter-spacing: 1px; margin: 40px 0 18px 0; color: #111111;
}

.cr-steps {
    list-style: none; counter-reset: crs; margin: 0; padding: 0;
}

.cr-steps li {
    counter-increment: crs; position: relative; padding: 0 0 18px 46px; color: #555555; font-size: 15px; line-height: 1.7; font-weight: 500;
}

.cr-steps li::before {
    content: counter(crs); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1px solid #A38A5F; color: #A38A5F; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* From the back seat */
.cr-voices {
    background: #111111; padding: 100px 20px;
}

.cr-voices-inner {
    max-width: 1200px; margin: 0 auto;
}

.cr-voices .cr-kicker {
    color: #E2C28A !important; font-size: 12px; font-weight: 700; letter-spacing: 3px; margin: 0 0 15px 0; text-align: center;
}

.cr-voices h2 {
    color: #FFFFFF !important; font-size: 36px; font-weight: 800; letter-spacing: 1px; margin: 0 0 12px 0; text-align: center;
}

.cr-voices-sub {
    color: #AAAAAA !important; font-size: 15px; margin: 0 0 50px 0; text-align: center;
}

.cr-voice {
    margin: 0; background: #1B1B1B; border: 1px solid #2A2A2A; display: flex; flex-direction: column;
}

.cr-voice img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}

.cr-voice figcaption {
    padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1;
}

.cr-voice .cr-stars {
    color: #E2C28A; letter-spacing: 3px; font-size: 14px; margin-bottom: 14px;
}

.cr-voice blockquote {
    margin: 0 0 22px 0; color: #E8E8E8 !important; font-size: 14px; line-height: 1.75; font-style: italic; flex: 1;
}

.cr-voice .review-author {
    margin: 0; color: #FFFFFF !important; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
}

.cr-voice .review-meta {
    margin: 4px 0 0 0; color: #A38A5F !important; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}

.cr-voice-lead {
    display: grid; grid-template-columns: 0.8fr 1.2fr; margin-bottom: 30px;
}

.cr-voice-lead img {
    height: 100%; aspect-ratio: auto; max-height: 620px; object-position: center 40%;
}

.cr-voice-lead figcaption {
    padding: 50px 50px; justify-content: center;
}

.cr-voice-lead blockquote {
    font-size: 17px; line-height: 1.8; flex: 0;
}

.cr-voices-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px;
}

.cr-voices-grid .cr-voice {
    grid-column: auto;
}

.cr-voices-grid {
    grid-template-columns: repeat(3, 1fr);
}

.cr-voice-city {
    display: inline-block; align-self: flex-start; background: #A38A5F; color: #111111; font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 5px 10px; margin-bottom: 16px;
}

.cr-voices-grid blockquote {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; flex: 0 0 auto; margin-bottom: 10px;
}

.cr-voices-grid .cr-voice.open blockquote {
    -webkit-line-clamp: unset; display: block;
}

.cr-more {
    align-self: flex-start; background: none; border: 0; padding: 0; margin: 0 0 22px 0; color: #E2C28A; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
}

.cr-voices-grid figcaption .review-author {
    margin-top: auto;
}

.cr-voices-cta {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 50px;
}

.cr-voices-cta a {
    color: #FFFFFF; border: 1px solid #FFFFFF; padding: 15px 30px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: all 0.3s;
}

.cr-voices-cta a:hover {
    background: #FFFFFF; color: #111111;
}

@media (max-width: 900px) {
    .cr-voice-lead {
        grid-template-columns: 1fr;
    }

    .cr-voice-lead img {
        max-height: 520px; aspect-ratio: 3 / 4;
    }

    .cr-voice-lead figcaption {
        padding: 30px 26px;
    }

    .cr-voice-lead blockquote {
        font-size: 15px; line-height: 1.75;
    }

    .cr-voices-grid {
        grid-template-columns: 1fr;
    }

    .cr-voices-grid .cr-voice,
    .cr-voices-grid .cr-voice-text {
        grid-column: auto;
    }

    .cr-voices h2 {
        font-size: 28px;
    }
}

.corider-reviews-track {
    display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); gap: 40px; flex-wrap: nowrap !important; width: 100%;
}

.corider-review-card {
    flex: 0 0 calc(50% - 20px) !important; width: calc(50% - 20px) !important; box-sizing: border-box; background-color: #F9F9F7; padding: 50px 40px; border: 1px solid #EAEAEA; text-align: left; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 15px 40px rgba(0,0,0,0.01); transition: all 0.3s;
}

.corider-pure-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); font-size: 36px; color: #111111 !important; background: transparent !important; background-color: transparent !important; cursor: pointer; transition: color 0.3s; z-index: 100; user-select: none; padding: 10px; box-shadow: none !important; border: none !important; outline: none !important;
}

.corider-pure-arrow:hover {
    color: #A38A5F !important; background: transparent !important; background-color: transparent !important; box-shadow: none !important;
}

.corider-lightbox-overlay {
    display: none; position: fixed; z-index: 2147483600; align-items: center; justify-content: center; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
}

.corider-lightbox-img-element {
    margin: auto; display: block; max-width: 85%; max-height: 80vh; object-fit: contain;
}

.corider-lightbox-close-trigger {
    position: absolute; top: 20px; right: 35px; color: #FFFFFF; font-size: 40px; font-weight: 300; cursor: pointer;
}

.corider-lightbox-close-trigger:hover {
    color: #A38A5F;
}

@media (max-width: 991px) {
    #corider-master-grid-receiver {
        grid-template-columns: 1fr !important; gap: 40px !important;
    }

    .corider-review-card {
        flex: 0 0 100% !important; width: 100% !important;
    }

    #corider-reviews-carousel-wrapper {
        padding: 0 40px !important;
    }
}

/* "What is fully included" spans both columns under the text and the
       photos, as an even grid of boxes instead of pills in the narrow column
       (which left a big empty space under the photos). */
.corider-city-cta {
    display: inline-block; padding: 15px 26px; background-color: #111111; color: #FFFFFF !important; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; transition: background-color 0.3s;
}

.corider-city-cta:hover {
    background-color: #A38A5F;
}

.corider-city-cta-line {
    background-color: transparent; color: #111111 !important; border: 1px solid #111111;
}

.corider-city-cta-line:hover {
    background-color: #111111; color: #FFFFFF !important;
}

.corider-inc-block {
    grid-column: 1 / -1; text-align: left; padding-top: 26px; border-top: 1px solid #EFEFEF;
}

.corider-inc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px;
}

.corider-inc-grid .corider-inc-pill {
    display: flex; align-items: center; margin: 0; padding: 7px 0 7px 12px;
    background: none; border: 0; border-left: 2px solid #D9C9A8; border-radius: 0;
    font-size: 12px; font-weight: 500; line-height: 1.45; color: #555555; white-space: normal;
}

@media (max-width: 991px) {
    .corider-inc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .corider-inc-grid {
        grid-template-columns: 1fr;
    }
}

/* City picker: photo cards for the cities with routes, small tabs for the rest */
.cr-cities {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px;
}

.cr-city {
    position: relative; height: 230px; border: 0; padding: 0; cursor: pointer; background-size: cover; background-position: center; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; font-family: inherit; outline: 3px solid transparent; outline-offset: 3px; transition: transform 0.4s;
}

.cr-city::before {
    content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%); transition: background 0.4s;
}

.cr-city:hover {
    transform: translateY(-4px);
}

.cr-city.active {
    outline-color: #A38A5F;
}

.cr-city span {
    position: relative; padding: 0 20px; color: #FFFFFF;
}

.cr-city-name {
    font-size: 18px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}

.cr-city-price {
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #E2C28A !important; margin: 6px 0 20px;
}

.cr-more {
    display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}

.cr-more-label {
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #888888; margin-right: 8px;
}

.cr-more .xplore-hub-tab {
    padding: 9px 16px;
}

.cr-panel {
    background-color: #FFFFFF; border: 1px solid #EAEAEA; padding: 50px;
}

.cr-panel-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; animation: crFade 0.5s ease;
}

@keyframes crFade {
    from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; }
}

/* Gallery: big slide that changes on its own, arrows, counter and a strip of thumbnails */
.cr-gal {
    position: relative;
}

.cr-stage {
    position: relative; height: 430px; overflow: hidden; background: #111111; cursor: zoom-in; touch-action: pan-y;
}

.cr-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; transform: scale(1.06); transition: opacity 0.9s ease, transform 6s ease-out;
}

.cr-slide.on {
    opacity: 1; transform: scale(1);
}

.cr-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; background: rgba(255,255,255,0.92); color: #111111; font-size: 20px; cursor: pointer; z-index: 3; transition: background 0.3s, color 0.3s;
}

.cr-arrow:hover {
    background: #111111; color: #FFFFFF;
}

.cr-arrow.prev {
    left: 14px;
}

.cr-arrow.next {
    right: 14px;
}

.cr-count {
    position: absolute; right: 14px; bottom: 14px; z-index: 3; background: rgba(17,17,17,0.75); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 6px 10px;
}

.cr-bar {
    position: absolute; left: 0; bottom: 0; height: 3px; background: #E2C28A; z-index: 3; width: 0;
}

.cr-bar.run {
    animation: crBar 5s linear forwards;
}

@keyframes crBar {
    from { width: 0; } to { width: 100%; }
}

.cr-thumbs {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 10px;
}

.cr-thumb {
    height: 72px; background-size: cover; background-position: center; cursor: pointer; opacity: 0.5; border: 0; padding: 0; transition: opacity 0.3s;
}

.cr-thumb:hover,
.cr-thumb.on {
    opacity: 1;
}

.cr-thumb.on {
    box-shadow: inset 0 -3px 0 #A38A5F;
}

.cr-price-tag {
    display: inline-block; background: #111111; color: #E2C28A !important; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 10px 16px; margin-bottom: 25px;
}

@media (max-width: 991px) {
    .cr-cities {
        grid-template-columns: repeat(2, 1fr);
    }

    .cr-city {
        height: 170px;
    }

    .cr-panel {
        padding: 28px 20px;
    }

    .cr-panel-grid {
        grid-template-columns: 1fr; gap: 30px;
    }

    .cr-panel-grid .cr-gal {
        order: -1;
    }

    .cr-stage {
        height: 320px;
    }

    .cr-thumb {
        height: 56px;
    }
}

@media (max-width: 640px) {
    .cr-cities {
        gap: 10px;
    }

    .cr-city {
        height: 140px;
    }

    .cr-city-name {
        font-size: 14px; letter-spacing: 1px;
    }

    .cr-city span {
        padding: 0 14px;
    }

    .cr-city-price {
        margin-bottom: 14px;
    }

    .cr-arrow {
        display: none;
    }

    .cr-thumbs {
        grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); grid-auto-columns: auto;
    }

    .cr-thumb {
        height: 44px;
    }
}
