:root {
  --red: #c8102e;
  --red-deep: #8f0b20;
  --navy: #0b1220;
  --navy-2: #141c2e;
  --ink: #1a2233;
  --muted: #5d677a;
  --line: #e4e8f0;
  --paper: #f4f6f9;
  --white: #ffffff;
  --blue: #1677ff;
  --gold: #c9a24a;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.1);
  --radius: 18px;
  --header-h: 88px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --en: "Outfit", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  height: auto;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  color: #fff;
}

.brand-logo {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: #9ecbff;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.kd-mark {
  height: 32px;
  width: auto;
  margin-left: 2px;
  flex-shrink: 0;
}

.brand .kd-mark {
  height: 32px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-line {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-line:hover {
  border-color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 52%, rgba(200, 16, 46, 0.28) 100%),
    repeating-linear-gradient(
      -58deg,
      transparent 0 70px,
      rgba(200, 16, 46, 0.18) 70px 118px
    );
}

.hero.hero-ai::before {
  background:
    linear-gradient(90deg, rgba(8, 18, 40, 0.88) 0%, rgba(8, 22, 52, 0.55) 46%, rgba(22, 119, 255, 0.12) 100%);
}

.hero-ai .eyebrow {
  color: #9ecbff;
}

.hero-ai .eyebrow::before {
  background: var(--blue);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 90px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #ffd3d9;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 64px;
}

.hero-stats div {
  background: rgba(11, 18, 32, 0.55);
  padding: 22px 18px;
}

.hero-stats b {
  display: block;
  font-family: var(--en);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.kicker {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section-dark .kicker {
  color: #ff8a9a;
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  font-weight: 700;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-num {
  font-family: var(--en);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
}

.card ul {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
}

.card ul li + li {
  margin-top: 6px;
}

.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fde8ec;
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.split-photo {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-photo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: var(--red);
}

.badge-float {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.badge-float b {
  display: block;
  font-family: var(--en);
  font-size: 22px;
  color: var(--red);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.value {
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

/* Products feature */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.feature:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature-media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  background: var(--navy);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-diagram {
  background: #fff;
  border: 1px solid var(--line);
}

.feature-diagram img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.tag {
  display: inline-block;
  background: #fde8ec;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  background: #fff;
}

/* Kingdee grid */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.solution {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 22px 18px;
  border-radius: 14px;
  display: block;
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.solution:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.solution b {
  display: block;
  margin-bottom: 6px;
}

.solution span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* Team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.person {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: 0 1 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
}

.person img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 18%;
  background: #eef1f6;
}

.person-body {
  padding: 18px;
}

.person-body h3 {
  font-size: 18px;
}

.role {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 8px;
}

.person-body p {
  font-size: 13px;
  color: var(--muted);
}

.person.wide {
  flex: 0 1 calc((100% - 20px) / 2);
  width: calc((100% - 20px) / 2);
}

.person.wide .person-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.person.wide img {
  height: 100%;
  min-height: 280px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.gallery img:first-child {
  grid-row: 1 / span 2;
}

/* Certs */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.certs a,
.certs figure {
  flex: 0 1 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
}

.certs img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  background: #fafbfc;
  padding: 10px;
}

.certs figcaption {
  padding: 12px 14px 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Cases */
.case-list {
  display: grid;
  gap: 16px;
}

.case {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.case-meta {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.case-meta .industry {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.case-meta h3 {
  font-size: 20px;
  margin: 8px 0;
}

.case-meta p {
  font-size: 13px;
  color: var(--muted);
}

.case dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 12px;
  font-size: 14px;
}

.case dt {
  color: var(--muted);
}

/* Page hero */
.page-hero {
  position: relative;
  color: #fff;
  padding: 86px 0 72px;
  background: var(--navy) center / cover no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 18, 32, 0.88), rgba(200, 16, 46, 0.35)),
    repeating-linear-gradient(-58deg, transparent 0 80px, rgba(200, 16, 46, 0.16) 80px 124px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.crumb a:hover {
  color: #fff;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 36px;
  min-height: 100%;
}

.contact-card h2 {
  margin: 8px 0 18px;
}

.contact-card a {
  color: #fff;
}

.contact-phone {
  font-family: var(--en);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: inline-block;
  margin-top: 2px;
}

.info-row {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.info-row div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row small {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 4px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
}

.form textarea {
  height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.form-ok {
  display: none;
  background: #e8f7ee;
  color: #146c3a;
  padding: 14px 16px;
  border-radius: 10px;
}

.form.is-sent .form-ok {
  display: block;
}

.form.is-sent .fields {
  display: none;
}

/* Footer */
.site-footer {
  background: #080d18;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.85fr auto;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 15px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-qr {
  width: 118px;
  height: auto;
  margin: 12px 0 6px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
}

.footer-contact {
  min-width: 0;
  width: 100%;
  max-width: 260px;
}

.footer-contact p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-phone {
  display: inline-block !important;
  margin: 8px 0 16px !important;
  color: #fff !important;
  font-family: var(--en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.wechat-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.wechat-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  display: block;
}

.wechat-box span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  text-align: center;
}

.prod-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.prod-jump a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.prod-jump a:hover {
  background: #fff;
  color: var(--navy);
}

.industry-line {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.offer-index {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.offer-index-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.offer-index a {
  display: block;
  padding: 28px 8px 32px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.offer-index a:last-child {
  border-right: 0;
  margin-right: 0;
}

.offer-index em {
  font-family: var(--en);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
}

.offer-index h3 {
  font-size: 22px;
  margin: 8px 0 6px;
}

.offer-index p {
  font-size: 14px;
  color: var(--muted);
}

.offer-index a:hover h3 {
  color: var(--red);
}

.arch-frame img {
  width: 100%;
  display: block;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
}

.process li {
  padding: 22px 24px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.process b {
  display: block;
  font-family: var(--en);
  font-weight: 700;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.lineup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.lineup b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.lineup span {
  font-size: 13px;
  color: var(--muted);
}

.s2b-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.s2b-list div {
  padding-left: 14px;
  border-left: 2px solid var(--red);
}

.s2b-list b {
  display: block;
  margin-bottom: 2px;
}

.s2b-list span {
  font-size: 14px;
  color: var(--muted);
}

.photo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.photo-strip figure {
  margin: 0;
  flex: 0 1 calc((100% - 28px) / 3);
  width: calc((100% - 28px) / 3);
}

.photo-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.photo-strip figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.feature.forward,
.feature.forward:nth-child(even) {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature.forward .feature-copy,
.feature.forward:nth-child(even) .feature-copy {
  order: 0;
}

.industry-line a {
  color: var(--muted);
  margin-right: 14px;
}

.industry-line a:hover {
  color: var(--navy);
}

.ind-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.ind-jump a {
  font-size: 13px;
  color: var(--muted);
}

.ind-jump a:hover {
  color: var(--navy);
}

.industry-block {
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding: 32px 0 8px;
}

.industry-block + .industry-block {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.industry-block h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.industry-block p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

#kingdee,
#s2b2c,
#sanitation,
#industries {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.wechat-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wechat-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.wechat-panel h3 {
  margin-top: 20px;
  font-size: 18px;
}

.wechat-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand img {
  height: 40px;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  margin-bottom: 14px;
}

.motto {
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  margin: 10px 0 8px;
}

.footer-seo {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: #fff;
}

.cta-band {
  background: var(--red);
  color: #fff;
  padding: 48px 0;
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-band h2 {
  font-size: 30px;
}

.cta-band .btn {
  background: #fff;
  color: var(--red);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.compare th,
.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.compare th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.compare td:nth-child(2) {
  color: var(--red);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #0b1220;
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 4px;
  }

  body.nav-open .nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .values,
  .solution-grid,
  .team-grid,
  .certs,
  .split,
  .feature,
  .feature:nth-child(even),
  .feature.forward,
  .feature.forward:nth-child(even),
  .contact-grid,
  .footer-top,
  .grid-2,
  .offer-index-row,
  .process,
  .lineup,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .offer-index a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-right: 0;
    padding: 22px 0;
  }

  .offer-index a:last-child {
    border-bottom: 0;
  }

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery img:first-child {
    grid-row: auto;
    min-height: 240px;
  }

  .case,
  .person.wide .person-inner {
    grid-template-columns: 1fr;
  }

  .case-meta {
    border: 0;
    padding: 0;
  }

  .person.wide {
    grid-column: auto;
  }

  .section-head,
  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    max-width: 320px;
  }

  .ai-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .person,
  .person.wide,
  .certs a,
  .certs figure,
  .photo-strip figure,
  .ai-grid .shot-card {
    flex: 1 1 100%;
    width: 100%;
  }

  .kd-mark {
    height: 24px;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text em {
    font-size: 11px;
  }
}

@media (min-width: 700px) and (max-width: 980px) {
  .team-grid,
  .certs,
  .grid-3,
  .ai-grid,
  .lineup,
  .photo-strip,
  .process {
    grid-template-columns: 1fr 1fr;
  }

  .person,
  .person.wide,
  .certs a,
  .certs figure,
  .photo-strip figure,
  .ai-grid .shot-card {
    flex: 0 1 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
}

.partner-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.partner-strip img {
  height: 36px;
  width: auto;
  background: #0b1220;
  border-radius: 8px;
  padding: 6px 10px;
}

.partner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--muted);
}

.partner-meta b {
  color: var(--blue);
  font-weight: 700;
}

.ai-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.ai-grid .shot-card {
  flex: 0 1 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
}

.shot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.shot-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
}

.shot-card div {
  padding: 16px 16px 18px;
}

.shot-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.shot-card p {
  font-size: 13px;
  color: var(--muted);
}

.arch-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.arch-frame img {
  width: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.solution.light {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.solution.light span {
  color: var(--muted);
}
