/* ============================================================
   环球趋势 GTI - 公共组件样式 (components.css)
   适用:所有子页统一引用
   主题色:#1A3A6E(深蓝)+ #F37021(橙)
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#222;line-height:1.6;background:#fff;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:0;background:none}

:root{
  --primary:#1A3A6E;
  --primary-dark:#0E2647;
  --accent:#F37021;
  --accent-dark:#D85B10;
  --text:#222;
  --text-light:#666;
  --bg-soft:#F5F7FA;
  --border:#E5E8EE;
  --white:#fff;
  --shadow:0 4px 20px rgba(26,58,110,.08);
  --shadow-hover:0 8px 32px rgba(26,58,110,.15);
  --radius:12px;
}
.container{max-width:1240px;margin:0 auto;padding:0 20px}

/* === Top Bar === */
.topbar{background:var(--primary-dark);color:#fff;font-size:13px;padding:8px 0}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.topbar a{color:#fff;opacity:.85;transition:opacity .2s}
.topbar a:hover{opacity:1;color:var(--accent)}
.topbar-info{display:flex;gap:18px;flex-wrap:wrap}

/* === Header === */
.header{background:#fff;box-shadow:0 1px 0 var(--border);position:sticky;top:0;z-index:100}
.header .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:var(--primary)}
.logo img{height:42px;width:auto;display:block}
.logo-mark{width:42px;height:42px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:900}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-text small{font-size:11px;color:var(--text-light);font-weight:500;letter-spacing:1px}
.logo-dark img{height:48px;filter:brightness(0) invert(1);display:block}

.nav{display:flex;gap:4px}
.nav a{padding:10px 16px;font-size:15px;font-weight:500;border-radius:8px;transition:all .2s}
.nav a:hover,.nav a.active{background:rgba(26,58,110,.08);color:var(--primary)}
.nav-cta{background:var(--accent)!important;color:#fff!important;padding:10px 20px!important}
.nav-cta:hover{background:var(--accent-dark)!important}

.menu-btn{display:none;width:40px;height:40px;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-radius:8px}
.menu-btn span{width:22px;height:2px;background:var(--primary);border-radius:2px;transition:.3s}

/* === Section Base === */
.section{padding:80px 0}
.section-head{text-align:center;margin-bottom:56px}
.section-tag{display:inline-block;padding:5px 14px;background:rgba(26,58,110,.08);color:var(--primary);border-radius:20px;font-size:13px;font-weight:600;letter-spacing:1px;margin-bottom:14px}
.section-title{font-size:36px;font-weight:800;color:var(--text);margin-bottom:14px;line-height:1.25}
.section-sub{font-size:16px;color:var(--text-light);max-width:640px;margin:0 auto}

/* === Buttons === */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:8px;font-size:15px;font-weight:600;transition:all .25s;cursor:pointer}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 4px 14px rgba(243,112,33,.35)}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-2px);box-shadow:0 6px 20px rgba(243,112,33,.5)}

/* === Form === */
.form-row{margin-bottom:14px}
.form-row label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--text)}
.form-row input,.form-row select,.form-row textarea{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;transition:border .2s;font-family:inherit}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus{outline:0;border-color:var(--primary)}
.form-row textarea{resize:vertical;min-height:90px}

/* === Footer === */
.footer{background:#0A1F3D;color:#fff;padding:50px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;margin-bottom:36px}
.footer-col h4{font-size:15px;font-weight:700;margin-bottom:16px;color:var(--accent)}
.footer-col ul li{margin-bottom:8px}
.footer-col a{color:rgba(255,255,255,.7);font-size:13.5px;transition:color .2s}
.footer-col a:hover{color:var(--accent)}
.footer-about p{font-size:13.5px;line-height:1.7;opacity:.75;margin-top:10px}
.footer-social{display:flex;gap:10px;margin-top:14px}
.footer-social a{width:36px;height:36px;background:rgba(255,255,255,.08);border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s}
.footer-social a:hover{background:var(--accent);transform:translateY(-2px)}
.footer-bottom{padding-top:20px;border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:12.5px;opacity:.6}
.footer-bottom a{color:inherit}
.footer-bottom a:hover{color:var(--accent)}

/* === Floating === */
.float-whatsapp{position:fixed;right:20px;bottom:90px;width:54px;height:54px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 6px 20px rgba(37,211,102,.4);z-index:99;animation:pulse 2s infinite}
.float-whatsapp:hover{transform:scale(1.1)}
.float-phone{position:fixed;right:20px;bottom:24px;width:54px;height:54px;background:var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 6px 20px rgba(243,112,33,.4);z-index:99}
.float-phone:hover{transform:scale(1.1)}
@keyframes pulse{0%,100%{box-shadow:0 6px 20px rgba(37,211,102,.4)}50%{box-shadow:0 6px 20px rgba(37,211,102,.7),0 0 0 10px rgba(37,211,102,.1)}}

/* === Page Hero (subpage header) === */
.page-hero{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff;padding:60px 0 50px;position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cdefs%3E%3Cpattern id='g' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E")}
.page-hero .container{position:relative}
.breadcrumb{font-size:13px;opacity:.85;margin-bottom:14px}
.breadcrumb a{color:#fff;opacity:.75;transition:opacity .2s}
.breadcrumb a:hover{opacity:1;color:var(--accent)}
.breadcrumb span{margin:0 8px;opacity:.5}
.page-hero h1{font-size:40px;font-weight:800;line-height:1.2;margin-bottom:14px}
.page-hero h1 .accent{color:var(--accent)}
.page-hero p{font-size:16px;line-height:1.7;opacity:.9;max-width:720px}

/* === Responsive === */
@media (max-width: 1024px){
  .page-hero h1{font-size:32px}
  .section-title{font-size:30px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
}
@media (max-width: 768px){
  .nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;flex-direction:column;padding:20px;box-shadow:0 4px 20px rgba(0,0,0,.1);gap:0;border-top:1px solid var(--border)}
  .nav.open{display:flex}
  .nav a{padding:14px 16px;border-bottom:1px solid var(--border);border-radius:0}
  .nav a:last-child{border-bottom:0}
  .menu-btn{display:flex}
  .topbar{font-size:12px}
  .topbar-info{gap:12px}
  .page-hero{padding:40px 0 36px}
  .page-hero h1{font-size:26px}
  .section{padding:60px 0}
  .section-title{font-size:24px}
  .section-head{margin-bottom:36px}
  .footer-grid{grid-template-columns:1fr}
  .float-whatsapp,.float-phone{width:46px;height:46px}
}
@media (max-width: 480px){
  .container{padding:0 16px}
  .topbar .container{flex-direction:column;align-items:flex-start;gap:4px}
}
