:root {
  --ink: #11151a;
  --muted: #606871;
  --paper: #f5f2ec;
  --white: #fff;
  --line: rgba(17, 21, 26, .14);
  --accent: #ff5a36;
  --accent-soft: #ffad7f;
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; line-height: 1.65; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 18px 28px; background: rgba(245,242,236,.91); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.05; }
.brand-mark { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; color: transparent; background: transparent url("assets/luoling-mark.png") center / auto 40px no-repeat; border-radius: 0; font-size: 0; }
.brand b { display: block; font-size: 18px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 700; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--accent); }
.nav-cta { padding: 11px 18px; color: var(--white); background: var(--ink); border-radius: 999px; }
.nav-cta:hover { color: var(--white); background: var(--accent); }
.menu-button { display: none; border: 0; background: transparent; font-weight: 700; }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; max-width: var(--max); min-height: 720px; margin: 0 auto; padding: 60px 28px 72px; align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(56px, 7vw, 96px); line-height: .98; letter-spacing: -.07em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 580px; margin: 32px 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 800; }
.button-primary { color: var(--white); background: var(--accent); }
.button-primary:hover { background: #e84523; }
.button-ghost { border: 1px solid var(--line); }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 34px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; font-weight: 700; }
.hero-points li::before { content: "●"; margin-right: 8px; color: var(--accent); font-size: 8px; vertical-align: 2px; }
.hero-visual { position: relative; min-height: 590px; overflow: hidden; background: #ddd; border-radius: 180px 24px 24px 24px; }
.hero-visual > img { width: 100%; height: 590px; object-fit: cover; filter: saturate(.84) contrast(1.04); }
.hero-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 46%, rgba(9,11,13,.48)); }
.hero-card { position: absolute; z-index: 2; right: 26px; bottom: 26px; left: 26px; display: flex; align-items: end; justify-content: space-between; color: var(--white); }
.hero-card span { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.hero-card strong { text-align: right; font-size: 20px; line-height: 1.4; }

.trust-strip { display: flex; overflow: hidden; max-width: var(--max); margin: 0 auto; padding: 22px 28px; align-items: center; gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.trust-strip span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.trust-strip b { color: #747b82; font-size: 14px; }

.section { max-width: var(--max); margin: 0 auto; padding: 120px 28px; }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; margin-bottom: 52px; align-items: end; gap: 40px; }
.section-heading h2, .analytics-copy h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card { min-height: 300px; padding: 34px; background: var(--white); border-radius: var(--radius); }
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3) { grid-column: span 4; }
.service-card:nth-child(4) { grid-column: span 8; }
.service-card.featured { grid-column: span 7; min-height: 420px; background: var(--accent); }
.service-card.dark { color: var(--white); background: var(--ink); }
.service-number { display: block; margin-bottom: 70px; color: rgba(17,21,26,.46); font-size: 12px; font-weight: 900; }
.dark .service-number { color: rgba(255,255,255,.48); }
.service-card h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.service-card p { max-width: 580px; margin: 0; color: var(--muted); }
.featured p, .featured li { color: rgba(17,21,26,.76); }
.dark p { color: rgba(255,255,255,.7); }
.service-card ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 470px; margin: 32px 0 0; padding: 0; gap: 8px 24px; list-style: none; font-size: 13px; font-weight: 700; }
.service-card li::before { content: "+"; margin-right: 7px; }
.related-links { display: flex; flex-wrap: wrap; margin-top: 26px; gap: 9px; }
.related-links a { padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 800; }
.related-links a:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }

.cases-section { max-width: none; padding-right: max(28px, calc((100vw - var(--max))/2 + 28px)); padding-left: max(28px, calc((100vw - var(--max))/2 + 28px)); color: var(--white); background: var(--ink); }
.section-heading.light > p { color: #aeb4ba; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { position: relative; min-height: 410px; overflow: hidden; background: #272b30; border-radius: var(--radius); }
.case-card.case-large { grid-column: span 2; min-height: 600px; }
.case-card img { height: 100%; min-height: 410px; object-fit: cover; opacity: .8; transition: transform .55s ease, opacity .55s ease; }
.case-large img { min-height: 600px; }
.case-card:hover img { opacity: .95; transform: scale(1.025); }
.case-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 48%, rgba(6,8,10,.84)); }
.case-card > div { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; }
.case-card span { color: var(--accent-soft); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.case-card h3 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.035em; }
.case-card p { margin: 5px 0 0; color: #c5c9cd; }

.analytics-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.analytics-image { overflow: hidden; background: #d9dde0; border-radius: 24px 120px 24px 24px; }
.analytics-image img { height: 600px; object-fit: cover; }
.analytics-copy > p:not(.eyebrow) { margin: 28px 0; color: var(--muted); font-size: 17px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 34px 0; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric-grid div { padding: 22px; background: var(--paper); }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { font-size: 16px; }
.metric-grid span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.text-link { color: var(--accent); font-weight: 900; }

.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.location-grid a { min-height: 300px; padding: 38px; background: var(--white); border-radius: var(--radius); transition: transform .25s ease, background .25s ease, color .25s ease; }
.location-grid a:last-child { background: #e6dfd4; }
.location-grid a:hover { color: var(--white); background: var(--ink); transform: translateY(-4px); }
.location-grid span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.location-grid h3 { max-width: 420px; margin: 72px 0 12px; font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.location-grid p { max-width: 470px; color: var(--muted); }
.location-grid a:hover p { color: #b8bec4; }
.location-grid b { display: block; margin-top: 24px; font-size: 13px; }
.home-faq .faq-list { border-top: 1px solid var(--line); }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq summary { padding: 24px 4px; cursor: pointer; font-size: 17px; font-weight: 800; }
.home-faq details p { max-width: 820px; margin: -8px 0 24px; color: var(--muted); }

.process-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; padding: 28px 0; align-items: center; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--accent); font-size: 12px; font-weight: 900; }
.process-list h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.process-list p { margin: 3px 0 0; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: 1fr .85fr; max-width: var(--max); margin: 0 auto 24px; padding: 76px; color: var(--white); background: var(--accent); border-radius: 30px; gap: 72px; }
.contact-section .eyebrow { color: var(--ink); }
.contact-section > div > p:last-child { color: rgba(17,21,26,.7); }
.contact-panel { padding: 6px 0; }
.contact-panel a { display: block; padding: 18px 0; border-bottom: 1px solid rgba(17,21,26,.22); }
.contact-panel span, .contact-panel strong { display: block; }
.contact-panel span { color: rgba(17,21,26,.67); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.contact-panel strong { margin-top: 3px; font-size: clamp(20px, 2.4vw, 30px); }
.copy-template { width: 100%; margin-top: 22px; padding: 15px; border: 0; color: var(--white); background: var(--ink); border-radius: 999px; cursor: pointer; font-weight: 900; }
.copy-feedback { min-height: 24px; margin: 8px 0 0; color: var(--ink) !important; text-align: center; font-size: 12px; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; max-width: var(--max); margin: 0 auto; padding: 70px 28px 100px; align-items: end; gap: 32px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.footer-brand { color: var(--ink); }
.mobile-actions { display: none; }
.contact-card-large { padding: 42px; background: var(--white); border-radius: 24px 100px 24px 24px; }
.contact-card-large h2 { margin: 0; font-size: 34px; }
.contact-card-large ul { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; gap: 10px 22px; list-style: none; color: var(--muted); }
.contact-card-large li::before { content: "+"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.legal { max-width: 900px; }
.legal h1 { margin: 0 0 30px; font-size: clamp(48px, 7vw, 76px); letter-spacing: -.06em; }
.legal h2 { margin: 48px 0 12px; font-size: 24px; }
.legal p { color: var(--muted); }
.not-found { display: flex; min-height: 100vh; padding: 28px; align-items: flex-start; justify-content: center; flex-direction: column; max-width: 900px; margin: auto; }
.not-found h1 { margin: 0 0 24px; font-size: clamp(60px, 10vw, 110px); line-height: .95; letter-spacing: -.07em; }
.not-found > p:not(.eyebrow) { max-width: 520px; margin-bottom: 30px; color: var(--muted); }

@media (max-width: 880px) {
  .site-header { padding: 15px 18px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 72px; right: 16px; display: none; width: 220px; padding: 20px; align-items: stretch; background: var(--white); border-radius: 16px; box-shadow: 0 18px 60px rgba(0,0,0,.14); flex-direction: column; gap: 16px; }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 58px 18px; gap: 42px; }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero-visual { min-height: 470px; border-radius: 110px 18px 18px 18px; }
  .hero-visual > img { height: 470px; }
  .hero-card { display: block; }
  .hero-card strong { display: block; margin-top: 9px; text-align: left; }
  .trust-strip { padding: 18px; }
  .section { padding: 86px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .service-card:nth-child(2), .service-card:nth-child(3), .service-card:nth-child(4) { grid-column: auto; min-height: 290px; }
  .service-number { margin-bottom: 44px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card, .case-card.case-large { grid-column: auto; min-height: 430px; }
  .case-card img, .case-large img { min-height: 430px; }
  .analytics-section { grid-template-columns: 1fr; gap: 48px; }
  .location-grid { grid-template-columns: 1fr; }
  .analytics-image img { height: 440px; }
  .contact-section { grid-template-columns: 1fr; margin: 0 12px 20px; padding: 48px 24px; gap: 36px; }
  footer { grid-template-columns: 1fr; padding: 60px 20px 100px; }
  footer p:last-child { text-align: left; }
  .mobile-actions { position: fixed; z-index: 30; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 5px; background: var(--ink); border-radius: 999px; box-shadow: 0 10px 32px rgba(0,0,0,.28); }
  .contact-card-large { padding: 30px 22px; border-radius: 18px 70px 18px 18px; }
  .contact-card-large ul { grid-template-columns: 1fr; }
  .mobile-actions a { padding: 12px; color: var(--white); text-align: center; font-size: 13px; font-weight: 900; }
  .mobile-actions a:last-child { color: var(--ink); background: var(--accent); border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
