@charset "UTF-8";

/* ========================================
   Japanese Business Style System (Premium)
   Theme: Trust, Innovation, Elegance
   ======================================== */

:root {
    /* Colors - Light Theme */
    --color-primary: #003B73;      /* Premium Business Blue */
    --color-primary-dark: #002855; /* Deeper Navy */
    --color-accent: #C5A059;       /* Champagne Gold */
    --color-text-main: #2C3E50;    /* Dark Blue-Grey for text */
    --color-text-light: #607D8B;   /* Muted Blue-Grey */
    --color-bg-body: #F7F9FC;      /* Very light cool grey */
    --color-bg-white: #FFFFFF;
    --color-border: #E1E8ED;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #002855 0%, #004E92 100%);
    --gradient-accent: linear-gradient(135deg, #C5A059 0%, #E6C88B 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 59, 115, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 59, 115, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 59, 115, 0.12);
    --shadow-hover: 0 15px 40px rgba(0, 59, 115, 0.15);

    /* Typography */
    --font-serif: "Noto Serif SC", "Songti SC", serif;
    --font-sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
    --color-primary: #5B9BD5;      /* Lighter Blue for dark mode */
    --color-primary-dark: #4A8BC9;
    --color-accent: #D4AF61;       /* Brighter Gold */
    --color-text-main: #E8EAED;    /* Light text */
    --color-text-light: #9AA0A6;   /* Muted light text */
    --color-bg-body: #1A1A2E;      /* Dark background */
    --color-bg-white: #16213E;     /* Dark card background */
    --color-border: #2D3748;       /* Dark border */
    
    --gradient-hero: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Dark mode specific overrides */
[data-theme="dark"] .header {
    background-color: rgba(26, 26, 46, 0.95);
}

[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .biz-card-h,
[data-theme="dark"] .stat-item {
    background: var(--color-bg-white);
}

[data-theme="dark"] .section-gray {
    background: #0F0F23;
}

[data-theme="dark"] .page-header {
    background: var(--gradient-hero);
}

[data-theme="dark"] .footer {
    background: #0A0A15;
}

[data-theme="dark"] .btn {
    color: #fff;
}

[data-theme="dark"] .btn-outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

[data-theme="dark"] .logo-text {
    color: var(--color-primary);
}

[data-theme="dark"] .logo-text span {
    color: var(--color-text-light);
}

[data-theme="dark"] .nav a {
    color: var(--color-text-main);
}

[data-theme="dark"] .lang-btn {
    color: var(--color-text-light);
}

[data-theme="dark"] .lang-btn:hover,
[data-theme="dark"] .lang-btn.active {
    color: var(--color-primary);
}

[data-theme="dark"] .keyword {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-desc,
[data-theme="dark"] .hero-eyebrow {
    color: #fff;
}

[data-theme="dark"] .value-item {
    background: var(--color-bg-white);
    border-left-color: transparent;
}

[data-theme="dark"] .value-item:hover {
    border-left-color: var(--color-accent);
}

[data-theme="dark"] .value-number {
    color: rgba(91, 155, 213, 0.15);
}

[data-theme="dark"] .value-title {
    color: var(--color-primary);
}

[data-theme="dark"] .value-text {
    color: var(--color-text-light);
}

[data-theme="dark"] .jp-title {
    color: var(--color-primary);
}

[data-theme="dark"] .jp-subtitle {
    color: var(--color-accent);
}

[data-theme="dark"] .section-desc {
    color: var(--color-text-light);
}

[data-theme="dark"] .card-title {
    color: var(--color-primary);
}

[data-theme="dark"] .card-desc {
    color: var(--color-text-light);
}

[data-theme="dark"] .biz-title {
    color: var(--color-primary);
}

[data-theme="dark"] .biz-desc {
    color: var(--color-text-light);
}

[data-theme="dark"] .list-check li {
    color: var(--color-text-light);
}

[data-theme="dark"] .msg-quote {
    color: var(--color-text-main);
    border-left-color: var(--color-accent);
}

[data-theme="dark"] .stat-label {
    color: var(--color-text-light);
}

[data-theme="dark"] .stat-value {
    color: var(--color-text-main);
}

[data-theme="dark"] .scroll-indicator {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .news-item {
    background: var(--color-bg-white);
    border-left-color: rgba(91, 155, 213, 0.3);
}

[data-theme="dark"] .news-item.news-pinned {
    background: linear-gradient(135deg, rgba(212, 175, 97, 0.08) 0%, var(--color-bg-white) 100%);
    border-left-color: var(--color-accent);
}

[data-theme="dark"] .news-title {
    color: var(--color-primary);
}

[data-theme="dark"] .news-content {
    color: var(--color-text-light);
}

[data-theme="dark"] .news-date {
    color: var(--color-text-light);
}

[data-theme="dark"] .news-empty {
    color: var(--color-text-light);
}

[data-theme="dark"] .page-title {
    color: var(--color-primary);
}

[data-theme="dark"] .page-subtitle {
    color: var(--color-accent);
}

[data-theme="dark"] .breadcrumb {
    background: var(--color-bg-body);
    color: var(--color-text-light);
}

[data-theme="dark"] .highlight {
    color: var(--color-primary);
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(212, 175, 97, 0.15) 60%);
}

[data-theme="dark"] .footer h4,
[data-theme="dark"] .footer h5,
[data-theme="dark"] .footer a,
[data-theme="dark"] .footer p {
    color: inherit;
}

[data-theme="dark"] .feature-title {
    color: var(--color-primary);
}

[data-theme="dark"] .feature-text {
    color: var(--color-text-light);
}

[data-theme="dark"] .biz-num {
    color: rgba(91, 155, 213, 0.08);
}

[data-theme="dark"] .msg-sign {
    color: var(--color-text-main);
    border-top-color: var(--color-border);
}

[data-theme="dark"] .msg-sign small {
    color: var(--color-text-light);
}

[data-theme="dark"] .msg-sign strong {
    color: var(--color-text-main);
}

[data-theme="dark"] .feature-card {
    background: var(--color-bg-white);
}

/* Mobile Menu Button - Floating */
.mobile-menu-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 59, 115, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 59, 115, 0.4);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active {
    background: var(--color-accent);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 59, 115, 0.98);
    z-index: 1000;
    padding: 80px 30px 30px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    display: block;
    padding: 20px 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-accent);
    padding-left: 10px;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-white { background-color: var(--color-bg-white); }
.section-gray { background-color: var(--color-bg-body); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-accent);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn:hover::before { width: 100%; }
.btn:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-gold {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}

/* ========================================
   Typography System
   ======================================== */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.jp-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.jp-title {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

/* Decorative line under title */
.jp-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.section-header:hover .jp-title::after { width: 80px; }

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Highlights */
.highlight {
    color: var(--color-primary);
    font-weight: 600;
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(197, 160, 89, 0.2) 60%);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    gap: 40px;
}

.nav {
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--color-text-light);
    font-weight: 400;
    text-transform: uppercase;
}

.nav ul { 
    display: flex; 
    gap: 28px; 
    align-items: center; 
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    justify-self: end;
}

.lang-btn {
    font-size: 12px;
    padding: 0;
    color: var(--color-text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 400;
    position: relative;
}

.lang-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn:hover::after {
    width: 100%;
}

.lang-btn.active {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lang-btn.active::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--color-border);
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background: var(--color-border);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Light mode: show moon, hide sun */
.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }

/* Dark mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }

/* Separator between language options */
.lang-btn:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: var(--color-border);
}

.lang-switcher .lang-btn {
    padding: 0 12px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ========================================
   Hero Section (Modern)
   ======================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    /* Subtle curve at bottom */
    border-bottom-left-radius: 50% 30px;
    border-bottom-right-radius: 50% 30px;
}

/* Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,0.2) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.2) 75%);
    background-size: 100% 100%, 4px 4px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    /* Visual centering adjustment */
    transform: translateY(-20px);
}

.hero-eyebrow {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    opacity: 0.6;
    color: #fff;
    font-size: 24px;
}

/* ========================================
   Hero Floating Keywords
   ======================================== */
.hero-keywords {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.keyword {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    white-space: nowrap;
    user-select: none;
    opacity: 0;
    animation: 
        keywordFloat 20s ease-in-out infinite,
        keywordBlink 8s ease-in-out infinite;
    animation-delay: var(--delay), var(--delay);
}

/* Large keywords - Core concepts */
.keyword-lg {
    font-size: 28px;
    font-weight: 600;
}

/* Medium keywords - Key services */
.keyword-md {
    font-size: 20px;
    font-weight: 500;
}

/* Small keywords - Supporting words */
.keyword-sm {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

@keyframes keywordFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(-5px) translateX(-8px);
    }
    75% {
        transform: translateY(-18px) translateX(5px);
    }
}

@keyframes keywordBlink {
    0%, 100% {
        opacity: 0.06;
    }
    20% {
        opacity: 0.18;
    }
    40% {
        opacity: 0.08;
    }
    60% {
        opacity: 0.25;
    }
    80% {
        opacity: 0.1;
    }
}

[data-theme="dark"] .keyword {
    animation: 
        keywordFloat 20s ease-in-out infinite,
        keywordBlinkDark 8s ease-in-out infinite;
    animation-delay: var(--delay), var(--delay);
}

@keyframes keywordBlinkDark {
    0%, 100% {
        opacity: 0.25;
    }
    20% {
        opacity: 0.45;
    }
    40% {
        opacity: 0.30;
    }
    60% {
        opacity: 0.55;
    }
    80% {
        opacity: 0.35;
    }
}

/* ========================================
   Hero Particle Wave Canvas
   ======================================== */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 3;
    pointer-events: none;
}

/* ========================================
   Creative Layouts
   ======================================== */

/* Values Section - New Design */
.values-section {
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--color-bg-body) 0%, var(--color-bg-white) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border-left: 3px solid transparent;
}

.value-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-accent);
    transform: translateX(5px);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: rgba(0, 59, 115, 0.08);
    line-height: 1;
    flex-shrink: 0;
}

.value-content {
    flex: 1;
}

.value-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.value-text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* 1. Feature Grid (Icon Cards) - For other pages */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 0; 
    position: relative;
    z-index: 20;
    padding-bottom: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--color-accent);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 2. Zig-Zag Layout (Company & Message) */
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.zigzag-row.reverse {
    flex-direction: row-reverse;
}

.zigzag-content { flex: 1; }
.zigzag-media { 
    flex: 1; 
    position: relative;
}

.zigzag-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper {
    height: 100%;
    min-height: 320px;
    position: relative;
}

.map-wrapper iframe {
    display: block;
    border-radius: var(--radius-lg);
}

/* Static Map Fallback */
.map-static-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-fallback-content {
    padding: 40px;
}

.map-fallback-content .map-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.map-fallback-content h4 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.map-fallback-content p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Decorative square behind image */
.zigzag-media::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.zigzag-row.reverse .zigzag-media::before {
    right: auto;
    left: -20px;
}

.msg-quote {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-primary);
    margin-bottom: 30px;
    position: relative;
}

.msg-sign {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--color-text-main);
    text-align: right;
    margin-top: 20px;
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
    display: inline-block;
    float: right;
}

/* 3. Stats / Data Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stat-item {
    background: #fff;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label {
    font-size: 11px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* 4. Business Cards (Horizontal) */
.biz-card-h {
    display: flex;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.biz-card-h:hover { transform: translateY(-5px); }

.biz-card-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.biz-card-visual {
    flex: 0 0 45%;
    background: var(--color-bg-body);
    position: relative;
    overflow: hidden;
}


.biz-num {
    font-family: var(--font-serif);
    font-size: 60px;
    color: rgba(0, 59, 115, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    margin-left: -5px;
}

.biz-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.biz-desc {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.list-check li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--color-text-main);
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* 5. General Card (for Cases etc.) */
.card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    display: flex;
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: rgba(0,0,0,0.1);
}

.contact-form-area {
    flex: 1.5;
    padding: 60px;
    background: #fff;
    color: var(--color-text-main);
}

.info-item { margin-bottom: 30px; }
.info-item h4 { font-size: 14px; color: var(--color-accent); text-transform: uppercase; margin-bottom: 8px; }
.info-item p { font-size: 18px; font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: border-color 0.3s;
}
.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #002855;
    color: #fff;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 { font-size: 20px; font-family: var(--font-serif); margin-bottom: 20px; }
.footer h5 { font-size: 16px; color: var(--color-accent); margin-bottom: 20px; }

.footer ul li { margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }

.footer-bottom { 
    text-align: center; 
    color: rgba(255,255,255,0.4); 
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-privacy {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-privacy:hover {
    color: #fff !important;
}

/* ========================================
   Sub-page Styles (Headers etc)
   ======================================== */
.page-header {
    padding: 80px 0 60px;
    background: var(--color-bg-white);
    text-align: center;
    margin-top: var(--header-height);
    border-bottom: 1px solid var(--color-border);
}

.page-title { font-family: var(--font-serif); font-size: 40px; color: var(--color-primary); }
.page-subtitle { color: var(--color-accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }

.breadcrumb {
    padding: 15px 0;
    background: var(--color-bg-body);
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========================================
   Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .container { padding: 0 20px; }
    
    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 20px;
    }
    
    .nav { display: none; }
    
    .lang-switcher {
        justify-self: end;
    }
    
    .feature-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    
    .zigzag-row { 
        flex-direction: column !important; 
        gap: 40px; 
    }
    
    .zigzag-media,
    .zigzag-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .biz-card-h { 
        flex-direction: column; 
    }
    
    .biz-card-visual { 
        height: 250px;
        flex: none;
    }
    
    .biz-card-content {
        padding: 30px;
    }
    
    .contact-wrapper { 
        flex-direction: column; 
    }
    
    .section {
        padding: 60px 0;
    }
    
    .jp-title {
        font-size: 28px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }
    
    .header {
        padding: 0;
    }
    
    .header-inner {
        height: 56px;
        grid-template-columns: auto 1fr;
        gap: 0;
        padding: 0 12px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 14px;
        line-height: 1.1;
    }
    
    .logo-text span {
        font-size: 7px;
        letter-spacing: 0.5px;
    }
    
    .lang-switcher {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }
    
    .lang-switcher .lang-btn {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .lang-switcher .lang-btn::before {
        display: none;
    }
    
    .lang-switcher .lang-btn::after {
        display: none;
    }
    
    .theme-toggle {
        margin-left: 8px;
        padding-left: 8px;
        border-left: 1px solid var(--color-border);
    }
    
    .theme-toggle-btn {
        font-size: 14px;
        padding: 4px;
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
        padding: 0 20px;
    }
    
    .hero-content {
        transform: translateY(0);
    }
    
    .hero-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .hero-title { 
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .hero-keywords {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .jp-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .jp-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .jp-title::after {
        bottom: -8px;
        width: 30px;
    }
    
    .section-desc {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-item {
        padding: 20px;
    }
    
    .value-number {
        font-size: 36px;
    }
    
    .value-title {
        font-size: 16px;
    }
    
    .value-text {
        font-size: 13px;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .card {
        padding: 24px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-desc {
        font-size: 13px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item {
        padding: 20px 16px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 12px;
        white-space: normal;
    }
    
    /* Business Cards */
    .biz-card-h {
        border-radius: var(--radius-md);
        flex-direction: column !important;
    }
    
    .biz-card-visual {
        height: 200px;
        min-height: 200px;
        width: 100%;
        flex: 0 0 200px;
    }
    
    .biz-card-content {
        padding: 24px;
        width: 100%;
    }
    
    .biz-num {
        font-size: 40px;
    }
    
    .biz-title {
        font-size: 20px;
    }
    
    .biz-desc {
        font-size: 14px;
    }
    
    .list-check li {
        font-size: 13px;
        padding-left: 24px;
    }
    
    /* Zig-Zag */
    .zigzag-row {
        display: flex;
        flex-direction: column !important;
    }
    
    .zigzag-row .zigzag-media {
        order: -1;
    }
    
    .zigzag-row.reverse .zigzag-media {
        order: -1;
    }
    
    .zigzag-img-wrapper {
        height: 250px !important;
        width: 100%;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .zigzag-media {
        width: 100%;
    }
    
    .msg-quote {
        font-size: 16px;
        padding-left: 16px;
    }
    
    .msg-sign {
        margin-top: 20px;
    }
    
    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 11px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 24px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-top { 
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info h4 {
        font-size: 18px;
    }
    
    .footer-info p {
        font-size: 13px;
    }
    
    .footer-links h5 {
        font-size: 14px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .footer-links li {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 11px;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    /* Map Container */
    .map-container {
        min-height: 200px !important;
    }
    
    .map-placeholder {
        padding: 30px 20px !important;
    }
    
    .map-placeholder div:first-child {
        font-size: 36px !important;
    }
    
    .map-placeholder h4 {
        font-size: 16px !important;
    }
    
    .map-placeholder p {
        font-size: 14px !important;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-inner {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .logo-text span {
        display: none;
    }
    
    .lang-switcher .lang-btn {
        padding: 4px 5px;
        font-size: 9px;
    }
    
    .theme-toggle {
        margin-left: 6px;
        padding-left: 6px;
    }
    
    .theme-toggle-btn {
        font-size: 12px;
        padding: 3px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .jp-title {
        font-size: 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .logo-text {
        display: none;
    }
    
    .lang-switcher .lang-btn {
        padding: 3px 4px;
        font-size: 8px;
    }
}

/* ========================================
   News Section Styles
   ======================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0, 59, 115, 0.06);
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 8px 24px rgba(0, 59, 115, 0.12);
    transform: translateY(-2px);
}

.news-item.news-pinned {
    border-left-color: var(--color-accent);
    background: linear-gradient(135deg, #fffdf5 0%, #fff 100%);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

.news-pin-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.news-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.news-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text);
    text-align: justify;
}

.news-empty {
    text-align: center;
    color: var(--color-text-light);
    padding: 40px 0;
    font-size: 16px;
}

/* News Section Responsive */
@media (max-width: 768px) {
    .news-item {
        padding: 20px 24px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-item {
        padding: 16px 20px;
    }
    
    .news-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-title {
        font-size: 16px;
    }
}
 
 