/* About page — Hikari-inspired layout, Reemoon VI #00856f, full-bleed */

.about-page {
    --about-brand: #00856f;
    --about-brand-dark: #006b59;
    --about-brand-light: #00a88a;
    --about-brand-bright: #6ee7c7;
    --about-brand-muted: #eef6f3;
    --about-text: #1a1a1a;
    --about-text-muted: #5a756e;
    --about-max: min(1680px, 100%);
    --about-gutter: clamp(20px, 4vw, 80px);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    color: var(--about-text);
}

.about-container {
    width: 100%;
    max-width: var(--about-max);
    margin: 0 auto;
    padding-left: var(--about-gutter);
    padding-right: var(--about-gutter);
    box-sizing: border-box;
}

.about-hero,
.about-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-eyebrow {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--about-brand);
}

.about-heading {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--about-text);
}

.about-heading--center {
    text-align: center;
    margin-bottom: 32px;
}

.about-heading--light {
    color: #fff;
}

.about-lead,
.about-body {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--about-text-muted);
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--about-brand);
    text-decoration: none;
}

.about-link:hover {
    color: var(--about-brand-dark);
}

.about-section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.about-section:nth-child(even) {
    background: var(--about-brand-muted);
}

/* 荣誉奖项 vs 全球市场 — 背景区分 */
.about-page > section.about-honors {
    background: linear-gradient(180deg, #eef6f3 0%, #f0f6f4 50%, #e8f2ef 100%);
}

.about-page > section.about-global {
    background: #fff;
}

.about-page > section.about-global::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 auto;
    max-width: min(1480px, calc(100% - 2 * clamp(20px, 4vw, 80px)));
    background: linear-gradient(90deg, transparent, rgba(0, 133, 111, 0.12), transparent);
}

/* ── Hero ── */
.about-hero {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.about-hero__media {
    position: absolute;
    inset: 0;
    background: #061512;
}

.about-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__mobile-poster {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 35, 30, 0.55) 0%, rgba(0, 45, 38, 0.72) 45%, rgba(0, 30, 26, 0.85) 100%);
}

.about-hero__content {
    position: relative;
    z-index: 2;
    padding: 120px var(--about-gutter) 80px;
    max-width: 900px;
}

.about-hero__title {
    margin: 0 0 28px;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.about-hero__title span {
    display: block;
}

.about-hero__title > span:not(.about-hero__title-line) {
    color: #fff;
}

/* Hero title — override legacy global heading colors */
.about-page .about-hero h1.about-hero__title {
    color: #fff;
}

.about-page .about-hero h1.about-hero__title > span:not(.about-hero__title-line) {
    color: #fff;
}

.about-hero__title-line {
    color: var(--about-brand-bright);
    margin-top: 8px;
}

/* en/es hero slogans — keep each phrase on one line (avoid mid-phrase wraps) */
.about-hero--en .about-hero__title span,
.about-hero--es .about-hero__title span {
    white-space: nowrap;
}

.about-hero--en .about-hero__content {
    max-width: min(960px, 100%);
}

.about-hero--en .about-hero__title {
    font-size: clamp(0.8125rem, 3.6vw, 3rem);
    line-height: 1.25;
}

.about-hero--es .about-hero__content {
    max-width: min(1040px, 100%);
}

.about-hero--es .about-hero__title {
    font-size: clamp(0.75rem, 3.1vw, 2.75rem);
    line-height: 1.25;
}

.about-hero__play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.25s, border-color 0.25s;
}

.about-hero__play:hover {
    background: rgba(0, 133, 111, 0.35);
    border-color: var(--about-brand-bright);
    color: #fff;
}

.about-hero__play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--about-brand-light);
}

.about-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
}

.about-hero__scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
    animation: about-scroll-pulse 2s ease-in-out infinite;
}

@keyframes about-scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Intro ── */
.about-intro__grid {
    display: grid;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

@media (min-width: 992px) {
    .about-intro__grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-intro__img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 50px rgba(0, 133, 111, 0.12);
}

.about-stats__title {
    margin: 0 0 28px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--about-text);
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .about-stats__grid {
        grid-template-columns: repeat(var(--about-stats-cols, 5), minmax(0, 1fr));
    }
}

.about-stats__item {
    padding: 24px 16px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 133, 111, 0.12);
}

.about-stats__value {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--about-brand);
    line-height: 1.2;
}

.about-stats__label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--about-text-muted);
}

/* ── Innovation ── */
.about-innovation {
    background: #fff !important;
}

.about-innovation__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-innovation__grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-innovation__media img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.about-innovation__text .about-heading strong {
    display: block;
    color: var(--about-brand);
    font-weight: 700;
}

/* ── Values tabs (legacy — section replaced by global globe on /about) ── */
.about-values {
    background: var(--about-brand-muted) !important;
}

.about-values__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(0, 133, 111, 0.2);
}

.about-values__tab {
    flex: 1;
    min-width: 120px;
    padding: 14px 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--about-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.about-values__tab.is-active,
.about-values__tab:hover {
    color: var(--about-brand);
    border-bottom-color: var(--about-brand);
}

.about-values__panel {
    display: none;
    padding: 8px 0;
}

.about-values__panel.is-active {
    display: block;
}

.about-values__content {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--about-text-muted);
}

/* Global network globe — embedded from /global map block */
.about-page .about-global-map.global-map {
    padding: clamp(56px, 7vw, 88px) 0;
}

.about-page .about-global-map .global-container {
    max-width: min(1480px, 100%);
    padding-left: clamp(24px, 5vw, 96px);
    padding-right: clamp(24px, 5vw, 96px);
}

/* ── History timeline tabs ── */
.about-chain {
    padding-top: 72px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #f7faf9 0%, #fff 100%);
}

.about-chain__header {
    text-align: center;
    margin-bottom: 40px;
}

.about-chain__subtitle {
    margin: -8px 0 0;
    font-size: 15px;
    color: var(--about-text-muted);
    letter-spacing: 0.06em;
}

.about-chain__tabs-wrap {
    margin-bottom: 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.about-chain__tabs-wrap::-webkit-scrollbar {
    display: none;
}

.about-chain__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    justify-content: center;
    min-width: min-content;
    padding: 4px 2px 8px;
}

.about-chain__tab-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    color: rgba(0, 133, 111, 0.42);
    padding: 0 4px;
    line-height: 0;
}

.about-chain__tab-sep svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}

.about-chain__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 160px;
    max-width: 240px;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid rgba(0, 133, 111, 0.16);
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    color: var(--about-text-muted);
    box-shadow: 0 2px 8px rgba(0, 40, 32, 0.04);
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.about-chain__tab:hover:not(.is-active) {
    border-color: rgba(0, 133, 111, 0.35);
    color: var(--about-brand);
    box-shadow: 0 4px 14px rgba(0, 133, 111, 0.08);
}

.about-chain__tab.is-active {
    background: var(--about-brand);
    border-color: var(--about-brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 133, 111, 0.28);
}

.about-chain__tab-index {
    flex-shrink: 0;
    min-width: 2em;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--about-brand);
    transition: color 0.22s ease;
}

.about-chain__tab.is-active .about-chain__tab-index {
    color: #fff;
}

.about-chain__tab-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
}

.about-chain__cards {
    position: relative;
}

.about-chain__card {
    display: none;
    animation: aboutChainFadeIn 0.4s ease;
}

.about-chain__card.is-active {
    display: block;
}

@keyframes aboutChainFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-chain__card-grid {
    display: grid;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 40, 32, 0.08);
    border: 1px solid rgba(0, 133, 111, 0.08);
}

@media (min-width: 992px) {
    .about-chain__card-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: start;
    }
}

.about-chain__card-media-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(165deg, #f4faf8 0%, #eef6f3 100%);
    align-self: start;
}

/* About 历程 Tab：只保留第一张主图，隐藏其余 */
.about-chain__card-media-stack .about-chain__card-media:not(:first-child) {
    display: none;
}

@media (min-width: 992px) {
    .about-chain__card-media-stack {
        gap: 16px;
        padding: 16px;
    }
}

.about-chain__card-media {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: visible;
    background: transparent;
    flex-shrink: 0;
}

.about-chain__photo-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 40, 32, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-chain__photo-btn:hover {
    box-shadow: 0 8px 28px rgba(0, 40, 32, 0.14);
    transform: translateY(-1px);
}

.about-chain__photo-btn:focus-visible {
    outline: 2px solid var(--about-brand);
    outline-offset: 3px;
}

.about-chain__card-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.about-chain__photo-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 77, 65, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.about-chain__photo-btn:hover .about-chain__photo-hint,
.about-chain__photo-btn:focus-visible .about-chain__photo-hint {
    opacity: 1;
    transform: translateY(0);
}

.about-chain__card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
}

.about-chain__card-year {
    margin: 0 0 20px;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--about-text);
    line-height: 1.35;
}

.about-chain__card-phase {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--about-brand);
}

.about-chain__events {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-chain__event {
    padding: 16px 0;
    border-top: 1px solid rgba(0, 133, 111, 0.08);
}

.about-chain__event:first-child {
    padding-top: 0;
    border-top: 0;
}

.about-chain__event-year {
    display: block;
    margin-bottom: 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--about-brand);
}

.about-chain__event-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--about-text-muted);
}

.about-chain__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--about-brand);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.about-chain__more:hover {
    color: var(--about-brand-dark);
    gap: 10px;
}

.about-chain__card-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--about-text-muted);
}

@media (max-width: 767px) {
    .about-chain__tabs {
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
    }

    .about-chain__tab-sep svg {
        width: 1rem;
        height: 1rem;
    }

    .about-chain__tab {
        flex: 0 0 auto;
        min-width: 148px;
        max-width: 220px;
        padding: 10px 16px;
        min-height: 48px;
    }

    .about-chain__tab-title {
        font-size: 13px;
    }
}

/* ── Mission ── */
.about-mission {
    background: linear-gradient(135deg, var(--about-brand-dark), var(--about-brand)) !important;
    text-align: center;
}

.about-mission__inner {
    max-width: 760px;
}

.about-mission__text {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

/* ── Explore cards ── */
.about-explore {
    background: #fff !important;
}

.about-explore__grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .about-explore__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .about-explore__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-explore__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 133, 111, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
}

.about-explore__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 133, 111, 0.14);
    color: inherit;
    text-decoration: none;
}

.about-explore__card:hover .about-explore__card-body h3,
.about-explore__card:focus .about-explore__card-body h3 {
    color: var(--about-brand);
}

.about-explore__card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.about-explore__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.about-explore__card:hover .about-explore__card-media img {
    transform: scale(1.05);
}

.about-explore__card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-explore__card-body h3 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
}

.about-explore__card-body p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--about-text-muted);
}

.about-explore__card-more {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--about-brand);
}

/* ── Global ── */
.about-global__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-global__grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.about-global__highlight {
    display: inline-flex;
    flex-direction: column;
    margin-top: 28px;
    padding: 20px 28px;
    background: var(--about-brand-muted);
    border-radius: 12px;
}

.about-global__highlight-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--about-brand);
    line-height: 1.2;
}

.about-global__highlight-label {
    font-size: 14px;
    color: var(--about-text-muted);
}

.about-global__map img {
    width: 100%;
    border-radius: 12px;
}

/* ── Promo video band ── */
.about-promo {
    background: linear-gradient(135deg, #0a2520, #123830) !important;
    text-align: center;
}

.about-promo__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-promo__play {
    text-decoration: none;
}

.about-promo__play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--about-brand-light);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 133, 111, 0.4);
    transition: transform 0.2s, background 0.2s;
}

.about-promo__play:hover .about-promo__play-btn {
    transform: scale(1.08);
    background: var(--about-brand);
}

/* ── CTA ── */
.about-cta {
    background: #fff !important;
}

.about-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 16px;
    background: var(--about-brand-muted);
    border: 1px solid rgba(0, 133, 111, 0.15);
}

.about-cta .about-btn {
    padding: 12px 24px;
    font-size: 0.875rem;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: var(--about-brand);
    border-radius: 999px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.about-btn:hover {
    background: var(--about-brand-dark);
    color: #fff;
}

/* ── Mobile: poster instead of video ── */
@media (max-width: 767px) {
    .about-hero {
        min-height: 70vh;
    }

    .about-hero__video {
        display: none;
    }

    .about-hero__mobile-poster {
        display: block;
    }

    .about-hero__content {
        padding-top: 100px;
        padding-bottom: 64px;
    }

    .about-hero--en .about-hero__content,
    .about-hero--es .about-hero__content {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .about-hero--en .about-hero__title {
        font-size: clamp(0.75rem, 4.1vw, 1.75rem);
    }

    .about-hero--es .about-hero__title {
        font-size: clamp(0.6875rem, 3.6vw, 1.625rem);
    }

    .about-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-chain__card-year {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__scroll-line {
        animation: none;
    }

    .about-explore__card,
    .about-explore__card-media img,
    .about-promo__play-btn,
    .about-chain__card,
    .about-honors__cert,
    .about-honors__cert img,
    .about-honors__slide.is-active {
        transition: none;
        animation: none;
    }
}
