/* 云脑智联 — 企业官网 */

:root {
  --blue-deep: #0a3d7a;
  --blue: #1568c7;
  --blue-tint: rgba(21, 104, 199, 0.08);
  --sky-top: #dceaf8;
  --sky-mid: #eef5fc;
  --ink: #1c2430;
  --ink-muted: #4a5568;
  --canvas: #fbfcfe;
  --footer-text: #8a939d;
  --focus: rgba(26, 111, 212, 0.45);
  --header-h: 56px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --prose-max: 40rem;
  --content-pad: clamp(20px, 4vw, 32px);
  --content-max: 1100px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-muted);
  background: var(--canvas);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(251, 252, 254, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 104, 199, 0.1);
}

.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.site-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--blue);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.site-brand__mark-img {
  display: block;
  flex-shrink: 0;
  height: 34px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  object-position: center;
}

.site-brand__text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-brand__text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

main {
  flex: 1;
}

/* Hero */
.company-hero {
  position: relative;
  padding: clamp(36px, 7vw, 64px) var(--content-pad) clamp(40px, 8vw, 72px);
  overflow: hidden;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--canvas) 72%);
}

.company-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.company-hero__orb--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(31, 122, 232, 0.18), transparent 50%);
}

.company-hero__orb--2 {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(21, 104, 199, 0.12), transparent 65%);
}

.company-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(21, 104, 199, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.company-hero__shell {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(220px, 0.4fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .company-hero__shell {
    grid-template-columns: 1fr;
  }

  .company-hero__aside {
    order: -1;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

.company-hero__main {
  min-width: 0;
}

.company-hero__header {
  margin-bottom: clamp(22px, 4vw, 32px);
}

.company-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.2vw + 0.85rem, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.company-hero__location {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.company-hero__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(21, 104, 199, 0.14);
  box-shadow: 0 20px 48px -24px rgba(10, 61, 122, 0.35), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  background: rgba(255, 255, 255, 0.5);
}

.company-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Prose card */
.company-prose {
  max-width: var(--prose-max);
  padding: clamp(22px, 4vw, 28px) clamp(22px, 4vw, 30px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 104, 199, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 20px 50px -28px rgba(10, 61, 122, 0.22);
  backdrop-filter: blur(10px);
}

.company-prose__p {
  margin: 0 0 1.15em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.company-prose__p:last-of-type {
  margin-bottom: 0;
}

.company-prose__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.25em 0 1.35em;
  padding: 14px 0;
  border-top: 1px solid rgba(21, 104, 199, 0.1);
  border-bottom: 1px solid rgba(21, 104, 199, 0.1);
  list-style: none;
}

.company-prose__highlights li {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  background: var(--blue-tint);
  border-radius: 9999px;
  border: 1px solid rgba(21, 104, 199, 0.12);
}

/* Generic sections */
.section {
  padding: clamp(48px, 8vw, 80px) var(--content-pad);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(36px, 5vw, 48px);
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.65rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.section__title--left {
  text-align: left;
}

.section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* Business intro */
.section--intro {
  background: linear-gradient(180deg, var(--canvas) 0%, rgba(238, 245, 252, 0.85) 100%);
  border-top: 1px solid rgba(21, 104, 199, 0.08);
  border-bottom: 1px solid rgba(21, 104, 199, 0.08);
}

.business-intro {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 32px) clamp(22px, 4vw, 28px);
  background: #fff;
  border: 1px solid rgba(21, 104, 199, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px -24px rgba(10, 61, 122, 0.15);
}

.business-intro__p {
  margin: 0 0 1.1em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.business-intro__p:last-child {
  margin-bottom: 0;
}

.business-intro__p strong {
  color: var(--ink);
  font-weight: 700;
}

.business-intro__subtitle {
  margin: 1.5em 0 0.65em;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
}

.business-intro__subtitle:first-of-type {
  margin-top: 0.25em;
}

.business-intro__list {
  margin: 0 0 1em;
  padding-left: 1.35em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.business-intro__list li {
  margin-bottom: 0.35em;
}

.business-intro__list li:last-child {
  margin-bottom: 0;
}

/* Value row */
.section--values {
  padding-top: 0;
  padding-bottom: clamp(40px, 6vw, 56px);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-row__item {
  padding: clamp(18px, 2.5vw, 22px) clamp(14px, 2vw, 18px);
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 104, 199, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 32px -24px rgba(10, 61, 122, 0.18);
}

.value-row__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.value-row__hint {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .value-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .value-row {
    grid-template-columns: 1fr;
  }
}

/* Capability cards */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

@media (max-width: 900px) {
  .cap-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

.cap-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 104, 199, 0.1);
  box-shadow: 0 16px 40px -28px rgba(10, 61, 122, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(10, 61, 122, 0.28);
}

.cap-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sky-mid);
}

.cap-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cap-card__body {
  padding: clamp(18px, 3vw, 22px) clamp(18px, 3vw, 22px) clamp(22px, 3vw, 26px);
}

.cap-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.cap-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-muted);
}

/* Split section */
.section--split {
  background: linear-gradient(180deg, rgba(238, 245, 252, 0.65) 0%, var(--canvas) 100%);
}

.section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 800px) {
  .section__inner--split {
    grid-template-columns: 1fr;
  }

  .split-visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(21, 104, 199, 0.12);
  box-shadow: 0 20px 48px -28px rgba(10, 61, 122, 0.25);
}

.split-visual__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  vertical-align: middle;
}

.split-copy__p {
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.split-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-list li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0.85;
}

.split-list li:last-child {
  margin-bottom: 0;
}

/* Full-width banner */
.visual-banner {
  position: relative;
  min-height: max(220px, min(40vw, 320px));
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visual-banner__bg {
  position: absolute;
  inset: 0;
}

.visual-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.visual-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 45, 90, 0.88) 0%, rgba(10, 45, 90, 0.45) 55%, rgba(10, 61, 122, 0.35) 100%);
}

.visual-banner__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 56px) var(--content-pad);
  width: 100%;
}

.visual-banner__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.visual-banner__text {
  margin: 0;
  max-width: 36em;
  font-size: clamp(16px, 1.5vw + 14px, 18px);
  line-height: 1.7;
  font-weight: 500;
  color: #fff;
}

/* Contact */
.section--contact {
  padding-bottom: clamp(56px, 10vw, 96px);
}

.section__inner--contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: stretch;
}

@media (max-width: 800px) {
  .section__inner--contact {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    order: -1;
    max-height: 240px;
  }
}

.contact-card {
  padding: clamp(24px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(21, 104, 199, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px -30px rgba(10, 61, 122, 0.2);
}

.contact-card__p {
  margin: 0 0 1.4em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.contact-dl {
  margin: 0;
}

.contact-dl__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(21, 104, 199, 0.1);
}

.contact-dl__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-dl dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
}

.contact-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
}

@media (max-width: 480px) {
  .contact-dl__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.contact-aside {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(21, 104, 199, 0.1);
  min-height: 200px;
  box-shadow: 0 16px 40px -28px rgba(10, 61, 122, 0.2);
}

.contact-aside__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 20px var(--content-pad) 28px;
  border-top: 1px solid rgba(21, 104, 199, 0.1);
  background: rgba(255, 255, 255, 0.75);
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 36rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--footer-text);
}

.site-footer__biz {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--footer-text);
}

.site-footer__icp-wrap {
  margin: 0;
}

.site-footer__icp {
  font-size: 13px;
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer__icp:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__meta {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-card {
    transition: none;
  }

  .cap-card:hover {
    transform: none;
  }
}
