:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5b6b7d;
  --line: #dbe4ef;
  --soft: #f3f7fb;
  --brand: #e42336;
  --brand-dark: #b81427;
  --cyan: #19c7d4;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(17, 35, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 6px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 239, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 150px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: #263d55;
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #080b10;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.84) 36%, rgba(5, 7, 12, 0.3) 76%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.12) 0%, rgba(5, 10, 18, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding: 72px 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: #ff5364;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-content .eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(228, 35, 54, 0.18);
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.section.compact {
  padding: 34px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-grid div {
  padding: 24px;
  background: var(--white);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 20px;
}

.metric-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.credentials {
  padding-top: 44px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.credential-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid #ffd5da;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.credential-grid span,
.credential-grid strong {
  display: block;
}

.credential-grid span {
  color: var(--brand);
  font-weight: 900;
}

.credential-grid strong {
  margin-top: 42px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.card-index {
  display: block;
  margin-bottom: 34px;
  color: var(--brand);
  font-weight: 800;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  background: #fff5f6;
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-list div {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.solution-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

.process {
  padding-top: 0;
}

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

.timeline li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 10px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0;
  align-items: stretch;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: #16171d;
  color: var(--white);
}

.contact-copy,
.lead-form {
  min-height: 430px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  padding: 18px clamp(22px, 4vw, 42px) 18px 18px;
}

.contact-copy h2 {
  max-width: 540px;
  font-size: clamp(30px, 3vw, 40px);
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.company-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: auto;
  padding-top: 30px;
}

.company-info div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  min-height: auto;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  background: transparent;
}

.company-info span,
.company-info strong,
.company-info a {
  display: block;
}

.company-info span {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.company-info strong,
.company-info a {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.company-info a {
  color: #ff5b6b;
}

.lead-form {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: clamp(24px, 3.6vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%), linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lead-form select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.lead-form select option {
  color: var(--ink);
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(228, 35, 54, 0.22);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.site-footer {
  padding: 22px clamp(18px, 5vw, 72px) 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  background: #fbfdff;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: #506276;
}

.footer-main a {
  color: #334a62;
}

.footer-main a:hover {
  color: var(--brand);
}

.footer-compliance {
  margin: 0;
  color: #7a8898;
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .card-grid,
  .timeline,
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .contact {
    grid-template-columns: 1fr;
  }

  .company-info {
    grid-template-columns: 1fr;
  }

  .solution-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand-logo {
    height: 26px;
    max-width: calc(100vw - 36px);
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 17, 31, 0.96) 0%, rgba(5, 17, 31, 0.76) 60%, rgba(5, 17, 31, 0.48) 100%);
  }

  .hero-content {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: 58px 0;
  }

  h1 {
    font-size: 38px;
  }

  .metric-grid,
  .card-grid,
  .timeline,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section.compact {
    padding: 20px 0;
  }

  .contact {
    width: min(100% - 36px, 1160px);
    padding: 28px 22px;
  }

  .contact-copy h2 {
    font-size: 30px;
  }

  .site-footer {
    padding-bottom: 22px;
  }
}

.admin-body {
  min-height: 100vh;
  background: #f5f7fb;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-card {
  display: grid;
  width: min(430px, 100%);
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-card h1,
.admin-panel h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.admin-card label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.admin-card input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.admin-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(228, 35, 54, 0.12);
}

.admin-error {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}

.admin-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-button {
  min-height: 42px;
  color: var(--white);
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

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

.lead-table th {
  color: var(--muted);
  background: #fafbfd;
  font-size: 14px;
}

.lead-table td {
  color: var(--ink);
}

.follow-select {
  min-height: 38px;
  min-width: 108px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background:
    linear-gradient(45deg, transparent 50%, #6a7a8b 50%),
    linear-gradient(135deg, #6a7a8b 50%, transparent 50%),
    var(--white);
  background-position: calc(100% - 18px) 16px, calc(100% - 12px) 16px, 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  appearance: none;
  cursor: pointer;
  font-weight: 700;
}

.follow-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(228, 35, 54, 0.12);
}

.follow-select:disabled {
  cursor: wait;
  opacity: 0.7;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }
}
