@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Cormorant+Garamond:wght@400;600;700&display=swap');

/* ========================================
   佳晟餐饮企业网站 - 全局样式（高级版）
   Brand: 广州佳晟餐饮服务有限公司
   Primary: #A8162E (deep red)
   Gold: #C9A961 (champagne gold)
   ======================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   Custom Scrollbar & Selection
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
::selection {
    background: rgba(168, 22, 46, 0.15);
    color: var(--gray-900);
}

:root {
    --primary: #A8162E;
    --primary-dark: #8A0F24;
    --primary-light: #fdf0f0;
    --accent: #EA5432;
    --accent-dark: #C74428;
    --white: #ffffff;
    --black: #000000;
    --cream: #FAF8F5;
    --gold: #C9A961;
    --gold-light: #D4BC7E;
    --gold-dark: #B8964A;
    --gold-bg: rgba(201, 169, 97, 0.08);
    --dark-soft: #2A2520;
    --gray-50: #f9f9f9;
    --gray-100: #f4f4f4;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-400: #a0a0a0;
    --gray-500: #707070;
    --gray-600: #505050;
    --gray-700: #404040;
    --gray-800: #2a2a2a;
    --gray-900: #1a1a1a;
    --font-sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Noto Serif SC", "Songti SC", serif;
    --font-en: "Cormorant Garamond", "Helvetica Neue", Arial, serif;
    --max-width: 1400px;
    --header-height: 72px;
    --shadow-soft: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-premium: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-red: 0 8px 32px rgba(168, 22, 46, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Smooth animation classes
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}
.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Top Navigation (unified with homepage)
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo-img {
    height: 44px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.logo-img:hover { transform: scale(1.03); }

.nav-links { display: flex; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}
.nav-link:hover, .nav-item:hover > .nav-link {
    background: rgba(196,30,58,0.08);
    color: var(--primary) !important;
    transform: translateY(-1px);
}
.nav-link.active {
    background: var(--primary);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(196,30,58,0.3);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 150px;
    background: white;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
    z-index: 1000;
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}
@media (hover: hover) {
    .nav-item:hover > .nav-dropdown,
    .nav-item:focus-within > .nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}
@media (hover: none) {
    .nav-item.open > .nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}
.nav-sub-link {
    display: block;
    padding: 10px 22px;
    font-size: 13px;
    color: var(--gray-900);
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-sub-link:hover {
    background: var(--primary);
    color: white !important;
    padding-left: 26px;
}
.nav-sub-link:first-child { border-radius: 12px 12px 0 0; }
.nav-sub-link:last-child { border-radius: 0 0 12px 12px; }

.mobile-toggle { display: none; cursor: pointer; font-size: 24px; color: var(--primary); }

.nav-hotline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(196,30,58,0.25);
}
.nav-hotline:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(196,30,58,0.4); }
.nav-hotline svg { width: 16px; height: 16px; fill: white; }

section[id] {
    scroll-margin-top: 160px;
}

/* ========================================
   Page Sub-Navigation
   ======================================== */
.sub-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.sub-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 32px;
    overflow-x: auto;
    white-space: nowrap;
}

.sub-nav a {
    display: inline-block;
    padding: 14px 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ========================================
   Common Sections
   ======================================== */
.section {
    padding: 80px 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath d='M300,0 Q225,75 150,50 T0,100' fill='none' stroke='%23A8162E' stroke-width='24' opacity='0.008'/%3E%3Cpath d='M300,60 Q225,135 150,110 T0,160' fill='none' stroke='%23A8162E' stroke-width='20' opacity='0.007'/%3E%3Cpath d='M300,120 Q225,195 150,170 T0,220' fill='none' stroke='%23A8162E' stroke-width='16' opacity='0.006'/%3E%3Cpath d='M300,180 Q225,255 150,230 T0,280' fill='none' stroke='%23A8162E' stroke-width='12' opacity='0.005'/%3E%3Cpath d='M300,240 Q225,315 150,290 T0,340' fill='none' stroke='%23A8162E' stroke-width='8' opacity='0.004'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--dark-soft);
    color: var(--white);
}

.section-light {
    background-color: var(--gray-50);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath d='M300,0 Q225,75 150,50 T0,100' fill='none' stroke='%23A8162E' stroke-width='24' opacity='0.008'/%3E%3Cpath d='M300,60 Q225,135 150,110 T0,160' fill='none' stroke='%23A8162E' stroke-width='20' opacity='0.007'/%3E%3Cpath d='M300,120 Q225,195 150,170 T0,220' fill='none' stroke='%23A8162E' stroke-width='16' opacity='0.006'/%3E%3Cpath d='M300,180 Q225,255 150,230 T0,280' fill='none' stroke='%23A8162E' stroke-width='12' opacity='0.005'/%3E%3Cpath d='M300,240 Q225,315 150,290 T0,340' fill='none' stroke='%23A8162E' stroke-width='8' opacity='0.004'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .en-title {
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .cn-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: 4px;
}

.section-header .subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 12px;
    letter-spacing: 2px;
}

.section-dark .section-header .cn-title {
    color: var(--white);
}

.section-dark .section-header .subtitle {
    color: var(--gray-400);
}

/* ========================================
   Banner with text overlay
   ======================================== */
.page-banner {
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.page-banner.visible img {
    transform: scale(1);
}

.banner-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    z-index: 2;
    text-align: center;
    white-space: nowrap;
}

/* ========================================
   Stats Row (with animation)
   ======================================== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 400;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--black);
    margin-top: 8px;
    font-weight: 400;
}

/* ========================================
   Timeline (with click effects)
   ======================================== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--gold), rgba(201, 169, 97, 0.1));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.timeline-item:hover {
    transform: scale(1.02);
}

.timeline-item .timeline-left {
    width: 50%;
    padding-right: 60px;
    text-align: right;
}

.timeline-item .timeline-right {
    width: 50%;
    padding-left: 60px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.5);
    box-shadow: 0 0 0 8px rgba(203, 40, 45, 0.15);
}

/* Timeline active/expanded state */
.timeline-item.expanded .timeline-desc {
    max-height: 200px;
    opacity: 1;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    transition: opacity 0.3s;
}
.timeline-item:hover .timeline-year {
    color: var(--accent);
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Card Grid
   ======================================== */
.card-grid {
    display: grid;
    gap: 30px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Red Banner Section
   ======================================== */
.red-banner {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 40px;
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.red-banner img {
    width: 100%;
    height: auto;
}

.red-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
}

.red-banner-overlay .banner-text-line {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    margin-bottom: 4px;
}

/* ========================================
   Values / Culture Grid
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.value-item {
    text-align: center;
    position: relative;
}

.value-item-inner {
    position: relative;
}

.value-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.4s;
}
.value-item:hover .value-img {
    transform: scale(1.05);
}

/* Circle half-overlapping image */
.value-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: -36px auto 8px;
    position: relative;
    z-index: 3;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 16px rgba(168, 22, 46, 0.3);
    transition: transform 0.3s;
}
.value-item:hover .value-circle {
    transform: scale(1.1);
}

.value-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.value-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Certificates & Honors
   ======================================== */
/* Cert item — now inside carousel */
.cert-item {
    text-align: center;
}

.cert-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: var(--white);
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.cert-item:hover img {
    transform: scale(1.06);
}

.cert-name {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-top: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* Honors — now inside carousel */
.honor-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}
.honor-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.honor-item img {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.honor-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ========================================
   Carousel (荣誉/资质轮播)
   ======================================== */
.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px; /* room for arrows */
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each slide = 1 item slot; 4 fit per page on desktop */
.carousel-slide {
    flex: 0 0 calc(25% - 16px);
    margin-right: 20px;
    min-width: 0;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}
.carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(203, 40, 45, 0.3);
    opacity: 1;
}
.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}
.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info .info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info .info-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-info .info-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-submit:hover::before {
    left: 100%;
}

/* ========================================
   Contact Page - Logo + Info + QR row layout
   ======================================== */
.contact-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.contact-top-row .contact-logo-sm {
    width: 150px;
    height: auto;
    flex-shrink: 0;
}

.contact-top-row .contact-info-block {
    text-align: left;
}

.contact-top-row .contact-info-block .info-line {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 2;
}

.contact-top-row .contact-qr-block {
    text-align: center;
    flex-shrink: 0;
}

.contact-top-row .contact-qr-block img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-top-row .contact-qr-block .qr-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Full-width online consultation below */
.contact-consultation-full {
    max-width: 100%;
    margin-top: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.contact-consultation-full .form-inner {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    padding: 48px 60px;
}

.contact-consultation-full .form-inner h3 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.4rem;
    color: var(--gray-900);
    letter-spacing: 2px;
}

.contact-consultation-full .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-consultation-full .form-row .form-group:last-child {
    grid-column: 1 / -1;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-soft);
    color: var(--gray-400);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   CTA Bar
   ======================================== */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.cta-bar h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-bar p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-bar .btn-outline {
    display: inline-block;
    padding: 12px 36px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
}

.cta-bar .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.service-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-card-body {
    padding: 28px;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.service-card-en {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ========================================
   Lightbox (red transparent background)
   ======================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(203, 40, 45, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-overlay.active img {
    transform: scale(1);
}

/* ========================================
   Advantage / Feature Blocks (alternating)
   ======================================== */
.advantage-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

/* img-right: text on left, img on right */
.advantage-block.img-right .advantage-text {
    order: 1;
}
.advantage-block.img-right .advantage-img {
    order: 2;
}

/* img-left: img on left, text on right */
.advantage-block.img-left .advantage-text {
    order: 2;
}
.advantage-block.img-left .advantage-img {
    order: 1;
}

.advantage-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.advantage-img img:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 36px rgba(0,0,0,0.16);
}

.advantage-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.advantage-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ========================================
   Image + Text Overlay Card (management service)
   ======================================== */
.img-overlay-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.img-overlay-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.img-overlay-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.img-overlay-card .overlay-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

/* ========================================
   Business scope image card (no cropping, full image, no gap)
   ======================================== */
.scope-gallery {
    display: flex;
    gap: 0;
}

.scope-gallery .scope-item {
    flex: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.scope-gallery .scope-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scope-gallery .scope-item:hover img {
    transform: scale(1.08);
}

.scope-gallery .scope-item .scope-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    z-index: 2;
    pointer-events: none;
    text-align: center;
    line-height: 1.6;
}

.scope-gallery .scope-item .scope-label-en {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ========================================
   Region Map with vertical city labels
   ======================================== */
.region-layout {
    display: flex;
    align-items: center;
    gap: 30px;
}

.region-map-img {
    flex: 0 0 55%;
}

.region-map-img img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.region-city-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.region-city-item {
    text-align: center;
    transition: transform 0.3s;
}
.region-city-item:hover {
    transform: scale(1.1);
}

.region-city-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.region-city-item:hover img {
    transform: scale(1.15);
}

.region-city-item .city-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* ========================================
   Icon card for advantages
   ======================================== */
.icon-card {
    background: var(--white);
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}

.icon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.icon-card .icon-img {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    object-fit: contain;
    transition: transform 0.3s;
}
.icon-card:hover .icon-img {
    transform: scale(1.1);
}

.icon-card .icon-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.icon-card .icon-title:last-child {
    margin-bottom: 0;
}

.icon-card .icon-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   Section divider
   ======================================== */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    max-width: 200px;
    margin: 20px auto;
}

/* ========================================
   Intro text block
   ======================================== */
.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    color: var(--black);
    line-height: 2;
    font-weight: 400;
}

.intro-text .highlight {
    color: var(--primary);
    font-weight: 400;
}

/* ========================================
   Intro section with background
   ======================================== */
.intro-bg-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.intro-bg-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.88);
    z-index: 1;
}

.intro-bg-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Responsive
   ======================================== */
.map-container {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(203, 40, 45, 0.3);
    line-height: 44px;
    text-align: center;
    padding: 0;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(203, 40, 45, 0.4);
}

/* ========================================
   Stagger animation delays
   ======================================== */
.stagger-container .stagger-item:nth-child(1) { transition-delay: 0s; }
.stagger-container .stagger-item:nth-child(2) { transition-delay: 0.08s; }
.stagger-container .stagger-item:nth-child(3) { transition-delay: 0.16s; }
.stagger-container .stagger-item:nth-child(4) { transition-delay: 0.24s; }
.stagger-container .stagger-item:nth-child(5) { transition-delay: 0.32s; }
.stagger-container .stagger-item:nth-child(6) { transition-delay: 0.40s; }
.stagger-container .stagger-item:nth-child(7) { transition-delay: 0.48s; }
.stagger-container .stagger-item:nth-child(8) { transition-delay: 0.56s; }

/* ========================================
   Image reveal on load
   ======================================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}
img[loading="lazy"].loaded {
    opacity: 1;
    filter: blur(0);
}

/* ========================================
   Button pulse animation
   ======================================== */
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(203, 40, 45, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(203, 40, 45, 0); }
}
.cta-bar .btn-outline {
    animation: btnPulse 2.5s ease-in-out infinite;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(201, 169, 97, 0.5);
}

/* ========================================
   Premium hover effects
   ======================================== */
.advantage-img img {
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}

.advantage-img img:hover {
    transform: scale(1.06);
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.img-overlay-card {
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.img-overlay-card:hover {
    box-shadow: var(--shadow-red);
    border-color: rgba(201, 169, 97, 0.3);
}

.contact-form {
    border: 1px solid rgba(201, 169, 97, 0.12);
    border-radius: 4px;
}

.back-to-top {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid var(--gold);
    box-shadow: 0 4px 16px rgba(168, 22, 46, 0.3);
}

.back-to-top:hover {
    box-shadow: 0 8px 24px rgba(168, 22, 46, 0.4);
}

.cert-item img {
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.08);
}

@media (max-width: 1024px) {
    .card-grid-4, .card-grid-5, .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    /* Carousel: 2 per page on tablet */
    .carousel-slide { flex: 0 0 calc(50% - 12px); margin-right: 16px; }
    .carousel { padding: 0 40px; }
    .contact-section { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { gap: 40px; }
    .region-layout { flex-direction: column; }
    .region-map-img { flex: 0 0 100%; }
    .region-city-list { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .scope-gallery { flex-wrap: wrap; }
    .scope-gallery .scope-item { flex: 0 0 50%; }
    .banner-overlay-text { font-size: 1.6rem; letter-spacing: 4px; }
    .contact-consultation-full .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 20px; }
    .container { padding: 0 20px; }
    .sub-nav-inner { padding: 0 20px; gap: 20px; }
    .section { padding: 50px 0; }
    .section-header .cn-title { font-size: 1.5rem; }
    .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
    .card-grid-4, .card-grid-5, .card-grid-6 { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    /* Carousel: 1 per page on phone */
    .carousel-slide { flex: 0 0 calc(100% - 8px); margin-right: 12px; }
    .carousel { padding: 0 36px; }
    .stats-row { flex-direction: column; gap: 30px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-item { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .nav-item:last-child { border-bottom: none; }
    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-radius: 0;
        background: transparent !important;
        color: var(--gray-900) !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .nav-link.active, .nav-item:hover > .nav-link {
        background: transparent !important;
        color: var(--primary) !important;
    }
    .nav-dropdown {
        position: static;
        transform: none;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 12px 16px;
        background: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-dropdown::before { display: none; }
    .nav-item.open > .nav-dropdown { display: block; }
    .nav-sub-link { padding: 10px 0; color: var(--gray-700); border-radius: 0 !important; }
    .nav-hotline { display: none; }
    .nav-sub-link:hover { background: transparent; color: var(--primary) !important; padding-left: 0; }
    .mobile-toggle { display: block; }
    .advantage-block { grid-template-columns: 1fr; }
    .advantage-block .advantage-img { order: 1 !important; }
    .advantage-block .advantage-text { order: 2 !important; }
    .timeline::before { left: 10px; }
    .timeline-dot { left: 10px; }
    .timeline-item .timeline-left,
    .timeline-item .timeline-right { width: 100%; padding: 0 0 0 30px; text-align: left; }
    .scope-gallery .scope-item { flex: 0 0 100%; }
    .banner-overlay-text { font-size: 1.3rem; letter-spacing: 2px; }
    .red-banner-overlay .banner-text-line { font-size: 1.2rem; }
    .contact-consultation-full .form-inner { padding: 32px 24px; }
    .contact-consultation-full .form-row { grid-template-columns: 1fr; }
}
