/*
Theme Name: Jinhuiyou Luxe
Theme URI: https://jhy.luxe/
Author: Codex
Description: 上海金慧优企业管理有限公司官网经典主题。
Version: 2.0.0
Text Domain: jhy-luxe
*/

:root {
  --jhy-navy: #062b5f;
  --jhy-navy-dark: #031d43;
  --jhy-blue: #0b4a8b;
  --jhy-blue-soft: #eef5fb;
  --jhy-orange: #ff6a16;
  --jhy-orange-dark: #df550b;
  --jhy-text: #13233a;
  --jhy-muted: #607086;
  --jhy-line: #d9e3ee;
  --jhy-bg: #f5f8fb;
  --jhy-white: #fff;
  --jhy-width: 1200px;
  --jhy-shadow: 0 14px 40px rgba(10, 43, 91, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--jhy-text);
  background: var(--jhy-bg);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.jhy-wrap { width: min(var(--jhy-width), calc(100% - 48px)); margin: 0 auto; }
.jhy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: .24s ease;
}
.jhy-btn-primary { color: #fff; background: var(--jhy-orange); }
.jhy-btn-primary:hover { background: var(--jhy-orange-dark); transform: translateY(-1px); }
.jhy-btn-outline { color: #fff; border-color: rgba(255,255,255,.75); }
.jhy-btn-outline:hover { background: rgba(255,255,255,.12); }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(8, 35, 74, .06); }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 58px; height: 58px; border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #ff9f18, #ff6a16);
  font-weight: 800; line-height: 1.08; text-align: center; box-shadow: 0 10px 24px rgba(255,106,22,.22);
}
.brand strong { display: block; color: var(--jhy-navy-dark); font-size: 22px; line-height: 1.2; }
.brand em { display: block; margin-top: 6px; color: var(--jhy-muted); font-style: normal; font-size: 13px; }
.head-meta { display: flex; align-items: center; gap: 26px; color: var(--jhy-navy); white-space: nowrap; }
.head-meta-item { display: grid; grid-template-columns: 34px auto; column-gap: 10px; align-items: center; }
.head-meta-item svg { width: 28px; height: 28px; stroke: var(--jhy-navy); stroke-width: 1.8; }
.head-meta-item span { display: block; font-size: 12px; color: var(--jhy-muted); line-height: 1.2; }
.head-meta-item b { display: block; font-size: 16px; line-height: 1.4; }
.nav-bar { height: 56px; background: var(--jhy-navy); }
.nav-inner { display: flex; align-items: center; height: 100%; }
.nav-toggle { display: none; }
.nav-menu { display: flex; align-items: center; gap: 34px; width: 100%; height: 100%; }
.nav-menu a { position: relative; display: flex; align-items: center; height: 100%; color: #fff; font-size: 15px; font-weight: 700; opacity: .94; }
.nav-menu a:hover, .nav-menu a.active { opacity: 1; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--jhy-orange);
}
.nav-cta { margin-left: auto; height: 38px !important; padding: 0 28px; border-radius: 4px; background: var(--jhy-orange); }
.nav-cta::after { display: none; }

.hero { position: relative; min-height: 535px; background: var(--jhy-navy-dark); overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0 0 0 43%;
  background: linear-gradient(90deg, rgba(3,29,67,.92), rgba(3,29,67,.34) 34%, rgba(3,29,67,.08)), var(--hero-img) center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 47%; width: 10px;
  background: var(--jhy-orange); transform: skewX(-15deg); transform-origin: top;
}
.hero-inner { position: relative; z-index: 1; min-height: 535px; display: flex; align-items: center; }
.hero-copy { max-width: 590px; color: #fff; }
.kicker { margin: 0 0 16px; color: #ff8a35; font-size: 17px; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.1vw, 54px); line-height: 1.16; letter-spacing: 0; font-weight: 800; }
.hero-text { max-width: 560px; margin: 26px 0 30px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; }

.feature-strip { background: #fff; border-bottom: 1px solid var(--jhy-line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; min-height: 96px; padding: 0 28px; border-right: 1px solid var(--jhy-line); }
.feature-item:last-child { border-right: 0; }
.feature-item svg { width: 34px; height: 34px; stroke: var(--jhy-navy); stroke-width: 1.7; }
.feature-item b { display: block; color: var(--jhy-navy); font-size: 16px; }
.feature-item span { display: block; color: var(--jhy-muted); font-size: 13px; }

.newsbar { height: 58px; background: #fff; border-bottom: 1px solid var(--jhy-line); }
.newsbar .jhy-wrap { height: 100%; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px; }
.newsbar strong { color: var(--jhy-navy); font-size: 17px; }
.newsbar span { color: var(--jhy-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newsbar a { color: var(--jhy-blue); font-weight: 700; }

.capability { position: relative; color: #fff; background: linear-gradient(rgba(4,31,77,.9), rgba(4,31,77,.9)), url("assets/about-building.png") center/cover; }
.capability .jhy-wrap { min-height: 210px; display: grid; align-items: center; text-align: center; }
.capability h2 { margin: 0 0 34px; font-size: 34px; line-height: 1.35; }
.capability-list { display: grid; grid-template-columns: repeat(6, 1fr); }
.capability-list span { padding: 0 16px; border-right: 1px solid rgba(255,255,255,.28); font-weight: 700; }
.capability-list span:last-child { border-right: 0; }

.section { padding: 88px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--jhy-bg); }
.section-title { margin: 0 0 34px; text-align: center; }
.section-title h2 { margin: 0; color: var(--jhy-navy); font-size: 34px; line-height: 1.25; }
.section-title p { margin: 8px 0 0; color: var(--jhy-muted); }

.service-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.service-tabs { background: #edf3f8; border: 1px solid var(--jhy-line); }
.service-tabs button {
  width: 100%; height: 58px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--jhy-line);
  background: transparent; text-align: left; color: var(--jhy-text); font-weight: 800; cursor: pointer;
}
.service-tabs button.active { color: #fff; background: var(--jhy-navy); box-shadow: inset 4px 0 0 var(--jhy-orange); }
.service-tabs span { margin-right: 10px; }
.service-panel { background: #fff; border: 1px solid var(--jhy-line); display: grid; grid-template-columns: .9fr 1.05fr; min-height: 310px; }
.service-copy { padding: 46px 44px; min-width: 0; }
.service-copy small { color: var(--jhy-orange); font-weight: 900; }
.service-copy h3 { margin: 10px 0 14px; color: var(--jhy-navy); font-size: 26px; }
.service-copy p { margin: 0 0 24px; color: var(--jhy-muted); }
.service-panel img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.process-mini { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--jhy-line); border-top: 0; margin-left: 254px; }
.process-mini div { padding: 22px 24px; border-right: 1px solid var(--jhy-line); }
.process-mini div:last-child { border-right: 0; }
.process-mini b { color: var(--jhy-orange); }
.process-mini strong { display: block; color: var(--jhy-navy); font-size: 16px; }
.process-mini span { color: var(--jhy-muted); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 430px 1fr; gap: 58px; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-copy h2 { margin: 0 0 18px; color: var(--jhy-navy); font-size: 32px; }
.about-copy p { margin: 0 0 26px; color: var(--jhy-text); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--jhy-line); border-left: 1px solid var(--jhy-line); }
.info-grid div { padding: 16px 18px; border-right: 1px solid var(--jhy-line); border-bottom: 1px solid var(--jhy-line); }
.info-grid b { display: block; color: var(--jhy-navy); }
.info-grid span { color: var(--jhy-muted); font-size: 14px; }

.choice-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.choice-grid h2, .flow h2 { margin: 0 0 18px; color: var(--jhy-navy); font-size: 30px; }
.choice-grid p { margin: 0; color: var(--jhy-muted); font-size: 18px; }
.choice-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--jhy-line); }
.choice-list li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--jhy-line); }
.choice-list b { color: var(--jhy-navy); font-size: 18px; }
.choice-list span { color: var(--jhy-muted); }
.flow-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 30px; }
.flow-line div { position: relative; padding-top: 34px; text-align: center; }
.flow-line div::before { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 1px; background: #b9c9dc; }
.flow-line div:first-child::before { left: 50%; }
.flow-line div:last-child::before { right: 50%; }
.flow-line b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--jhy-orange); border-radius: 4px; font-size: 12px; }
.flow-line span { color: var(--jhy-navy); font-weight: 800; }

.updates { background: #fff; }
.news-layout { display: grid; grid-template-columns: .95fr 1.1fr; gap: 28px; }
.news-feature, .news-list article { border: 1px solid var(--jhy-line); background: #fff; }
.news-feature img { width: 100%; height: 230px; object-fit: cover; }
.news-feature div { padding: 24px; }
.tag { display: inline-flex; padding: 3px 10px; color: var(--jhy-blue); background: var(--jhy-blue-soft); border: 1px solid #c7d9ec; font-size: 13px; font-weight: 700; }
.news-feature h3, .news-list h3 { margin: 12px 0 8px; color: var(--jhy-navy); font-size: 20px; }
.news-feature p, .news-list p { margin: 0; color: var(--jhy-muted); }
.news-list { display: grid; gap: 18px; }
.news-list article { padding: 22px 24px; }

.contact-band { color: #fff; background: var(--jhy-navy); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.05fr; gap: 72px; align-items: center; }
.contact-grid h2 { margin: 0 0 18px; font-size: 30px; }
.contact-grid p, .contact-grid li { color: rgba(255,255,255,.82); }
.contact-grid ul { margin: 24px 0 0; padding: 0; list-style: none; }
.contact-grid li { margin: 10px 0; font-weight: 700; }
.consult-form { padding: 32px; background: #fff; color: var(--jhy-text); border-radius: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: block; }
.field-full { grid-column: 1 / -1; }
.field span { display: block; margin-bottom: 8px; color: var(--jhy-text); font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--jhy-line); outline: 0; font: inherit; }
.field textarea { min-height: 92px; resize: vertical; }
.field em { display: block; min-height: 18px; color: #c9321d; font-style: normal; font-size: 12px; }
.form-note { min-height: 22px; color: var(--jhy-muted); }
.consult-form .jhy-btn { width: 100%; }

.site-footer { color: rgba(255,255,255,.78); background: var(--jhy-navy-dark); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .85fr 1.1fr; gap: 50px; }
.footer-grid h3, .footer-grid strong { color: #fff; margin: 0 0 14px; }
.footer-grid p, .footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.74); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; color: rgba(255,255,255,.6); font-size: 13px; }

.page-hero { padding: 82px 0; color: #fff; background: linear-gradient(105deg, rgba(3,29,67,.96), rgba(6,43,95,.78)), url("assets/hero-business.png") center/cover; }
.page-hero h1 { margin: 0; font-size: 44px; }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.82); }
.breadcrumb { margin-top: 22px; color: rgba(255,255,255,.72); font-size: 14px; }
.inner-section { padding: 76px 0; background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.two-col.reverse img { order: -1; }
.two-col img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.content-list { margin: 22px 0 0; padding-left: 20px; color: var(--jhy-muted); }
.dl-grid { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--jhy-line); }
.dl-grid dt, .dl-grid dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--jhy-line); }
.dl-grid dt { color: var(--jhy-navy); font-weight: 800; }
.dl-grid dd { color: var(--jhy-muted); }

@media (max-width: 900px) {
  .jhy-wrap { width: min(100% - 36px, var(--jhy-width)); }
  .topbar { height: auto; padding: 14px 0; }
  .head-meta { display: none; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 48px; height: 48px; font-size: 14px; }
  .nav-toggle { display: inline-flex; margin-left: auto; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5); width: 42px; height: 38px; align-items: center; justify-content: center; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 130px; display: none; height: auto; padding: 12px 18px 18px; background: var(--jhy-navy); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { height: 44px; }
  .nav-cta { margin-left: 0; width: 100%; justify-content: center; }
  .hero { min-height: auto; }
  .hero-photo { position: relative; inset: auto; min-height: 235px; margin-top: 0; }
  .hero::after { display: none; }
  .hero-inner { min-height: auto; padding: 54px 0 36px; }
  .hero h1 { font-size: 34px; }
  .hero-text { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; }
  .feature-grid, .capability-list, .process-mini, .info-grid, .news-layout, .contact-grid, .footer-grid, .two-col, .choice-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--jhy-line); padding: 18px 0; }
  .newsbar { height: auto; padding: 12px 0; }
  .newsbar .jhy-wrap { grid-template-columns: 1fr; gap: 6px; }
  .service-layout, .service-panel { grid-template-columns: 1fr; }
  .service-tabs { display: grid; grid-template-columns: repeat(2,1fr); }
  .process-mini { margin-left: 0; border-top: 1px solid var(--jhy-line); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .choice-list li { grid-template-columns: 1fr; gap: 6px; }
  .flow-line { grid-template-columns: 1fr; gap: 14px; }
  .flow-line div { padding: 0 0 0 48px; text-align: left; }
  .flow-line div::before { left: 14px !important; right: auto !important; top: 0; bottom: -14px; width: 1px; height: auto; }
  .flow-line b { left: 14px; top: 2px; transform: translateX(-50%); }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0; }
  .page-hero h1 { font-size: 34px; }
}
