
:root {
  --blue-deep: #032e9c;
  --blue: #0a63ff;
  --cyan: #4ddcff;
  --white: #ffffff;
  --muted: rgba(255,255,255,.74);
  --glass: rgba(43, 139, 255, .16);
  --glass-strong: rgba(28, 123, 255, .28);
  --border: rgba(255,255,255,.28);
  --shadow: 0 22px 80px rgba(0, 72, 255, .36);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #0037b8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(0,33,127,.42), rgba(0,70,190,.2)),
    url("../img/background-medical-blue.png") center center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(90,220,255,.18), transparent 28%),
    radial-gradient(circle at 12% 55%, rgba(75,214,255,.12), transparent 24%),
    linear-gradient(180deg, rgba(0,18,88,.35), rgba(0,25,120,.06));
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 30;
  border-bottom: 1px solid rgba(120,200,255,.22);
  background: rgba(0, 42, 145, .66);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: var(--max);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(75,220,255,.42));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-text strong {
  font-size: 22px;
  letter-spacing: .08em;
  font-weight: 850;
}
.brand-text span {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.68);
  letter-spacing: .20em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 750;
}
.nav-links a {
  position: relative;
  padding: 27px 0;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #8af4ff, #ffffff, #8af4ff, transparent);
  box-shadow: 0 0 18px rgba(124,239,255,.95);
  transition: width .32s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  background: #a8f8ff;
  box-shadow: 0 0 22px 8px rgba(106,232,255,.7);
  transition: transform .32s ease;
}
.nav-links a:hover::before, .nav-links a.active::before { width: 82px; }
.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 750;
}
.lang-btn.active {
  color: #023298;
  background: rgba(255,255,255,.92);
}
.main { min-height: 100vh; padding-top: 76px; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 84px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.hero-logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(82,219,255,.48));
  margin-bottom: 20px;
}
.kicker {
  color: rgba(255,255,255,.78);
  margin-bottom: 14px;
  font-size: 15px;
  letter-spacing: .04em;
}
.title {
  margin: 0;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 1;
  letter-spacing: .10em;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(123,226,255,.4), 0 8px 30px rgba(0, 28, 128, .34);
}
.hero-subtitle {
  margin: 24px 0 0;
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: .18em;
  color: rgba(255,255,255,.88);
}
.hero-text {
  margin: 22px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,51,160,.16);
}
.btn.primary {
  background: linear-gradient(135deg, rgba(60,172,255,.86), rgba(14,97,255,.86));
  border-color: rgba(255,255,255,.36);
}
.hero-panel {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(84,178,255,.28), rgba(0,91,255,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 20px 70px rgba(0,54,170,.26);
  backdrop-filter: blur(18px);
  padding: 30px;
}
.hero-panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
}
.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.hero-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,.78);
}
.hero-panel li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px; height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: #9df5ff;
  box-shadow: 0 0 18px rgba(127,241,255,.85);
}
.page-hero {
  padding: 78px 0 24px;
  text-align: center;
}
.page-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(82,219,255,.48));
  margin-bottom: 16px;
}
.page-title {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: .08em;
  font-weight: 900;
}
.page-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}
.section { padding: 44px 0; }
.glass-panel {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  background: rgba(0,46,150,.32);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 80px rgba(0,52,180,.22);
  padding: 32px;
}
.glass-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .04em;
}
.glass-panel p, .glass-panel li {
  color: rgba(255,255,255,.78);
  font-size: 17px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 190px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  padding: 24px;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.30) 45%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .9s ease;
}
.service-card:hover::after { transform: translateX(120%); }
.service-card img {
  width: 48px; height: 48px; object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 9px rgba(141,240,255,.52));
}
.service-card h3 { margin: 16px 0 8px; font-size: 21px; position: relative; z-index: 1; }
.service-card p { margin: 0; color: rgba(255,255,255,.74); position: relative; z-index: 1; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
  gap: 34px;
  margin-top: 30px;
}
.download-card {
  position: relative;
  padding: 24px 28px 26px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(84,178,255,.34), rgba(0,91,255,.20));
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 16px 50px rgba(0,54,170,.28);
  backdrop-filter: blur(18px);
  overflow: hidden;
  text-align: center;
}
.download-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 42%, transparent 62%);
  transform: translateX(-100%);
  animation: cardSweep 5.2s infinite;
}
@keyframes cardSweep {
  0%, 35% { transform: translateX(-115%); }
  62%, 100% { transform: translateX(115%); }
}
.download-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 650;
  margin-bottom: 18px;
}
.platform-icon {
  width: 28px; height: 28px; object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(122,232,255,.55));
}
.qr-wrap {
  position: relative;
  width: 198px; height: 198px;
  margin: 0 auto 18px;
  padding: 13px;
  border-radius: 17px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 0 28px rgba(106,232,255,.52), 0 14px 36px rgba(0,0,0,.16);
}
.qr-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 23px;
  border: 1px solid rgba(135,231,255,.35);
}
.qr { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.scan-text { font-size: 17px; color: rgba(255,255,255,.92); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 26px;
}
.info-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.info-icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 18px rgba(120,225,255,.22);
}
.info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(141,240,255,.36));
}
.info-item strong { display: block; margin-bottom: 4px; }
.info-item span { color: rgba(255,255,255,.74); }
.site-footer {
  padding: 24px 22px 26px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(0,26,96,.72);
  backdrop-filter: blur(16px);
  text-align: center;
  color: rgba(255,255,255,.74);
  font-size: 14px;
}
.footer-line { margin: 6px 0; }
.record-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.police-record { display: inline-flex; align-items: center; gap: 6px; }
.police-record img { width: 18px; height: 18px; object-fit: contain; }
.site-footer a:hover { color: #fff; }
@media (max-width: 1040px) {
  .nav { grid-template-columns: 1fr auto; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav-links { grid-column: 1 / -1; justify-content: flex-start; gap: 22px; overflow-x: auto; }
  .lang-switch { justify-self: end; }
  .main { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; max-width: 390px; margin-inline: auto; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-text strong { font-size: 18px; }
  .title { font-size: 48px; }
  .hero { padding-top: 50px; }
  .service-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 42px; }
}


/* v8 refinements */
.about-page-tight .page-hero {
  padding-bottom: 8px;
}

.about-page-tight .section {
  padding-top: 20px;
  padding-bottom: 58px;
}

.about-page-tight .glass-panel p {
  line-height: 1.92;
  margin: 14px 0;
}

/* v8 services card refinements */
.service-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card h3 {
  margin-top: 20px;
  margin-bottom: 12px;
}

.service-card p {
  line-height: 1.86;
}

/* Automatic staggered sweep for service cards */
.service-card::after {
  animation: serviceAutoSweep 8.8s infinite;
  transition: none;
}

.service-card:hover::after {
  transform: none;
}

.service-card:nth-child(1)::after { animation-delay: 0s; }
.service-card:nth-child(2)::after { animation-delay: 1.8s; }
.service-card:nth-child(3)::after { animation-delay: 3.6s; }
.service-card:nth-child(4)::after { animation-delay: 5.4s; }

@keyframes serviceAutoSweep {
  0% { transform: translateX(-125%); }
  10% { transform: translateX(125%); }
  100% { transform: translateX(125%); }
}




.contact-page .info-item {
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-top: 0;
  padding-bottom: 14px;
}

.contact-page .info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}


@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .nav {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 18px;
    column-gap: 12px;
    min-height: auto;
    padding: 14px 20px 18px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100vw - 132px);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 20px;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .brand-text span {
    margin-top: 7px;
    font-size: 11px;
    letter-spacing: .28em;
    white-space: nowrap;
  }

  .lang-switch {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    transform: translateY(2px);
  }

  .lang-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    justify-content: stretch;
    overflow: visible;
    font-size: 16px;
  }

  .nav-links a {
    text-align: center;
    padding: 16px 0 18px;
    white-space: nowrap;
    overflow: visible;
  }

  .nav-links a::before,
  .nav-links a:hover::before,
  .nav-links a.active::before {
    width: 46px;
    max-width: calc(100% - 10px);
    bottom: 0;
  }

  .nav-links a::after,
  .nav-links a:hover::after,
  .nav-links a.active::after {
    bottom: -5px;
  }

  .main {
    padding-top: 154px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }

  .glass-panel {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    overflow: hidden;
  }

  .info-grid {
    width: 100%;
    max-width: 100%;
  }

  .info-item {
    min-width: 0;
  }

  .info-item > div:last-child,
  .info-item span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-page .glass-panel {
    padding: 24px 22px;
  }

  .contact-page .info-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

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

  .brand-text span {
    font-size: 10px;
    letter-spacing: .24em;
  }

  .nav-links {
    font-size: 15px;
  }

  .nav-links a::before,
  .nav-links a:hover::before,
  .nav-links a.active::before {
    width: 40px;
  }

  .main {
    padding-top: 150px;
  }

  .title {
    font-size: 46px;
    letter-spacing: .08em;
  }

  .hero-subtitle {
    font-size: 25px;
    letter-spacing: .15em;
  }

  .hero-text {
    font-size: 18px;
  }
}


.company-proof {
  margin-top: 34px;
}

.company-proof .glass-panel {
  padding: 28px 30px;
}

.company-proof h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: .04em;
}

.company-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.company-proof-item {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 12px;
  min-width: 0;
}

.company-proof-item strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.96);
}

.company-proof-item span {
  display: block;
  color: rgba(255,255,255,.74);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-operator {
  color: rgba(255,255,255,.78);
}

.terms-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.terms-list p {
  margin: 0;
}

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

  .company-proof .glass-panel {
    padding: 24px 22px;
  }
}

.kicker-sub {
  margin: -8px 0 14px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  letter-spacing: .03em;
}


.nav {
  grid-template-columns: auto 1fr;
}

@media (max-width: 760px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .brand {
    max-width: 100%;
  }
}
