/* ==========================================================================
   ABOUT NEVO page — page-scoped styles
   Loaded after Bootstrap 5.3, so Bootstrap utilities/components are the
   default; rules here only cover what Bootstrap can't express (the hero
   logo mark, the zig-zag timeline, circular highlight images, tokens).
   ========================================================================== */

/* Scoped to .about-nevo-page (not :root) — this stylesheet is only loaded
   on this page, so there's no need to leak variables into global scope or
   risk colliding with the site's other page-scoped tokens. */
.about-nevo-page {
    --nevo-font-size-xs: 13px;
    --nevo-font-size-sm: 14px;
    --nevo-font-size-md: 16px;
    --nevo-font-size-lg: 18px;
    --nevo-font-size-xl: 22px;
    --nevo-font-size-2xl: 26px;
    --nevo-font-size-3xl: 32px;
    --nevo-font-size-4xl: 44px;

    --nevo-color-text-primary: #ffffff;
    --nevo-color-text-secondary: #004680;
    --nevo-color-text-tertiary: #1e1e1e;
    --nevo-color-text-muted: #5b6b76;
    --nevo-color-surface-base: #000000;
    --nevo-color-surface-muted: #f7fafc;
    --nevo-color-surface-strong: #0b457f;
    --nevo-color-sky-top: #eaf3fb;
    --nevo-color-sky-bottom: #6fa8d8;
    --nevo-color-border-default: #e2e8f0;

    --nevo-space-1: 4px;
    --nevo-space-2: 8px;
    --nevo-space-3: 12px;
    --nevo-space-4: 16px;
    --nevo-space-5: 20px;
    --nevo-space-6: 28px;
    --nevo-space-7: 36px;
    --nevo-space-8: 48px;

    --nevo-radius-sm: 8px;
    --nevo-radius-md: 16px;
    --nevo-radius-lg: 28px;
    --nevo-motion-fast: 400ms;
    --nevo-motion-slow: 900ms;

    color: var(--nevo-color-text-tertiary);
    overflow-x: hidden;
}

.about-nevo-page .section-padder,
.about-nevo-page section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 10vw, 12.5rem);
}

.about-nevo-page .nevo-heading {
    font-size: var(--nevo-font-size-3xl);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--nevo-color-text-secondary);
    margin-bottom: var(--nevo-space-6);
}

@media (min-width: 992px) {
    .about-nevo-page .nevo-heading {
        font-size: var(--nevo-font-size-4xl);
    }
}

/* Focus visibility (WCAG 2.2 AA) — never remove outlines, only restyle them */
.about-nevo-page a:focus-visible,
.about-nevo-page button:focus-visible {
    outline: 3px solid var(--nevo-color-surface-strong);
    outline-offset: 2px;
    border-radius: var(--nevo-radius-sm);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.nevo-hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #cdd9e3;
}

.nevo-hero-media {
    position: absolute;
    inset: 0;
}

.nevo-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nevo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.nevo-hero-content {
    position: relative;
    z-index: 1;
    color: var(--nevo-color-text-secondary);
    padding: var(--nevo-space-6);
}

.nevo-hero-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--nevo-space-8);
    margin-bottom: var(--nevo-space-4);

}

.nevo-hero-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid currentColor;
}

.nevo-hero-logo__ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid currentColor;
}

.nevo-hero-logo__text {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
}

.nevo-hero-tagline {
    font-size: var(--nevo-font-size-lg);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.nevo-intro-content {
    max-width: 1024px;
}

.nevo-intro-lead {
    font-size: var(--nevo-font-size-lg);
    font-weight: 600;
    color: var(--nevo-color-text-secondary);
    margin-bottom: var(--nevo-space-5);
}

.nevo-intro-text {
    font-size: var(--nevo-font-size-md);
    line-height: 1.8;
    color: var(--nevo-color-text-muted);
    margin-bottom: var(--nevo-space-4);
    font-size: 20px;
}

.nevo-intro-text:last-child {
    margin-bottom: 0;
}
.nevo-intro-section{
    background: linear-gradient(
        180deg,
        #d2c9bb 0%,
        #dad0c1 10%,
        #e4dcd2 25%,
        #eeeae4 50%,
        #f5f2ee 75%,
        #f7f6f3 90%,
        #ffffff 100%
    );
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 120px;
}

/* ==========================================================================
   DIVIDER HEADING (used above the "Smart Mobility Home" gallery)
   ========================================================================== */
.nevo-divider-heading {
    display: flex;
    align-items: center;
    gap: var(--nevo-space-5);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--nevo-color-text-secondary);
    text-transform: uppercase;
    margin-bottom: var(--nevo-space-7);
}

.nevo-divider-heading::before,
.nevo-divider-heading::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background-color: var(--nevo-color-border-default);
}

/* ==========================================================================
   SMART MOBILITY HOME — circular highlight gallery
   ========================================================================== */
.nevo-mobility-section{
    padding-top: 120px;
}
.nevo-mobility-circle {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: transform var(--nevo-motion-fast) ease;
}

.nevo-mobility-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nevo-mobility-circle:hover {
    transform: translateY(-6px);
}

/* ==========================================================================
   BRAND HISTORY INTRO
   ========================================================================== */
.nevo-history-subtitle {
    font-size: var(--nevo-font-size-2xl);
    font-weight: 400;
    color: var(--nevo-color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--nevo-space-5);
}

.nevo-history-desc {
    max-width: 1024px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--nevo-color-text-secondary);
}

.nevo-history-desc strong {
    color: var(--nevo-color-text-secondary);
}
.nevo-history-intro-section .nevo-heading{
    text-transform: uppercase;
    font-size: 3rem;
}


/* ==========================================================================
   TIMELINE
   ========================================================================== */
.nevo-timeline-section {
    position: relative;
    background: linear-gradient(180deg,
    var(--nevo-color-sky-top) 0%,
    #cfe2f2 22%,
    var(--nevo-color-sky-bottom) 78%,
    var(--nevo-color-sky-bottom) 100%);
    color: var(--nevo-color-text-primary);
    padding-bottom: 80px !important;
}

.nevo-timeline-skyline {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    line-height: 0;
}

.nevo-timeline-skyline img {
    width: 100%;
    height: auto;
    display: block;
}

.nevo-timeline {
    position: relative;
    padding: var(--nevo-space-8) 0;
}

/* Central vertical line, with a fill that grows via JS as the reader
   scrolls through the timeline (see about-nevo.js) */
.nevo-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 8px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: var(--nevo-radius-sm);
}

.nevo-timeline-line__fill {
    display: block;
    width: 100%;
    height: 0%;
    background-color: var(--nevo-color-text-secondary);
    border-radius: var(--nevo-radius-sm);
    transition: height 80ms linear;
}

@media (min-width: 992px) {
    .nevo-timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.nevo-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--nevo-space-5);
    align-items: start;
    margin-bottom: var(--nevo-space-8);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--nevo-motion-slow) ease, transform var(--nevo-motion-slow) ease;
}

.nevo-timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nevo-timeline-item:last-child {
    margin-bottom: 0;
}

.nevo-timeline-marker {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
    z-index: 1;
}

.nevo-timeline-year {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--nevo-color-text-secondary);
    color: var(--nevo-color-text-primary);
    font-weight: 700;
    font-size: var(--nevo-font-size-xl);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
}

.nevo-timeline-content {
    grid-row: 1;
    grid-column: 2;
}

.nevo-timeline-spacer {
    display: none;
}

.nevo-timeline-images {
    border-radius: var(--nevo-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    margin-bottom: var(--nevo-space-3);
    border: 8px solid #fff;
}

.nevo-timeline-images--pair {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2px;
}

.nevo-timeline-images img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    display: block;
}

.nevo-timeline-caption {
    font-size: var(--nevo-font-size-sm);
    font-weight: 700;
    color: var(--nevo-color-text-primary);
    margin-bottom: var(--nevo-space-1);
}

.nevo-timeline-text {
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.8);
    max-width: 420px;
    margin-bottom: 0;
    font-size: 20px;
}

/* Desktop: true zig-zag — marker on the shared center line, content
   alternating left/right of it */
@media (min-width: 992px) {
    .nevo-timeline-item {
        grid-template-columns: 1fr 56px 1fr;
        gap: var(--nevo-space-7);
    }

    .nevo-timeline-marker {
        grid-column: 2;
        justify-self: center;
    }

    .nevo-timeline-spacer {
        display: block;
        grid-row: 1;
    }

    .nevo-timeline-item--left .nevo-timeline-content {
        grid-column: 1;
        justify-self: end;
        text-align: right;
    }

    .nevo-timeline-item--left .nevo-timeline-content .nevo-timeline-text {
        margin-left: auto;
    }

    .nevo-timeline-item--left .nevo-timeline-spacer {
        grid-column: 3;
    }

    .nevo-timeline-item--right .nevo-timeline-content {
        grid-column: 3;
        justify-self: start;
        text-align: left;
    }

    .nevo-timeline-item--right .nevo-timeline-spacer {
        grid-column: 1;
    }
}

/* ==========================================================================
   TIMELINE CTA — "Coming Soon to Thailand" closing panel
   ========================================================================== */
.nevo-timeline-cta {
    position: relative;
    padding: var(--nevo-space-8) var(--nevo-space-6);
    border-radius: var(--nevo-radius-lg);
    background: linear-gradient(180deg, rgba(11, 69, 127, 0.10) 0%, rgba(11, 69, 127, 0.20) 100%);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--nevo-motion-slow) ease, transform var(--nevo-motion-slow) ease;
    max-width: 1024px;
    margin: 0 auto;
    margin-top: var(--nevo-space-8);
}
.nevo-timeline-cta .nevo-hero-logo{
    width: 150px;
}

.nevo-timeline-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nevo-timeline-cta__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--nevo-space-3);
    color: var(--nevo-color-text-primary);
    margin-bottom: var(--nevo-space-4);
}

.nevo-timeline-cta__title {
    font-size: var(--nevo-font-size-2xl);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nevo-color-text-primary);
    margin-bottom: 0;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .about-nevo-page * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .nevo-timeline-item,
    .nevo-timeline-cta {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 1536px){
    .nevo-timeline-skyline{
        top: -6%;
    }
}
@media (max-width: 991px){
    .nevo-mobility-row{
        flex-direction: column;
    }
    .nevo-timeline-skyline{
        display: none;
    }
    .nevo-timeline-text{
        max-width: auto;
    }

}
@media (max-width: 575px){
    .nevo-timeline-line{
        left: 32px;
    }
    .nevo-history-subtitle{
        font-size: var(--nevo-font-size-lg);
    }
    .nevo-history-desc,
    .nevo-timeline-text{
        font-size: 16px;
    }
    .nevo-divider-heading span{
        font-size: 1.7rem;
    }
    .nevo-history-intro-section .nevo-heading{
        font-size: 2rem;
    }
    .nevo-timeline-year{
        width: 70px;
        height: 70px;
        font-size: var(--nevo-font-size-sm);
    }
    .nevo-intro-text{
        font-size: var(--nevo-font-size-sm);
    }
}
