/* ============================================================
   Qumogu Family Journeys — International Site (English)
   Apple-inspired design language
   ============================================================ */

:root {
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f7;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-brand: #2db84d;
    --color-border: #d2d2d7;
    --radius-card: 24px;
    --radius-pill: 980px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
            "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
    --nav-h: 52px;
    --ease-out: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Navigation ---------- */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(251, 251, 253, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.site-nav.scrolled { border-bottom-color: var(--color-border); }

.nav-inner {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: var(--color-brand);
    color: #fff;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 12px;
    color: var(--color-text);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
    background: var(--color-accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    opacity: 1;
    transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--color-accent-hover); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switch { position: relative; }
.lang-current {
    font-family: var(--font);
    font-size: 12px;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; gap: 4px;
    padding: 6px 4px;
}
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    padding: 6px;
    display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.lang-menu li.active { background: var(--color-bg-alt); font-weight: 600; }
.lang-menu li.soon { color: var(--color-text-secondary); }
.lang-menu li.soon span {
    font-size: 10px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
}
.lang-menu li a {
    display: block;
    margin: -8px -12px;
    padding: 8px 12px;
    border-radius: 9px;
}
.lang-menu li a:hover { background: var(--color-bg-alt); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 18px; height: 1.5px;
    background: var(--color-text);
    transition: transform 0.3s var(--ease-out);
}
.menu-toggle.open span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 8s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 120px 24px 80px;
}
.hero-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.92);
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(44px, 8vw, 88px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 22px;
}
.hero-sub {
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: background 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-ghost {
    background: rgba(255,255,255,0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.24); }

.hero-scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 26px; height: 42px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    display: flex; justify-content: center;
}
.hero-scroll span {
    width: 3px; height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    margin-top: 7px;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(10px); opacity: 0.2; }
}

/* ---------- Trust bar ---------- */
.trust { background: var(--color-bg-alt); }
.trust-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 56px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.trust-number {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #0d6e4f, #2db84d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust-plus {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #2db84d;
}
.trust-label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* ---------- Sections ---------- */
.section { padding: 110px 24px; }
.section:nth-of-type(even) { background: var(--color-bg-alt); }

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.eyebrow {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-head h2,
.contact-card h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.section-sub {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Gateway ---------- */
.gateway-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gateway-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px 30px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.section:nth-of-type(odd) .gateway-card { background: var(--color-bg-alt); box-shadow: none; }
.gateway-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.gateway-step {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-brand);
    display: block;
    margin-bottom: 14px;
}
.gateway-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.gateway-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }

/* ---------- Journeys ---------- */
.journey-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.journey-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.1);
}
.journey-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.journey-card:hover img { transform: scale(1.04); }
.journey-large { grid-column: 1 / -1; }
.journey-large img { height: 420px; }
.journey-body { padding: 28px 30px 32px; }
.journey-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.journey-body h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 8px; }
.journey-body p { font-size: 15px; color: var(--color-text-secondary); margin-bottom: 16px; }
.journey-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.journey-link span { transition: transform 0.2s var(--ease-out); }
.journey-link:hover span { transform: translateX(4px); }

/* ---------- Why ---------- */
.why-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.why-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 34px 28px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
.why-icon { font-size: 34px; margin-bottom: 16px; }
.why-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.why-card p { font-size: 14.5px; color: var(--color-text-secondary); line-height: 1.6; }

/* ---------- How ---------- */
.how-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}
.how-step { padding: 20px 24px; }
.how-number {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--color-text);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.how-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.how-step p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }

/* ---------- Gallery ---------- */
.gallery-grid {
    max-width: 1024px;
    margin: 0 auto;
    columns: 3;
    column-gap: 16px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-item img {
    width: 100%;
    border-radius: 18px;
    transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }

.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

/* ---------- Stories ---------- */
.story-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.story-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.story-card p {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}
.story-card footer strong { display: block; font-size: 14px; }
.story-card footer span { font-size: 13px; color: var(--color-text-secondary); }

/* ---------- Contact ---------- */
.contact { background: var(--color-bg-alt); }
.contact-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 32px;
    padding: 72px 48px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.06);
}
.contact-sub {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
}
.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-pill);
    padding: 18px 32px;
    transition: background 0.2s, transform 0.2s var(--ease-out);
}
.contact-mail:hover { background: #ececf0; transform: translateY(-2px); }
.contact-phone { margin-left: 12px; }
.contact-mail-icon { font-size: 24px; }
.contact-mail-text { text-align: left; }
.contact-mail-text strong { display: block; font-size: 19px; letter-spacing: -0.01em; }
.contact-mail-text span { font-size: 13px; color: var(--color-text-secondary); }
.contact-note {
    margin-top: 28px;
    font-size: 13px;
    color: var(--color-text-secondary);
}
.contact-note a { color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand p {
    margin-top: 14px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 14px;
}
.footer-col a, .footer-col span {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}
.footer-col a:hover { color: var(--color-text); text-decoration: underline; }
.footer-bottom {
    max-width: 1024px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 11px; color: var(--color-text-secondary); }

/* ---------- Pain points ---------- */
.pain-grid {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pain-item {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 28px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.pain-icon { font-size: 26px; flex-shrink: 0; }
.pain-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.55;
}
.pain-bridge {
    max-width: 720px;
    margin: 56px auto 0;
    text-align: center;
    font-size: clamp(19px, 2.6vw, 24px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--color-text);
}
.pain-bridge strong {
    background: linear-gradient(120deg, #0d6e4f, #2db84d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Service cards ---------- */
.service-card { display: flex; flex-direction: column; }
.service-tag {
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

/* ---------- Trust bar inline (inside sections) ---------- */
.trust-inline { padding: 0 0 64px; }

/* ---------- Track record ---------- */
.record-grid {
    max-width: 1024px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.record-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 30px 28px;
}
.record-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.record-card h3 { font-size: 19px; font-weight: 700; margin: 8px 0; letter-spacing: -0.01em; }
.record-card p { font-size: 14.5px; color: var(--color-text-secondary); line-height: 1.6; }

/* ---------- Field notes (story links) ---------- */
.fieldnotes { max-width: 1024px; margin: 56px auto 0; }
.fieldnotes-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 18px;
}
.fieldnotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.fieldnote-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    color: inherit;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.fieldnote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.fieldnote-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.fieldnote-body { padding: 20px 22px 24px; }
.fieldnote-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
}
.fieldnote-body h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin: 8px 0 12px;
}
.fieldnote-link { font-size: 14px; color: var(--color-accent); font-weight: 600; }
.fieldnotes-more { text-align: center; margin: 28px 0 0; font-size: 15px; }
.fieldnotes-more a { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.fieldnotes-more a:hover { text-decoration: underline; }

/* ---------- Destinations ---------- */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}
.dest-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    color: inherit;
    border: 1px solid var(--color-border);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
    text-decoration: none;
}
.dest-card img {
    width: 100%;
    height: 196px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.dest-card:hover img { transform: scale(1.04); }
.dest-body { padding: 20px 22px 24px; }
.dest-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.dest-body h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.32;
    margin: 8px 0 10px;
    color: var(--color-text);
}
.dest-body p {
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}
.dest-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 42px;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-media img { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
    .dest-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .gateway-grid, .why-grid, .how-grid, .story-grid,
    .pain-grid, .record-grid, .fieldnotes-grid, .dest-grid { grid-template-columns: 1fr; }
    .journey-grid { grid-template-columns: 1fr; }
    .journey-large img { height: 280px; }
    .gallery-grid { columns: 2; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .section { padding: 80px 20px; }
    .contact-card { padding: 56px 28px; }
}

@media (max-width: 734px) {
    .contact-phone { margin-left: 0; margin-top: 12px; }
    .contact-card .contact-mail { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(251,251,253,0.96);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--color-border);
        padding: 8px 24px 20px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        width: 100%;
        font-size: 15px;
        padding: 13px 0;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links .nav-cta {
        margin-top: 14px;
        border-bottom: none;
        text-align: center;
        padding: 12px;
    }
    .menu-toggle { display: flex; }
    .gallery-grid { columns: 1; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { justify-content: center; text-align: center; }
}


/* ---------- 首页「最新文章」区块（由 publish_geo_article.py 自动维护） ---------- */
.latest-insights { background: var(--color-bg-alt); }
.latest-insights .section-head { text-align: center; margin-bottom: 34px; }
.latest-insights .eyebrow {
    font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--color-brand); font-weight: 600; margin-bottom: 8px;
}
.latest-insights h2 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 10px; }
.latest-insights .section-sub {
    font-size: 15px; color: var(--color-text-secondary); max-width: 620px; margin: 0 auto;
}
.li-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1024px; margin: 0 auto;
}
.li-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-card, 18px); padding: 22px 20px 18px;
    transition: transform .25s var(--ease-out, ease), box-shadow .25s var(--ease-out, ease);
}
.li-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.li-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--color-brand); background: var(--color-bg-alt);
    border-radius: var(--radius-pill, 980px); padding: 4px 10px; margin-bottom: 12px;
}
.li-card h3 { font-size: 17px; line-height: 1.45; margin-bottom: 8px; letter-spacing: -.01em; }
.li-card p { font-size: 13.5px; line-height: 1.65; color: var(--color-text-secondary); }
.li-date { display: block; margin-top: 12px; font-size: 12px; color: var(--color-text-secondary); opacity: .8; }
.li-more { text-align: center; margin-top: 26px; }
.li-more a { font-size: 14px; font-weight: 600; color: var(--color-brand); text-decoration: none; }
.li-more a:hover { text-decoration: underline; }
.li-note { text-align: center; margin-top: 10px; font-size: 12.5px; color: var(--color-text-secondary); }

@media (max-width: 768px) {
    .latest-insights h2 { font-size: 24px; }
    .li-grid { grid-template-columns: 1fr; }
}
