/* JYT Common CSS */
:root {
    --color-primary: #ed6100;
    --color-primary-dark: #d55600;
    --color-primary-light: #fff3e8;
    --color-secondary: #1a2a4a;
    --color-secondary-light: #2a4070;
    --color-text-dark: #1a1a1a;
    --color-text: #444444;
    --color-text-light: #666666;
    --color-text-muted: #888888;
    --color-bg: #ffffff;
    --color-bg-light: #f5f6f8;
    --color-bg-dark: #eef0f4;
    --color-border: #e0e2e6;
    --color-border-light: #f0f1f3;
    --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
    --space-5: 40px; --space-6: 48px; --space-7: 56px; --space-8: 64px;
    --font-family: "Source Han Sans SC","PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif;
    --font-size-xs: 12px; --font-size-sm: 13px; --font-size-base: 15px;
    --font-size-lg: 17px; --font-size-xl: 20px; --font-size-2xl: 26px;
    --font-size-3xl: 32px; --font-size-4xl: 38px;
    --radius-sm: 4px; --radius: 6px; --radius-lg: 10px; --radius-xl: 16px;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--font-family); font-size:var(--font-size-base); color:var(--color-text); line-height:1.65; background:var(--color-bg); }
a { text-decoration:none; color:inherit; transition:color 0.25s ease; }
.container { max-width:1160px; margin:0 auto; padding:0 var(--space-2); }


.header {
    position: fixed; top: 0; left: 0; right: 0;
    height: 60px; background: rgba(255,255,255,0.98);
    border-bottom: 1px solid #e8e8e8;
    z-index: 1000; backdrop-filter: blur(12px);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

/* Logo - all gold, no two-tone */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #1a2a4a 0%, #2a4070 50%, #1a2a4a 100%);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    position: relative; box-shadow: 0 2px 8px rgba(26,42,74,0.3);
}
.logo-icon::before {
    content: 'JYT'; font-size: 10px; font-weight: 700; color: #ed6100;
    font-family: Arial, sans-serif;
}
.logo-icon::after {
    content: ''; position: absolute; inset: 3px;
    border: 1.5px solid rgba(237,97,0,0.5); border-radius: 50%;
}
.logo-name {
    font-size: 18px; font-weight: 700; color: #ed6100;
    letter-spacing: 2px;
}
.logo-name span { color: #ed6100; }

/* Navigation - horizontal, single line, larger */
.nav {
    display: flex; align-items: center; gap: 30px;
    margin-left: auto; margin-right: 20px;
}
.nav-link {
    font-size: 15px; color: #333; font-weight: 500;
    padding: 20px 0; position: relative;
    transition: color 0.25s ease; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #ed6100; }
.nav-link::after {
    content: ''; position: absolute; bottom: 14px; left: 0; right: 0;
    height: 2px; background: #ed6100; border-radius: 1px;
    transform: scaleX(0); transition: transform 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Header right: lang + phone */
.header-right {
    display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}

/* Language dropdown - single globe icon */
.lang-dropdown { position: relative; }
.lang-dropdown-btn {
    display: flex; align-items: center; gap: 4px;
    padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px;
    background: transparent; cursor: pointer;
    font-size: 13px; color: #666; transition: all 0.2s ease;
}
.lang-dropdown-btn:hover { border-color: #ed6100; color: #ed6100; }
.lang-dropdown-btn svg {
    width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2;
}
.lang-dropdown-menu {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: #fff; border: 1px solid #e8e8e8; border-radius: 6px;
    padding: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all 0.2s ease; z-index: 200; min-width: 140px;
}
.lang-dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
    display: block; padding: 8px 12px; font-size: 13px; color: #333;
    text-decoration: none; border-radius: 4px; transition: background 0.15s ease;
}
.lang-option:hover { background: #f5f5f5; color: #ed6100; }
.lang-option.active { color: #ed6100; font-weight: 600; }

/* Phone - clearly separated, same brand gold */
.header-phone {
    display: flex; align-items: center; gap: 6px;
    color: #ed6100; font-weight: 600; font-size: 14px;
    text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; stroke: #ed6100; fill: none; stroke-width: 2; }
.header-phone:hover { color: #d55600; }
.header-phone:hover svg { stroke: #d55600; }

/* Mobile menu button */
.mobile-menu-btn {
    display: none; flex-direction: column; justify-content: center; align-items: center;
    width: 36px; height: 36px; background: none; border: none;
    cursor: pointer; padding: 6px; gap: 5px; z-index: 1001;
}
.mobile-menu-btn span {
    display: block; width: 20px; height: 2px;
    background: #333; border-radius: 2px; transition: all 0.3s ease;
}
.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 nav */
.mobile-nav-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 998; opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; }
.mobile-nav {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: #fff; z-index: 999; padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-100%); transition: transform 0.3s ease;
    max-height: calc(100vh - 60px); overflow-y: auto;
}
.mobile-nav.active { transform: translateY(0); }
.mobile-nav a {
    display: block; padding: 14px 20px; font-size: 15px; color: #333;
    border-bottom: 1px solid #f0f0f0; transition: all 0.2s ease;
}
.mobile-nav a:hover, .mobile-nav a.active { color: #ed6100; background: #fff8f0; }
.mobile-nav .mobile-nav-contact {
    padding: 14px 20px; color: #ed6100; font-weight: 600; font-size: 15px; border-bottom: none;
}
.mobile-nav .mobile-lang-links {
    padding: 12px 20px; border-top: 1px solid #f0f0f0; display: flex; gap: 16px;
}
.mobile-nav .mobile-lang-links a {
    padding: 8px 0; border: none; font-size: 13px; color: #666;
}
.mobile-nav .mobile-lang-links a:hover { color: #ed6100; background: transparent; }

/* Responsive */
@media (max-width: 1024px) {
    .nav { gap: 18px; }
    .header-phone { display: none; }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-nav { display: block; }
    .mobile-nav-overlay { display: block; }
}
.footer { background:#16181d; color:#999; padding:var(--space-6) 0 var(--space-4); }
.footer-content { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:var(--space-5); margin-bottom:var(--space-4); }
.footer-brand h3 { color:white; font-size:var(--font-size-xl); margin-bottom:var(--space-2); }
.footer-brand p { font-size:var(--font-size-sm); line-height:1.85; }
.footer-links h4 { color:white; font-size:var(--font-size-sm); margin-bottom:var(--space-2); font-weight:600; }
.footer-links ul { list-style:none; }
.footer-links li { margin-bottom:10px; }
.footer-links a { font-size:var(--font-size-sm); color:#888; transition:color 0.2s; }
.footer-links a:hover { color:var(--color-primary); }
.footer-contact-item { font-size:var(--font-size-sm); color:#888; margin-bottom:10px; display:flex; align-items:flex-start; gap:8px; }
.footer-contact-item svg { width:14px; height:14px; stroke:var(--color-primary); fill:none; stroke-width:2; flex-shrink:0; margin-top:2px; }
.footer-bottom { border-top:1px solid #2a2c33; padding-top:var(--space-3); text-align:center; font-size:var(--font-size-xs); color:#555; }

@media (max-width:1024px) { .footer-content { grid-template-columns:1fr 1fr; } }
@media (max-width:768px) { .footer-content { grid-template-columns:1fr; } }

.hero-cta { display:inline-flex; align-items:center; gap:10px; background:var(--color-primary); color:white; padding:15px 38px; border-radius:var(--radius); font-size:var(--font-size-base); font-weight:600; transition:all 0.3s ease; box-shadow:0 4px 24px rgba(237,97,0,0.4); border:none; cursor:pointer; }
.hero-cta:hover { background:var(--color-primary-dark); transform:translateY(-2px); box-shadow:0 8px 32px rgba(237,97,0,0.5); color:white; }
.hero-cta-icon { width:20px; height:20px; background:rgba(255,255,255,0.2); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.hero-cta-icon svg { width:10px; height:10px; stroke:white; fill:none; stroke-width:2.5; }

.section-header { text-align:center; margin-bottom:var(--space-5); }
.section-title { font-size:var(--font-size-3xl); font-weight:700; color:var(--color-text-dark); margin-bottom:var(--space-2); letter-spacing:1px; }
.section-title span { color:var(--color-primary); }
.section-desc { font-size:var(--font-size-base); color:var(--color-text-light); max-width:540px; margin:0 auto; }

@media (max-width:1024px) { .stats-grid { grid-template-columns:repeat(3,1fr); } .advantages-grid { grid-template-columns:repeat(2,1fr); } .services-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) { .stats-grid { grid-template-columns:repeat(2,1fr); } .advantages-grid,.services-grid { grid-template-columns:1fr; } .expert-content { grid-template-columns:1fr; } }

.form-group { margin-bottom:var(--space-3); }
.form-label { display:block; font-size:var(--font-size-sm); font-weight:600; color:var(--color-text-dark); margin-bottom:var(--space-1); }
.form-input,.form-textarea,.form-select { width:100%; padding:var(--space-2); border:1px solid var(--color-border); border-radius:var(--radius); font-size:var(--font-size-base); font-family:inherit; transition:border-color 0.25s ease,box-shadow 0.25s ease; }
.form-input:focus,.form-textarea:focus,.form-select:focus { outline:none; border-color:var(--color-primary); box-shadow:0 0 0 3px rgba(237,97,0,0.1); }
.form-textarea { min-height:120px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-2); }
@media (max-width:768px) { .form-row { grid-template-columns:1fr; } }

/* Page Hero */
.page-hero {
    position: relative;
    padding-top: 60px;
    background: linear-gradient(160deg, #0d1b2a 0%, #132a4a 30%, #1a3a5c 60%, #0d2840 100%);
    color: white;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237,97,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    padding: 60px 0 56px;
    width: 100%;
}
.breadcrumb {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.breadcrumb a { opacity: 0.7; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 1; color: #ed6100; }
.breadcrumb span { color: #ed6100; }
.page-title-wrapper { position: relative; margin-bottom: 12px; }

.page-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
}
.page-subtitle {
    font-size: 16px;
    opacity: 0.7;
    font-weight: 400;
    max-width: 480px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .page-hero { min-height: 200px; }
    .page-hero-inner { padding: 44px 0 36px; }
    .page-title { font-size: 26px; }
    .page-subtitle { font-size: 14px; max-width: 100%; }
}
