/* R 1300 GS Adventure Trophy static model page – specs hero, media blocks, engine sound */

/* ── Index-style hero on motor page (image only) ── */
.motor-page .r1300gsat-hero .hero-slide {
    cursor: grab;
}

.motor-page .r1300gsat-hero .hero-slide:active {
    cursor: grabbing;
}

.motor-page .r1300gsat-hero .hero-content,
.motor-page .r1300gsat-hero .hero-title,
.motor-page .r1300gsat-hero .hero-subtitle {
    color: #fff;
}

.motor-page .r1300gsat-hero .hero-title {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-weight: 700;
}

.motor-page .r1300gsat-hero .hero-subtitle {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-weight: 400;
}

@media (min-width: 641px) {
    .motor-page .r1300gsat-hero.hero {
        height: 90vh;
        min-height: 520px;
        overflow: hidden;
    }

    .motor-page .r1300gsat-hero .slide-arrow.r1300gsat-hero-arrow-left,
    .motor-page .r1300gsat-hero .slide-arrow.r1300gsat-hero-arrow-right {
        display: flex;
        border-radius: 0;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.95);
    }

    .motor-page .r1300gsat-hero .slide-arrow .arrow-icon {
        width: 20px;
        height: 20px;
    }
}

/* Mobile: match index.php – image on top, dark content block below */
@media (max-width: 640px) {
    .motor-page .r1300gsat-hero.hero {
        height: auto;
        min-height: auto;
        display: block;
        overflow: visible;
    }

    .motor-page .r1300gsat-hero .hero-slide {
        position: relative;
        height: auto;
        min-height: auto;
        display: block;
        padding-top: 60vh;
        background-position: center center;
        background-size: cover;
        cursor: default;
    }

    .motor-page .r1300gsat-hero .hero-slide:active {
        cursor: default;
    }

    .motor-page .r1300gsat-hero .hero-overlay {
        display: none;
    }

    .motor-page .r1300gsat-hero .hero-content {
        position: relative;
        background: #16171a;
        padding: 36px 20px 44px 28px;
        max-width: 100%;
        transform: none !important;
        opacity: 1 !important;
        color: #fff;
        z-index: 1;
    }

    .motor-page .r1300gsat-hero .hero-slide.is-visible .hero-content {
        transform: none;
        opacity: 1;
    }

    .motor-page .r1300gsat-hero .hero-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
        text-transform: uppercase;
        color: #fff;
    }

    .motor-page .r1300gsat-hero .hero-subtitle {
        font-size: 15px;
        margin-bottom: 26px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #fff;
    }

    .motor-page .r1300gsat-hero .hero-button {
        font-size: 13px;
        padding: 14px 24px;
    }

    .motor-page .r1300gsat-hero .slide-arrow.r1300gsat-hero-arrow-left,
    .motor-page .r1300gsat-hero .slide-arrow.r1300gsat-hero-arrow-right {
        display: flex;
        width: 44px;
        height: 44px;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.95);
        top: 32vh;
        transform: translateY(-50%);
    }

    .motor-page .r1300gsat-hero .slide-arrow-left {
        left: 0;
    }

    .motor-page .r1300gsat-hero .slide-arrow-right {
        right: 0;
    }

    .motor-page .r1300gsat-hero .slide-arrow .arrow-icon {
        width: 20px;
        height: 20px;
    }

    /* Clear gap before quote section */
    .r1300gsat-intro-section {
        padding: 56px 20px 48px;
        margin-top: 0;
    }
}

/* ── Intro quote + slideshow ── */
.r1300gsat-intro-section {
    background: #fff;
    padding: 56px 39px 64px;
}

.r1300gsat-intro-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.r1300gsat-intro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 28px;
}

.r1300gsat-intro-quote {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: clamp(28px, 4.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    flex: 1 1 auto;
    max-width: 72%;
    white-space: pre-line;
}

.r1300gsat-intro-model {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: clamp(14px, 1.4vw, 18px);
    margin: 0;
    flex: 0 0 auto;
    text-align: right;
    padding-bottom: 6px;
}

.r1300gsat-intro-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    overflow: hidden;
    background: #e8e8e8;
}

.r1300gsat-intro-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.r1300gsat-intro-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.r1300gsat-intro-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.r1300gsat-intro-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.r1300gsat-intro-arrow:hover {
    background: #fff;
}

.r1300gsat-intro-arrow-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.r1300gsat-intro-arrow-prev {
    left: 0;
}

.r1300gsat-intro-arrow-next {
    right: 0;
}

@media (max-width: 640px) {
    .r1300gsat-intro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .r1300gsat-intro-quote {
        max-width: 100%;
        font-size: clamp(24px, 7vw, 36px);
    }

    .r1300gsat-intro-model {
        text-align: left;
        padding-bottom: 0;
    }

    .r1300gsat-intro-slideshow {
        aspect-ratio: 4 / 3;
        min-height: 220px;
    }
}

/* ── Split sections (image-left variant) ── */
.r1300gsat-split-image-left .motor-cta-right {
    order: 1;
}

.r1300gsat-split-image-left .motor-cta-left {
    order: 2;
}

@media (max-width: 640px) {
    .r1300gsat-split-image-left .motor-cta-right {
        order: 1;
    }

    .r1300gsat-split-image-left .motor-cta-left {
        order: 2;
    }
}

/* ── Specs section title (between gallery and gradient specs) ── */
.r1300gsat-gallery {
    padding-bottom: 56px;
}

.r1300gsat-specs-intro-header {
    background: #fff;
    padding: 64px 0 0;
    margin-top: 24px;
}

.r1300gsat-specs-intro-header .motor-gallery-heading {
    padding-bottom: 36px;
}

.r1300gsat-specs-intro-icon {
    width: 96px;
    height: 96px;
    padding: 0 12px;
}

@media (max-width: 640px) {
    .r1300gsat-gallery {
        padding-bottom: 40px;
    }

    .r1300gsat-specs-intro-header {
        padding-top: 48px;
        margin-top: 16px;
    }

    .r1300gsat-specs-intro-icon {
        width: 72px;
        height: 72px;
    }

    .r1300gsat-specs-intro-header .motor-gallery-heading {
        font-size: 24px;
        padding-bottom: 24px;
    }
}

/* ── Specs section: full-width photo + white gradient + animated numbers ── */
.r1300gsat-specs-section {
    position: relative;
    width: 100%;
    min-height: 1600px;
    overflow: hidden;
}

.r1300gsat-specs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.r1300gsat-specs-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #fff 0%,
        #fff 38%,
        rgba(255, 255, 255, 0.85) 52%,
        rgba(255, 255, 255, 0) 78%
    );
    pointer-events: none;
}

.r1300gsat-specs-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 680px 39px 72px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.r1300gsat-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.r1300gsat-spec-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.r1300gsat-spec-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.r1300gsat-spec-item:nth-child(1) { transition-delay: 0.05s; }
.r1300gsat-spec-item:nth-child(2) { transition-delay: 0.12s; }
.r1300gsat-spec-item:nth-child(3) { transition-delay: 0.19s; }
.r1300gsat-spec-item:nth-child(4) { transition-delay: 0.26s; }

.r1300gsat-spec-value {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    color: #111;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.r1300gsat-spec-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #111;
    margin-bottom: 12px;
}

.r1300gsat-spec-label {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

.r1300gsat-specs-btn-wrap {
    display: flex;
    justify-content: flex-end;
}

.r1300gsat-specs-btn.hero-button {
    display: inline-block;
    padding: 12px 28px;
    background: #111;
    color: #fff;
    border: 2px solid #111;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.r1300gsat-specs-btn.hero-button:hover {
    background: #0062ff;
    border-color: #0062ff;
    color: #fff;
}

/* ── Media block: centered text + full-width photo OR video ── */
.r1300gsat-media-section {
    background: #fff;
    padding: 56px 39px 72px;
}

.r1300gsat-specs-section + .r1300gsat-media-section {
    margin-top: -420px;
    padding-top: 0;
    position: relative;
    z-index: 2;
}

.r1300gsat-media-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.r1300gsat-media-text-wrap {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: left;
}

.r1300gsat-media-heading {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px;
}

.r1300gsat-media-text {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #333;
    margin: 0;
}

.r1300gsat-media-full {
    width: 100%;
    overflow: hidden;
}

.r1300gsat-media-full img,
.r1300gsat-media-full video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.r1300gsat-media-full video {
    aspect-ratio: 16 / 9;
    background: #000;
}

/* ── Engine sound section ── */
.r1300gsat-engine-section {
    background: #fff;
    padding: 72px 39px 80px;
    overflow: visible;
}

.r1300gsat-engine-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
    overflow: visible;
}

.r1300gsat-engine-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.r1300gsat-engine-bg-text {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 0.95;
    color: #111;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.r1300gsat-engine-bg-text span {
    display: block;
}

.r1300gsat-engine-canvas {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.r1300gsat-engine-btn {
    position: relative;
    z-index: 2;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    border: none;
    background: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: inset 0 0 0 2px #fff;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.r1300gsat-engine-btn:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.r1300gsat-engine-btn.is-playing {
    box-shadow: inset 0 0 0 2px #fff, 0 0 18px rgba(0, 98, 255, 0.28);
}

.r1300gsat-engine-btn-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 19px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}

.r1300gsat-engine-btn-line {
    display: block;
}

.r1300gsat-engine-btn.is-playing .r1300gsat-engine-btn-label {
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #fff;
}

.r1300gsat-engine-copy {
    border-left: 1px solid #d8d8d8;
    padding: 48px 0 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.r1300gsat-engine-title {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
}

.r1300gsat-engine-text {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    margin: 0;
    max-width: 320px;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
    .r1300gsat-specs-section {
        min-height: 1040px;
    }

    .r1300gsat-specs-content {
        padding: 560px 28px 56px;
    }

    .r1300gsat-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .r1300gsat-media-section,
    .r1300gsat-engine-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .r1300gsat-specs-section + .r1300gsat-media-section {
        margin-top: -240px;
    }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .motor-page .motor-cta-btn.hero-button {
        width: fit-content;
        max-width: 100%;
    }

    .r1300gsat-specs-section {
        min-height: 600px;
    }

    .r1300gsat-specs-content {
        padding: 280px 24px 40px;
    }

    .r1300gsat-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .r1300gsat-spec-value {
        font-size: 40px;
    }

    .r1300gsat-specs-btn-wrap {
        justify-content: flex-start;
    }

    .r1300gsat-specs-btn.hero-button {
        width: fit-content;
        max-width: 100%;
    }

    .r1300gsat-media-section,
    .r1300gsat-engine-section {
        padding: 48px 24px 56px;
    }

    .r1300gsat-specs-section + .r1300gsat-media-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .r1300gsat-media-heading {
        font-size: 22px;
    }

    .r1300gsat-media-text {
        font-size: 14px;
    }

    .r1300gsat-engine-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .r1300gsat-engine-visual {
        min-height: 380px;
        padding: 24px 0;
        order: 1;
    }

    .r1300gsat-engine-copy {
        order: 2;
        border-left: none;
        border-top: 1px solid #d8d8d8;
        padding: 32px 0 0;
    }

    .r1300gsat-engine-title {
        font-size: 18px;
    }

    .r1300gsat-engine-text {
        font-size: 14px;
        max-width: none;
    }

    .r1300gsat-engine-btn {
        width: 148px;
        height: 148px;
    }

    .r1300gsat-engine-btn-label {
        font-size: 17px;
    }

    .r1300gsat-engine-btn.is-playing .r1300gsat-engine-btn-label {
        font-size: 18px;
    }

    .r1300gsat-engine-bg-text {
        font-size: clamp(40px, 12vw, 72px);
        left: 16px;
    }
}
