/* ==========================================
   金色海浪 - 企业官网样式
   ========================================== */
:root {
  --green: #00a651;
  --green-dark: #008a43;
  --blue: #0d5fa8;
  --blue-dark: #083d6e;
  --navy: #0b2545;
  --gray: #f5f6f8;
  --gray-border: #e4e7ec;
  --text: #333;
  --text-light: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { display: flex; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--blue-dark); letter-spacing: 2px; }
.nav { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 16px; font-size: 15px; color: #333; border-radius: 4px;
  transition: all .25s;
}
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--green); font-weight: 700; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-dark); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; margin-top: 68px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,37,72,.88) 0%, rgba(13,95,168,.72) 55%, rgba(0,166,81,.55) 100%);
}
.hero-city {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(255,209,102,.35), transparent 30%),
    radial-gradient(circle at 30% 65%, rgba(0,166,81,.3), transparent 40%),
    linear-gradient(180deg, #0a1633 0%, #0d3a6e 45%, #0b2545 100%);
}
.hero-city::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background:
    linear-gradient(315deg, transparent 42%, #12294d 43%, #12294d 47%, transparent 48%),
    linear-gradient(45deg, transparent 42%, #10244a 43%, #10244a 48%, transparent 49%),
    linear-gradient(0deg, #0e2142 0%, #0e2142 30%, #12294d 31%, #12294d 60%, #16345e 61%, #16345e 100%);
  opacity: .55;
}
.hero-content { position: relative; z-index: 2; padding-top: 15vh; max-width: 760px; color: #fff; }
.hero-title { font-size: 64px; font-weight: 800; letter-spacing: 10px; margin-bottom: 8px; text-shadow: 0 3px 20px rgba(0,0,0,.4); }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,.92); margin-bottom: 22px; letter-spacing: 1px; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.9; margin-bottom: 34px; max-width: 660px; }
.hero-btns { display: flex; gap: 16px; }

.btn { display: inline-block; padding: 12px 34px; font-size: 15px; border-radius: 6px; transition: all .25s; font-weight: 600; cursor: pointer; border: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,166,81,.35); }
.btn-outline { border: 2px solid rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }

/* 浮动面板 */
.float-panel {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.16);
  overflow: hidden; z-index: 90; width: 96px;
}
.float-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px; font-size: 12px; color: #555; border-bottom: 1px solid var(--gray-border);
  transition: background .2s; text-align: center;
}
.float-item:last-child { border-bottom: 0; }
.float-item:hover { background: var(--gray); color: var(--green); }
.float-item svg { color: var(--blue); }

/* ---------- 通用 Section ---------- */
.section { padding: 80px 0; }
.section-blue { background: linear-gradient(135deg, #0d5fa8 0%, #0a4a86 100%); }
.section-dark { background: linear-gradient(160deg, #0b2545 0%, #0d3158 100%); }
.section-gray { background: var(--gray); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--blue-dark); letter-spacing: 2px; }
.section-title.light { color: #fff; }
.section-en { font-size: 15px; color: #999; letter-spacing: 4px; text-transform: uppercase; margin-top: 6px; }
.section-en.light { color: rgba(255,255,255,.7); }
.section-line {
  width: 64px; height: 4px; border-radius: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.section-line.light { background: linear-gradient(90deg, #00d97e, #7cc4ff); }
.section-desc { max-width: 900px; margin: 0 auto 44px; text-align: center; color: var(--text-light); font-size: 15px; line-height: 2; }
.section-desc.light { color: rgba(255,255,255,.85); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-img { border-radius: 12px; overflow: hidden; height: 260px; box-shadow: 0 8px 24px rgba(0,0,0,.12); transition: transform .3s; }
.about-img:hover { transform: translateY(-6px); }

/* ---------- 产品 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: transform .3s, box-shadow .3s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.prod-img { height: 160px; position: relative; }
.prod-card h3 { font-size: 17px; padding: 14px 16px 4px; color: var(--blue-dark); }
.prod-card p { font-size: 13px; color: var(--text-light); padding: 0 16px 16px; line-height: 1.7; }

.prod-img-1 { background: linear-gradient(135deg, #3a3f4a, #1b1e26); }
.prod-img-1::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255,209,102,.55) 48%, transparent 52%),
    radial-gradient(circle at 50% 60%, rgba(255,209,102,.25), transparent 50%);
  filter: blur(1px);
}
.prod-img-2 { background: linear-gradient(135deg, #2c3e50, #111); }
.prod-img-2::before { content: "🔇"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 48px; opacity: .8; }
.prod-img-3 { background: linear-gradient(135deg, #0b3d91, #1a73e8); }
.prod-img-3::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.35), transparent 40%),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.9) 0 6%, transparent 7%);
  background-size: 30px 30px;
}
.prod-img-4 { background: linear-gradient(135deg, #14532d, #22c55e); }
.prod-img-4::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.15) 12px 24px);
}

/* ---------- 租赁网络 ---------- */
.rental-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rental-item { height: 170px; border-radius: 10px; overflow: hidden; position: relative; box-shadow: 0 4px 14px rgba(0,0,0,.1); transition: transform .3s; }
.rental-item:hover { transform: scale(1.03); }
.rental-item::after { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.18); }
.rental-item-1 { background: linear-gradient(135deg, #64748b, #334155); }
.rental-item-2 { background: linear-gradient(135deg, #b45309, #f59e0b); }
.rental-item-3 { background: linear-gradient(135deg, #475569, #1e293b); }
.rental-item-4 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.rental-item-5 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.rental-item-6 { background: linear-gradient(135deg, #0369a1, #0ea5e9); }

/* ---------- 流程 ---------- */
.process-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.process-list { display: flex; flex-direction: column; gap: 26px; }
.process-item { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.06); padding: 18px 20px; border-radius: 10px; border-left: 4px solid var(--green); }
.process-item .p-icon { font-size: 26px; }
.process-item strong { color: #fff; font-size: 16px; }
.process-item p { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 4px; }

.process-circle { position: relative; width: 380px; height: 380px; margin: 0 auto; }
.circle-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 2;
}
.circle-center span { font-size: 13px; font-weight: 700; color: var(--blue-dark); margin-top: 4px; }
.circle-step {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%,-50%);
}
.circle-step span {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,166,81,.4);
}
.circle-step:nth-child(3) span { background: #0d5fa8; }
.circle-step:nth-child(4) span { background: #f59e0b; }
.circle-step:nth-child(5) span { background: #0d5fa8; }
.circle-step:nth-child(6) span { background: #00a651; }
.circle-step:nth-child(7) span { background: #0d5fa8; }
.circle-step:nth-child(8) span { background: #f59e0b; }
.circle-step:nth-child(9) span { background: #00a651; }
.circle-step p { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 6px; white-space: nowrap; }

.cs-1 { top: 50%; left: 0; }
.cs-2 { top: 15%; left: 18%; }
.cs-3 { top: 4%; left: 50%; }
.cs-4 { top: 15%; right: -10%; left: auto; transform: translate(50%,-50%); }
.cs-5 { top: 50%; right: -14%; left: auto; transform: translate(50%,-50%); }
.cs-6 { top: 85%; right: -10%; left: auto; transform: translate(50%,-50%); }
.cs-7 { top: 96%; left: 50%; transform: translate(-50%,-50%); }

/* ---------- 为什么选我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: #fff; border-radius: 12px; padding: 34px 24px; text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.why-icon { width: 80px; height: 80px; margin: 0 auto 18px; background: rgba(0,166,81,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.07); transition: transform .3s; }
.news-card:hover { transform: translateY(-6px); }
.news-img { height: 170px; }
.news-img-1 { background: linear-gradient(135deg, #0d5fa8, #00a651); }
.news-img-2 { background: linear-gradient(135deg, #334155, #0f766e); }
.news-img-3 { background: linear-gradient(135deg, #14532d, #0d5fa8); }
.news-body { padding: 18px 20px 22px; }
.news-date { font-size: 12px; color: #999; }
.news-body h3 { font-size: 16px; color: var(--blue-dark); margin: 8px 0; line-height: 1.5; }
.news-body p { font-size: 13px; color: var(--text-light); }

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.c-icon { font-size: 26px; width: 46px; height: 46px; background: rgba(255,255,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { color: #fff; font-size: 16px; display: block; margin-bottom: 4px; }
.contact-item p { color: rgba(255,255,255,.75); font-size: 14px; }

.contact-form { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.contact-form h3 { font-size: 20px; color: var(--blue-dark); margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-border); border-radius: 6px;
  font-size: 14px; font-family: inherit; margin-bottom: 14px; color: var(--text);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; line-height: 1.9; }
.footer-qr { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #00d97e; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #00d97e; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .rental-grid { grid-template-columns: repeat(2, 1fr); }
  .process-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; top: 68px; right: -100%; width: 220px; height: calc(100vh - 68px);
    background: #fff; flex-direction: column; padding: 20px;
    box-shadow: -6px 0 20px rgba(0,0,0,.1); transition: right .3s; gap: 4px;
  }
  .nav.open { right: 0; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 40px; }
  .hero { height: 75vh; }
  .about-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .float-panel { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .process-circle { width: 300px; height: 300px; }
  .cs-4, .cs-5, .cs-6 { right: -6%; }
  .form-row { grid-template-columns: 1fr; }
}
