﻿:root {
  --ink: #101828;
  --muted: #5b667a;
  --line: #dbe3ef;
  --soft: #f4f7fb;
  --blue: #1864ff;
  --blue-2: #0f52d9;
  --cyan: #00a3ff;
  --navy: #08152d;
  --navy-2: #0d2348;
  --green: #18a058;
  --orange: #f79009;
  --white: #fff;
  --shadow: 0 14px 40px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: #fff;
}

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

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

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  vertical-align: -0.14em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 227, 239, .9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

.brand img {
  width: auto;
  height: 38px;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: #26364f;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: #eef5ff;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  width: 360px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid rgba(24, 100, 255, .14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  visibility: hidden;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-submenu a {
  position: relative;
  justify-content: flex-start;
  min-height: 44px;
  padding: 10px 12px 10px 16px;
  color: #1d2b44;
  background: #fff;
  border: 1px solid rgba(219, 227, 239, .86);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav-submenu a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--blue);
  border-radius: 999px;
  opacity: .55;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--blue);
  background: #f5f9ff;
  border-color: rgba(24, 100, 255, .26);
  box-shadow: 0 12px 24px rgba(24, 100, 255, .11);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .nav-actions .btn-primary {
  display: none;
}

.hotline {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-light {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.1);
}

.btn-ghost {
  color: var(--blue);
  background: #eef5ff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: .36;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8,21,45,.98) 0%, rgba(8,21,45,.88) 56%, rgba(8,21,45,.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 540px;
  padding: 58px 0 72px;
  align-items: center;
}

.hero-copy {
  max-width: 100%;
}

.hero-copy h1,
.hero-copy p {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8bc8ff;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  width: 100%;
}

.metric {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 68px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
}

.metric span {
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.2;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tagline span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #2463a8;
  background: #eaf4ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.carrier-telecom {
  color: #fff;
  background: var(--blue);
}

.pill.carrier-mobile {
  color: #fff;
  background: var(--green);
}

.pill.carrier-unicom {
  color: #fff;
  background: var(--orange);
}

.hero .tagline span {
  color: #b9dcff;
  background: rgba(24,100,255,.18);
}

.quick-services {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-mini {
  min-height: 124px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}

.service-mini:last-child {
  border-right: 0;
}

.service-mini .icon {
  color: var(--blue);
  font-size: 24px;
}

.service-mini strong {
  display: block;
  margin-top: 9px;
  font-size: 15px;
}

.service-mini span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 82px 0;
}

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

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

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

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.section-desc {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.dc-showcase-desc {
  max-width: none;
  white-space: nowrap;
}

.dark .section-desc {
  color: rgba(255,255,255,.68);
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  padding: 24px;
  min-height: 230px;
}

.product-card .icon,
.feature .icon {
  color: var(--blue);
  font-size: 28px;
}

.product-card h3,
.feature h3,
.dc-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

.product-card p,
.feature p,
.dc-card p {
  color: var(--muted);
  margin: 0;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.dc-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.dc-photo {
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
}

.home-dc-showcase .dc-photo {
  height: 100%;
  min-height: 0;
}

.dc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-detail {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.dc-tab,
.filter-btn,
.faq-question {
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.dc-tab,
.filter-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 4px;
  color: var(--muted);
  font-weight: 700;
}

.dc-tab.active,
.filter-btn.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.spec {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: #f7faff;
  border: 1px solid #e4edf9;
  border-radius: 6px;
}

.spec .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 8px;
  color: var(--blue);
  background: #eaf2ff;
  border-radius: 8px;
}

.spec > div {
  min-width: 0;
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.spec strong {
  font-size: 18px;
}

.detail-content .spec-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

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

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

.certificate-card {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.certificate-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 12px;
  background: #f8fbff;
}

.certificate-card figcaption {
  padding: 14px 16px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.dc-card {
  overflow: hidden;
}

.dc-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dc-card-body {
  padding: 22px;
}

.dc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.scenario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
}

.feature .icon {
  color: #73d4ff;
}

.feature p {
  color: rgba(255,255,255,.68);
}

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

.step {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}

.cta {
  padding: 52px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
}

.cta-plain {
  color: var(--ink);
  background: #fff;
}

.cta-plain p {
  color: var(--muted);
}

.cta .btn-light,
.cta-plain .btn-light {
  color: var(--blue);
  border-color: #c8dcff;
  background: #eef5ff;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: url("../images/hero-datacenter.png") center / cover no-repeat;
  padding: 72px 0;
}

.services-hero {
  background-image: url("../images/bg02.jpg");
}

.datacenter-hero {
  background-image: url("../images/bg04.jpg");
}

.security-hero {
  background-image: url("../images/bg05.png");
}

.about-hero {
  background-image: url("../images/bg06.jpg");
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, .72);
}

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

.breadcrumb {
  margin-bottom: 12px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main,
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-main {
  overflow: hidden;
}

.detail-main img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.detail-carousel {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #eef3fa;
}

.detail-slides,
.detail-slide {
  width: 100%;
  height: 100%;
}

.detail-slide {
  display: none;
  object-fit: cover;
}

.detail-slide.active {
  display: block;
}

.detail-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(8, 21, 45, .58);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.detail-carousel-btn:hover {
  background: rgba(24, 100, 255, .86);
}

.detail-carousel-prev {
  left: 16px;
}

.detail-carousel-prev .icon {
  transform: rotate(180deg);
}

.detail-carousel-next {
  right: 16px;
}

.detail-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.detail-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, .72);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.detail-carousel-dot.active {
  width: 22px;
  background: #fff;
}

.detail-carousel.is-single .detail-carousel-btn,
.detail-carousel.is-single .detail-carousel-dots {
  display: none;
}

.detail-content {
  padding: 30px;
}

.side-card {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.capability-table {
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

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

.table th {
  background: #f7faff;
  font-weight: 800;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--ink);
  border-width: 0;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: none;
  padding-bottom: 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

textarea.field {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  min-height: 22px;
  color: var(--green);
  font-size: 13px;
}

.captcha-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.captcha-image {
  width: 156px;
  height: 44px;
  display: block;
  object-fit: cover;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.captcha-question {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--navy);
  font-weight: 700;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.captcha-field {
  min-width: 0;
}

.captcha-refresh {
  min-height: 42px;
  padding: 0 12px;
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  cursor: pointer;
}

.captcha-refresh:hover {
  background: #e2edff;
}

.site-footer {
  color: rgba(255,255,255,.74);
  background: #061226;
  padding: 52px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}

.copyright span {
  min-width: 0;
}

.admin-login {
  flex: 0 0 auto;
  color: rgba(255,255,255,.86);
}

.admin-login:hover {
  color: #fff;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-top.show {
  display: block;
}

.floating-contact {
  position: fixed;
  right: 22px;
  top: 48%;
  z-index: 70;
  display: inline-grid;
  place-items: center;
  align-items: center;
  gap: 3px;
  width: 58px;
  min-height: 68px;
  padding: 8px 0;
  color: #fff;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(24, 100, 255, .28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.floating-contact:hover {
  background: var(--blue-2);
}

.floating-contact .icon {
  font-size: 24px;
}

.floating-contact span {
  font-size: 13px;
  line-height: 1.1;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 8, 23, .58);
}

.contact-modal.open {
  display: flex;
}

.contact-dialog {
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: visible;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(2, 8, 23, .28);
}

.contact-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.contact-dialog-head h3 {
  margin: 0;
  font-size: 24px;
}

.contact-dialog-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 28px 28px;
}

.contact-person {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.contact-person-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-person h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.contact-qr-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--blue);
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.contact-qr-trigger .icon {
  font-size: 15px;
}

.contact-qr-trigger-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.contact-qr-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 3;
  display: none;
  width: 164px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .16);
}

.contact-qr-popover::before {
  position: absolute;
  right: 24px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  content: "";
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.contact-qr-popover img {
  width: 142px;
  height: 142px;
  object-fit: contain;
}

.contact-qr-popover span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.contact-person-head:hover .contact-qr-popover,
.contact-person.qr-open .contact-qr-popover {
  display: block;
}

.contact-person .role {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #2a364a;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
}

.contact-method span {
  min-width: 0;
}

.contact-email {
  gap: 0;
  align-items: center;
}

.contact-email .icon {
  margin-right: 8px;
}

.contact-email span:first-of-type {
  flex: 0 0 auto;
}

.contact-email-value {
  font-size: 12px;
  white-space: nowrap;
}

.contact-method .icon {
  color: var(--blue);
  font-size: 16px;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .hero-inner,
  .dc-showcase,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .grid-4,
  .certificate-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .dc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .floating-contact {
    right: 16px;
    top: auto;
    bottom: 76px;
    width: 54px;
    min-height: 62px;
    padding: 7px 0;
    border-radius: 8px;
  }

  .contact-modal {
    align-items: flex-start;
    overflow-y: auto;
  }

  .contact-dialog {
    max-height: none;
    margin: 24px 0;
    overflow: visible;
  }

  .contact-qr-popover {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .contact-qr-popover::before {
    display: none;
  }

  .contact-qr-popover img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-header.open .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-header.open .nav-item {
    display: block;
  }

  .site-header.open .nav-submenu {
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 10px;
    padding: 0 0 0 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-header.open .nav-submenu a {
    min-height: 42px;
    padding: 9px 10px 9px 14px;
    background: #f8fbff;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-image,
  .captcha-question,
  .captcha-refresh {
    width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 60px 0 96px;
  }

  .metrics,
  .grid-3,
  .grid-4,
  .certificate-grid,
  .dc-cards,
  .scenario,
  .process,
  .spec-list,
  .detail-content .spec-list,
  .contact-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .copyright {
    justify-content: flex-start;
  }

  .admin-login {
    display: none;
  }

  .section-head {
    display: block;
  }

  .dc-showcase-desc {
    white-space: normal;
  }

  .cta {
    padding: 34px 24px;
  }

  .quick-services {
    margin-top: -34px;
  }

  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-mini {
    min-height: 96px;
    padding: 16px 18px;
  }

  .service-mini:nth-child(2n) {
    border-right: 0;
  }

  .service-mini:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .service-mini .icon {
    font-size: 21px;
  }

  .service-mini strong {
    margin-top: 7px;
    font-size: 14px;
  }

  .service-mini span {
    font-size: 11px;
  }

  .home-dc-showcase .dc-photo {
    display: none;
  }
}
