@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --navy: #102b46;
  --blue: #176b9b;
  --cyan: #21b6bd;
  --ink: #183247;
  --muted: #617487;
  --pale: #eff8fb;
  --white: #fff;
  --line: #dce9ef;
  --shadow: 0 18px 55px rgba(16, 43, 70, 0.1);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: #fbfdfe;
  line-height: 1.65;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  margin: 0.5rem 0 1.2rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0.3rem 0 1rem;
}
h3 {
  font-size: 1.35rem;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.topline {
  background: var(--navy);
  color: #d9f5f6;
  font-size: 0.82rem;
  padding: 8px 0;
}
.topline .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 233, 239, 0.8);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Manrope;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
}
.brand img {
  width: 156px;
  height: auto;
  object-fit: contain;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  font-weight: 600;
  font-size: 0.92rem;
}
.navlinks a {
  transition: 0.25s;
}
.navlinks a:hover,
.navlinks a.active {
  color: var(--cyan);
}
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 700;
  border: 0;
  box-shadow: 0 10px 25px rgba(33, 182, 189, 0.2);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.btn:hover,
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(33, 182, 189, 0.28);
}
.btn.outline {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}
.menu {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  color: var(--navy);
  font-size: 1.3rem;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 90px;
  background:
    radial-gradient(circle at 85% 18%, #d7f5f5 0, transparent 28%),
    linear-gradient(135deg, #f7fcfd, #eaf6fa);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 45px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 99px;
  background: #e0f6f5;
  color: #167c83;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px #c9efed;
}
.hero p {
  font-size: 1.12rem;
  max-width: 590px;
}
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.trustline {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #526d80;
  font-size: 0.9rem;
  font-weight: 600;
}
.trustline span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-art {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}
.medical-orb {
  width: min(390px, 85vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #dff7f6, #b9e5ee);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow:
    inset -25px -25px 60px #9ed5e2,
    0 35px 80px rgba(23, 107, 155, 0.14);
  animation: float 6s ease-in-out infinite;
}
.medical-orb:before,
.medical-orb:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 107, 155, 0.18);
  border-radius: 50%;
  inset: -25px;
  animation: orbit 18s linear infinite;
}
.medical-orb:after {
  inset: -48px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 30s;
}
.cross {
  font-size: 9rem;
  color: white;
  text-shadow: 0 15px 30px rgba(23, 107, 155, 0.25);
  font-weight: 400;
}
.pulse-card {
  position: absolute;
  left: -5px;
  bottom: 55px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 17px 20px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite reverse;
}
.pulse-card small {
  color: var(--muted);
  font-weight: 700;
}
.pulse {
  width: 180px;
  height: 35px;
  display: block;
  margin-top: 7px;
}
.pulse path {
  stroke: var(--cyan);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: ecg 2.8s linear infinite;
}
.floating-tag {
  position: absolute;
  right: -8px;
  top: 55px;
  background: white;
  border-radius: 17px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--navy);
  animation: float 4.5s ease-in-out infinite;
}
.section {
  padding: 90px 0;
}
.section.soft {
  background: var(--pale);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-head p {
  font-size: 1.05rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card,
.info-card,
.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  box-shadow: 0 8px 28px rgba(16, 43, 70, 0.035);
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.service-card:hover,
.info-card:hover,
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #a7dfe0;
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(145deg, #e4f8f8, #e7f1fb);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  margin-bottom: 20px;
}
.service-card p {
  min-height: 75px;
}
.text-link {
  color: var(--blue);
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.text-link:hover {
  gap: 13px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.visual-panel {
  min-height: 360px;
  border-radius: 30px;
  background: linear-gradient(145deg, #dff6f5, #dceefa);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scan-frame {
  width: 220px;
  height: 270px;
  border: 2px solid rgba(23, 107, 155, 0.35);
  border-radius: 22px;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 20px 45px rgba(23, 107, 155, 0.1);
}
.scan-frame:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(23, 107, 155, 0.3);
  border-radius: 14px;
}
.scan-symbol {
  font-size: 6rem;
  color: var(--blue);
  animation: scanGlow 3s ease-in-out infinite;
}
.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: scan 3.5s ease-in-out infinite;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.check-list li {
  padding: 9px 0;
  color: #486276;
  display: flex;
  gap: 12px;
}
.check-list li:before {
  content: "✓";
  color: #159ba2;
  font-weight: 900;
}
.page-hero {
  padding: 75px 0 65px;
  background:
    radial-gradient(circle at 90% 0, #d9f5f4, transparent 32%),
    linear-gradient(130deg, #f4fafc, #eaf5f9);
}
.page-hero .container {
  max-width: 900px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.page-hero p {
  font-size: 1.1rem;
  max-width: 700px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 35px;
}
.stat {
  padding: 20px;
  border-radius: 18px;
  background: #f2fafb;
  text-align: center;
}
.stat strong {
  font: 800 1.8rem Manrope;
  color: var(--blue);
  display: block;
}
.cta-band {
  background: linear-gradient(110deg, var(--navy), #145879);
  border-radius: 30px;
  padding: 45px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band h2,
.cta-band p {
  color: white;
}
.cta-band h2 {
  max-width: 650px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.contact-list {
  display: grid;
  gap: 15px;
}
.contact-item {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 14px;
}
.contact-item b {
  display: block;
  color: var(--navy);
}
.contact-item span {
  color: var(--muted);
  font-size: 0.92rem;
}
.map-frame {
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 24px;
}
.review-placeholder {
  padding: 34px;
  border: 1px dashed #a9c8d4;
  border-radius: 22px;
  background: #f7fcfd;
  text-align: center;
}
.review-stars {
  color: #e6a52b;
  letter-spacing: 4px;
  font-size: 1.4rem;
}
.footer {
  background: #0c253c;
  color: #d8e9f0;
  padding: 60px 0 25px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer h3,
.footer h4 {
  color: white;
}
.footer p,
.footer a {
  color: #b7cbd6;
}
.footer a:hover {
  color: #53d0d0;
}
.footer-links {
  display: grid;
  gap: 9px;
}
.copyright {
  border-top: 1px solid #29445b;
  margin-top: 40px;
  padding-top: 20px;
  color: #8eabbc;
  font-size: 0.85rem;
}
.mobile-call {
  display: none;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.24s;
}
.delay-3 {
  transition-delay: 0.36s;
}
.blob {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(33, 182, 189, 0.09);
  filter: blur(1px);
  animation: blob 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ecg {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes scan {
  0%,
  100% {
    top: 12%;
  }
  50% {
    top: 85%;
  }
}
@keyframes scanGlow {
  0%,
  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px #70cbd0);
  }
}
@keyframes blob {
  to {
    transform: translate(60px, 35px) scale(1.3);
  }
}
@media (max-width: 900px) {
  .navlinks {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px 25px 28px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .navlinks.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 65px 0;
  }
  .hero-art {
    min-height: 350px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    display: block;
  }
  .cta-band .btn {
    margin-top: 15px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 30px, 1160px);
  }
  .topline .container {
    justify-content: center;
  }
  .nav {
    height: 72px;
  }
  .brand img {
    width: 130px;
  }
  .navlinks {
    top: 72px;
  }
  .hero {
    padding: 50px 0;
  }
  .hero-art {
    min-height: 290px;
  }
  .medical-orb {
    width: 250px;
  }
  .cross {
    font-size: 6rem;
  }
  .pulse-card {
    left: 0;
    bottom: 15px;
    padding: 12px;
  }
  .floating-tag {
    right: 0;
    top: 15px;
  }
  .section {
    padding: 65px 0;
  }
  .grid,
  .feature-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-card p {
    min-height: 0;
  }
  .page-hero {
    padding: 55px 0;
  }
  .cta-band {
    padding: 30px;
  }
  .mobile-call {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 60;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(16, 43, 70, 0.28);
  }
  .footer {
    padding-bottom: 90px;
  }
}

/* HomeX motion layer — refined clinical motion, reduced-motion friendly */
:root {
  --orange: #ed812e;
  --aqua: #38c7c3;
}
body {
  font-feature-settings: "ss01" on;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
::selection {
  background: #c9f3ef;
  color: #102b46;
}
.header {
  transition:
    box-shadow 0.35s,
    background 0.35s;
}
.header:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan), #78d8d1);
  transform: scaleX(0);
  transform-origin: left;
  animation: headerline 1.6s 0.3s ease forwards;
}
.brand img {
  filter: drop-shadow(0 5px 10px rgba(16, 43, 70, 0.08));
  transition: transform 0.35s;
}
.brand:hover img {
  transform: translateY(-2px) scale(1.025);
}
.hero {
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image: radial-gradient(#6bbfc8 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.hero h1 span {
  background: linear-gradient(100deg, var(--blue), var(--cyan), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientflow 6s ease-in-out infinite;
}
.eyebrow {
  animation: eyebrowin 0.7s both;
}
.service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  right: -90px;
  top: -95px;
  background: linear-gradient(135deg, #d5f6f3, #e6f1fa);
  transition: transform 0.55s;
}
.service-card:hover:before {
  transform: scale(2.3);
}
.service-icon {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s;
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 0 10px 24px rgba(33, 182, 189, 0.18);
}
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.65s;
}
.btn:hover:after {
  transform: translateX(120%);
}
.visual-panel {
  isolation: isolate;
}
.visual-panel:before,
.visual-panel:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 107, 155, 0.13);
  border-radius: 50%;
  width: 420px;
  height: 420px;
  animation: orbit 26s linear infinite;
  z-index: -1;
}
.visual-panel:after {
  width: 520px;
  height: 520px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 38s;
}
.scan-frame {
  animation: scanfloat 5s ease-in-out infinite;
}
.pulse-card,
.floating-tag {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "✚";
  position: absolute;
  right: 8%;
  top: 8%;
  font-size: clamp(8rem, 20vw, 17rem);
  font-weight: 300;
  color: rgba(33, 182, 189, 0.055);
  transform: rotate(14deg);
  animation: medfloat 9s ease-in-out infinite;
  pointer-events: none;
}
.contact-item {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
  border-color: #9bd9d9;
}
.review-placeholder {
  position: relative;
  overflow: hidden;
}
.review-placeholder:before {
  content: "";
  position: absolute;
  inset: -60% auto auto -10%;
  width: 120%;
  height: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 182, 189, 0.09),
    transparent
  );
  transform: rotate(-12deg);
  animation: shine 6s linear infinite;
}
.footer .brand img {
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
@keyframes headerline {
  to {
    transform: scaleX(1);
  }
}
@keyframes gradientflow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes eyebrowin {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scanfloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}
@keyframes medfloat {
  0%,
  100% {
    transform: translateY(0) rotate(14deg);
  }
  50% {
    transform: translateY(-22px) rotate(20deg);
  }
}
@keyframes shine {
  0% {
    transform: translateX(-60%) rotate(-12deg);
  }
  100% {
    transform: translateX(120%) rotate(-12deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium header, three-dot navigation and radiology showcase */
.header {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 35px rgba(16, 43, 70, 0.055);
}
.nav {
  height: 88px;
}
.navlinks {
  gap: 7px;
  padding: 7px;
  background: #f4f8fa;
  border: 1px solid #e5eef2;
  border-radius: 999px;
}
.navlinks a {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.navlinks a:hover {
  background: #e6f6f5;
  transform: translateY(-1px);
}
.navlinks a.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(16, 43, 70, 0.08);
}
.nav-cta {
  padding: 13px 22px;
  letter-spacing: 0.01em;
}
.menu {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
  border: 1px solid #dce9ef;
  box-shadow: 0 5px 15px rgba(16, 43, 70, 0.07);
  transition:
    transform 0.25s,
    background 0.25s;
}
.menu:hover {
  transform: rotate(90deg);
  background: #e9f8f7;
}
.menu .dots {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.menu .dots i {
  width: 4px;
  height: 4px;
  background: var(--navy);
  border-radius: 50%;
  display: block;
  transition:
    transform 0.25s,
    background 0.25s;
}
.menu:hover .dots i:nth-child(1) {
  transform: translateX(-2px);
}
.menu:hover .dots i:nth-child(3) {
  transform: translateX(2px);
}
.xray-showcase {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #22485b, #071725 75%);
  box-shadow: 0 28px 65px rgba(5, 28, 45, 0.22);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.xray-showcase:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(60, 205, 208, 0.12),
    transparent 65%
  );
  animation: xraySweep 5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
.xray-film {
  height: 430px;
  max-width: 84%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.12) brightness(1.08)
    drop-shadow(0 0 25px rgba(123, 227, 226, 0.18));
  opacity: 0.88;
  animation: filmDrift 8s ease-in-out infinite;
}
.xray-scanline {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 12%;
  height: 2px;
  background: #65f4e9;
  box-shadow:
    0 0 10px #65f4e9,
    0 0 28px #65f4e9;
  z-index: 3;
  animation: scanDown 4.5s ease-in-out infinite;
}
.xray-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #74e4e2;
  opacity: 0.8;
  z-index: 3;
}
.xray-corner.tl {
  top: 22px;
  left: 22px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.xray-corner.tr {
  top: 22px;
  right: 22px;
  border-top: 2px solid;
  border-right: 2px solid;
}
.xray-corner.bl {
  bottom: 22px;
  left: 22px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}
.xray-corner.br {
  bottom: 22px;
  right: 22px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}
.xray-label {
  position: absolute;
  left: 28px;
  bottom: 25px;
  color: #bcefed;
  font:
    600 0.72rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 4;
}
.xray-chip {
  position: absolute;
  right: 24px;
  top: 24px;
  color: #d9fffb;
  background: rgba(18, 72, 86, 0.72);
  border: 1px solid rgba(120, 232, 223, 0.3);
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  z-index: 4;
}
.medical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(100, 210, 215, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 210, 215, 0.22) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse, black, transparent 75%);
}
.hero-art .medical-orb {
  animation:
    float 5s ease-in-out infinite,
    orbGlow 6s ease-in-out infinite;
}
.hero-art .medical-orb:before {
  border-color: rgba(33, 182, 189, 0.3);
}
.service-card,
.info-card,
.review-card {
  transform-style: preserve-3d;
}
.reveal.visible {
  animation: revealPolish 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.footer {
  position: relative;
  overflow: hidden;
}
.footer:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -300px;
  border: 1px solid rgba(84, 211, 210, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(84, 211, 210, 0.025),
    0 0 0 75px rgba(84, 211, 210, 0.02);
}
@keyframes scanDown {
  0%,
  100% {
    top: 12%;
    opacity: 0.35;
  }
  50% {
    top: 87%;
    opacity: 1;
  }
}
@keyframes filmDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.018);
  }
}
@keyframes xraySweep {
  0%,
  100% {
    transform: translateX(-75%);
    opacity: 0.15;
  }
  50% {
    transform: translateX(75%);
    opacity: 0.65;
  }
}
@keyframes orbGlow {
  0%,
  100% {
    box-shadow:
      inset -25px -25px 60px #9ed5e2,
      0 35px 80px rgba(23, 107, 155, 0.14);
  }
  50% {
    box-shadow:
      inset -25px -25px 60px #9ed5e2,
      0 35px 95px rgba(33, 182, 189, 0.3);
  }
}
@keyframes revealPolish {
  from {
    filter: blur(3px);
  }
  to {
    filter: blur(0);
  }
}
@media (max-width: 900px) {
  .nav {
    height: 78px;
  }
  .menu {
    display: flex;
  }
  .navlinks {
    top: 78px;
    left: 12px;
    right: 12px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(16, 43, 70, 0.14);
    background: rgba(255, 255, 255, 0.98);
    padding: 14px;
    gap: 5px;
  }
  .navlinks a {
    width: 100%;
    border-radius: 12px;
  }
  .xray-showcase {
    min-height: 390px;
  }
  .xray-film {
    height: 350px;
  }
}
@media (max-width: 600px) {
  .nav {
    height: 72px;
  }
  .navlinks {
    top: 72px;
  }
  .xray-showcase {
    min-height: 330px;
    border-radius: 23px;
  }
  .xray-film {
    height: 290px;
    max-width: 90%;
  }
  .xray-label {
    font-size: 0.58rem;
    left: 17px;
    bottom: 17px;
  }
  .xray-chip {
    right: 14px;
    top: 14px;
    font-size: 0.6rem;
  }
}

/* Homepage hero — premium editorial entrance */
.hero {
  padding: 76px 0 82px;
  background: linear-gradient(128deg, #f8fcfd 0%, #edf8fa 48%, #e4f5f5 100%);
}
.hero:after {
  content: "";
  position: absolute;
  right: -10%;
  top: -45%;
  width: 690px;
  height: 690px;
  border: 1px solid rgba(29, 146, 166, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(29, 146, 166, 0.025),
    0 0 0 115px rgba(29, 146, 166, 0.02);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  position: relative;
  z-index: 1;
  gap: 52px;
}
.hero .eyebrow {
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 182, 189, 0.2);
  box-shadow: 0 7px 24px rgba(16, 43, 70, 0.045);
  letter-spacing: 0.11em;
}
.hero h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.3rem);
  line-height: 1.04;
  max-width: 690px;
  margin: 24px 0 20px;
}
.hero p {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #627789;
}
.hero-actions {
  gap: 12px;
  margin: 30px 0 24px;
}
.hero-actions .btn {
  min-height: 54px;
  padding-inline: 23px;
}
.trustline {
  gap: 10px;
}
.trustline span {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(207, 228, 235, 0.85);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
}
.hero-radiology-card {
  width: min(440px, 100%);
  padding: 13px;
  border-radius: 29px;
  background: linear-gradient(145deg, #173c52, #071a2a);
  box-shadow: 0 32px 75px rgba(8, 40, 58, 0.25);
  transform: rotate(1.5deg);
  position: relative;
  overflow: hidden;
  animation:
    heroCardEnter 1.15s cubic-bezier(0.16, 1, 0.3, 1) both,
    heroCardFloat 7s 1.2s ease-in-out infinite;
}
.hero-rad-top,
.hero-rad-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c7e9eb;
  font:
    600 0.62rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.12em;
  padding: 7px 9px;
}
.hero-rad-top span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-rad-top i,
.rad-status i {
  width: 6px;
  height: 6px;
  background: #52e1c9;
  border-radius: 50%;
  box-shadow: 0 0 12px #52e1c9;
  display: inline-block;
}
.hero-rad-top b {
  color: #7fa8b6;
  font-weight: 500;
}
.hero-rad-image {
  height: 300px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse, #254d5d, #061723 72%);
  display: grid;
  place-items: center;
}
.hero-rad-image:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(89, 213, 211, 0.12) 50%,
      transparent 50.2%
    ),
    linear-gradient(
      transparent 49.8%,
      rgba(89, 213, 211, 0.12) 50%,
      transparent 50.2%
    );
  background-size: 42px 42px;
  opacity: 0.5;
}
.hero-rad-image img {
  height: 285px;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15) brightness(1.2)
    drop-shadow(0 0 20px rgba(96, 220, 215, 0.17));
  opacity: 0.9;
  animation: radImageFloat 6s ease-in-out infinite;
}
.hero-rad-scan {
  position: absolute;
  z-index: 2;
  left: 4%;
  right: 4%;
  top: 5%;
  height: 2px;
  background: #5df4e3;
  box-shadow:
    0 0 10px #5df4e3,
    0 0 24px #5df4e3;
  animation: heroScan 4s ease-in-out infinite;
}
.rad-cross {
  position: absolute;
  color: #7de6dd;
  font-size: 19px;
  opacity: 0.65;
  z-index: 3;
}
.rad-a {
  top: 13px;
  left: 14px;
}
.rad-b {
  right: 14px;
  bottom: 13px;
}
.hero-rad-bottom {
  padding: 11px 9px 6px;
  color: #a4c4ce;
  letter-spacing: 0.08em;
}
.rad-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  color: #8de1d7;
}
.hero-float-note {
  position: absolute;
  left: -28px;
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid white;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(16, 43, 70, 0.13);
  animation: noteFloat 5s 1s ease-in-out infinite;
  backdrop-filter: blur(14px);
}
.note-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #e2f7f5;
  color: #148b91;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.hero-float-note b,
.hero-float-note small {
  display: block;
}
.hero-float-note b {
  font: 700 0.8rem "Space Grotesk";
  color: var(--navy);
}
.hero-float-note small {
  font-size: 0.65rem;
  color: #718797;
}
.hero-pulse-mini {
  position: absolute;
  right: -15px;
  top: 42px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid white;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(16, 43, 70, 0.1);
  backdrop-filter: blur(12px);
  animation: noteFloat 5.5s 1.5s ease-in-out infinite;
}
.hero-pulse-mini small {
  font: 600 0.52rem "Space Grotesk";
  letter-spacing: 0.12em;
  color: #6b8292;
}
.hero-pulse-mini svg {
  display: block;
  width: 115px;
  height: 24px;
}
.hero-pulse-mini path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: ecg 2.6s 0.8s linear infinite;
}
.hero .reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(5px);
}
.hero .reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
}
.hero .hero-art.reveal.visible {
  transition-delay: 0.22s;
}
.hero .eyebrow {
  animation: heroEyebrow 0.8s 0.15s both;
}
.hero .hero-actions .btn:first-child {
  animation: heroButtonIn 0.8s 0.65s both;
}
.hero .hero-actions .btn:last-child {
  animation: heroButtonIn 0.8s 0.8s both;
}
@keyframes heroCardEnter {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(5deg) scale(0.92);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg) scale(1);
    filter: blur(0);
  }
}
@keyframes heroCardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes heroScan {
  0%,
  100% {
    top: 5%;
    opacity: 0.35;
  }
  50% {
    top: 94%;
    opacity: 1;
  }
}
@keyframes radImageFloat {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.025) translateY(-4px);
  }
}
@keyframes noteFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes heroEyebrow {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroButtonIn {
  from {
    opacity: 0;
    transform: translateY(13px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 58px 0 68px;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero-art {
    min-height: 370px;
  }
  .hero-radiology-card {
    width: min(440px, 88%);
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 37px 0 42px;
  }
  .hero-grid {
    gap: 27px;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 10.1vw, 3.15rem);
    line-height: 1.07;
    margin: 17px 0 13px;
    letter-spacing: -0.055em;
  }
  .hero p {
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 0;
  }
  .hero .eyebrow {
    font-size: 0.66rem;
    padding: 7px 11px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 16px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 51px;
  }
  .trustline {
    gap: 7px;
  }
  .trustline span {
    font-size: 0.67rem;
    padding: 7px 9px;
  }
  .hero-art {
    min-height: 290px;
    margin: 0 5px;
  }
  .hero-radiology-card {
    width: 88%;
    padding: 9px;
    border-radius: 22px;
  }
  .hero-rad-image {
    height: 215px;
  }
  .hero-rad-image img {
    height: 205px;
  }
  .hero-rad-top,
  .hero-rad-bottom {
    font-size: 0.53rem;
  }
  .hero-float-note {
    left: -4px;
    bottom: 23px;
    padding: 9px 12px;
  }
  .hero-pulse-mini {
    right: -3px;
    top: 10px;
    padding: 9px 10px;
  }
  .hero-pulse-mini svg {
    width: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .reveal,
  .hero .hero-radiology-card,
  .hero .hero-float-note,
  .hero .hero-pulse-mini {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    translate: none !important;
  }
}

/* HOMEX V5 — deep teal, warm ivory and soft copper clinical-luxury system */
:root {
  --navy: #12343b;
  --blue: #176c70;
  --cyan: #38aaa3;
  --ink: #1c3940;
  --muted: #647b7d;
  --pale: #f2f6f2;
  --white: #fffdf9;
  --line: #dce7df;
  --shadow: 0 22px 60px rgba(18, 52, 59, 0.11);
  --accent: #dc874c;
  --accent-soft: #f8e9dc;
  --mint: #dff2eb;
}
body {
  background: #fcfbf7;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}
h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}
p {
  color: var(--muted);
}
.topline {
  background: #102d34;
  color: #e1f3ed;
}
.header {
  background: rgba(252, 251, 247, 0.91);
  border-bottom: 1px solid rgba(18, 52, 59, 0.08);
  box-shadow: 0 8px 30px rgba(18, 52, 59, 0.045);
}
.header.scrolled {
  box-shadow: 0 12px 38px rgba(18, 52, 59, 0.12);
  background: rgba(252, 251, 247, 0.97);
}
.navlinks {
  background: #f1f4ef;
  border: 1px solid #e4ebe3;
  border-radius: 999px;
  padding: 6px;
  gap: 5px;
}
.navlinks a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #496368;
}
.navlinks a.active {
  background: #fffdf9;
  color: #087e83;
  box-shadow: 0 4px 15px rgba(18, 52, 59, 0.08);
}
.nav-cta,
.btn {
  background: linear-gradient(115deg, #176c70, #38aaa3);
  box-shadow: 0 12px 27px rgba(23, 108, 112, 0.2);
  position: relative;
  overflow: hidden;
}
.nav-cta:before,
.btn:not(.outline):before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255, 255, 255, 0.28),
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.7s;
}
.nav-cta:hover:before,
.btn:not(.outline):hover:before {
  transform: translateX(130%);
}
.btn.outline {
  background: rgba(255, 253, 249, 0.82);
  border-color: #d5e3dc;
  color: var(--navy);
}
.hero {
  background:
    radial-gradient(
      ellipse at 82% 24%,
      rgba(56, 170, 163, 0.18),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 5% 95%,
      rgba(220, 135, 76, 0.1),
      transparent 32%
    ),
    linear-gradient(132deg, #fbfaf5 0%, #eef5ef 54%, #e5f2ec 100%);
}
.hero:before {
  opacity: 0.2;
  background-image: radial-gradient(#5eaaa1 1px, transparent 1px);
  background-size: 25px 25px;
}
.hero:after {
  border-color: rgba(23, 108, 112, 0.12);
  box-shadow:
    0 0 0 55px rgba(23, 108, 112, 0.025),
    0 0 0 115px rgba(23, 108, 112, 0.018);
}
.hero h1 span {
  background: linear-gradient(105deg, #087e83, #42b5a5, #dc874c);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientflow 5s ease-in-out infinite;
}
.hero .eyebrow,
.eyebrow {
  color: #087e83;
  background: rgba(255, 253, 249, 0.82);
  border-color: rgba(56, 170, 163, 0.22);
}
.hero-radiology-card {
  background: linear-gradient(145deg, #1b4850, #0a2028);
  box-shadow: 0 34px 80px rgba(11, 45, 49, 0.26);
}
.hero-rad-image {
  background: radial-gradient(ellipse, #315b60, #071b21 72%);
}
.hero-rad-scan,
.xray-scanline {
  background: #65e7d1;
  box-shadow:
    0 0 12px #65e7d1,
    0 0 30px #65e7d1;
}
.hero-float-note,
.hero-pulse-mini {
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(18, 52, 59, 0.14);
}
.note-icon {
  background: #e2f2e9;
  color: #087e83;
}
.hero-pulse-mini path {
  stroke: #dc874c;
}
.section {
  padding: 94px 0;
}
.section.soft {
  background: linear-gradient(135deg, #f1f6f0, #e9f3ed);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head:after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #38aaa3, #dc874c);
}
.service-card,
.info-card,
.contact-item,
.review-placeholder {
  background: #fffdf9;
  border: 1px solid #e4ebe3;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(18, 52, 59, 0.055);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s,
    border-color 0.3s;
}
.service-card:hover,
.info-card:hover,
.contact-item:hover {
  transform: translateY(-9px);
  border-color: #a9d6c9;
  box-shadow: 0 25px 55px rgba(18, 52, 59, 0.13);
}
.service-icon {
  background: linear-gradient(145deg, #e4f4ec, #f8e9dc);
  color: #087e83;
  border-radius: 17px;
}
.text-link {
  color: #087e83;
}
.page-hero {
  background:
    radial-gradient(
      ellipse at 90% 15%,
      rgba(56, 170, 163, 0.16),
      transparent 35%
    ),
    linear-gradient(135deg, #f8f8f1, #eaf3ed);
  padding: 76px 0 72px;
}
.page-hero h1 {
  max-width: 850px;
}
.page-hero:after {
  color: rgba(8, 126, 131, 0.07);
}
.breadcrumb {
  color: #758b85;
}
.breadcrumb a {
  color: #087e83;
}
.cta-band {
  background:
    radial-gradient(
      circle at 85% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 30%
    ),
    linear-gradient(120deg, #12343b, #176c70 65%, #238e89);
  border-radius: 30px;
  box-shadow: 0 28px 65px rgba(18, 52, 59, 0.2);
  position: relative;
  overflow: hidden;
}
.cta-band:after {
  content: "✚";
  position: absolute;
  right: 20%;
  top: -85px;
  font-size: 240px;
  color: rgba(255, 255, 255, 0.055);
  animation: slowMedicalFloat 12s ease-in-out infinite;
}
.footer {
  background: #102d34;
}
.footer h4 {
  color: #eaf5ef;
}
.footer p,
.footer-links {
  color: #b8cfca;
}
.footer .brand img {
  background: #fffdf9;
  border-radius: 9px;
}
.xray-showcase {
  background: radial-gradient(circle at 50% 45%, #315b60, #071b21 75%);
  box-shadow: 0 30px 75px rgba(11, 45, 49, 0.2);
}
.xray-chip {
  background: rgba(15, 77, 75, 0.76);
  border-color: rgba(120, 232, 205, 0.3);
}
.xray-corner {
  color: #71e3cc;
}
.check-list li:before {
  color: #0b9186;
}
.mobile-call {
  background: linear-gradient(110deg, #176c70, #38aaa3);
}
/* Layered entrance, scroll choreography and section atmosphere */
main {
  overflow: clip;
}
.section {
  position: relative;
  isolation: isolate;
}
.section:not(.soft):nth-of-type(even) {
  background: linear-gradient(180deg, #fcfbf7, #f8f8f1);
}
.section:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  top: 12%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(56, 170, 163, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(56, 170, 163, 0.025),
    0 0 0 50px rgba(56, 170, 163, 0.018);
  pointer-events: none;
}
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.85s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}
.grid .reveal:nth-child(5) {
  transition-delay: 0.32s;
}
.section-head h2 {
  animation: headingTracking 1.1s both;
}
.service-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    130deg,
    rgba(56, 170, 163, 0.07),
    transparent 45%,
    rgba(220, 135, 76, 0.055)
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover:after {
  opacity: 1;
}
.service-card .service-icon {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s;
}
.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-9deg) scale(1.08);
  box-shadow: 0 12px 25px rgba(56, 170, 163, 0.17);
}
.hero {
  min-height: 690px;
}
.hero-grid {
  perspective: 1200px;
}
.hero-radiology-card {
  animation:
    heroCardEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both,
    heroCardFloat 7s 1.2s ease-in-out infinite,
    cardGlow 7s 1.5s ease-in-out infinite;
}
.hero-rad-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 15%,
    rgba(104, 235, 210, 0.12) 48%,
    transparent 75%
  );
  transform: translateX(-120%);
  animation: radarLight 5s 1.2s ease-in-out infinite;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(56, 170, 163, 0.22);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit 28s linear infinite;
}
.hero-art:before {
  width: 470px;
  height: 470px;
  top: -20px;
  left: 0;
}
.hero-art:after {
  width: 540px;
  height: 540px;
  top: -55px;
  left: -35px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 42s;
}
.hero-float-note {
  animation:
    noteFloat 5s 1s ease-in-out infinite,
    fadeSlideIn 0.8s 0.8s both;
}
.hero-pulse-mini {
  animation:
    noteFloat 5.5s 1.5s ease-in-out infinite,
    fadeSlideIn 0.8s 1s both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc874c;
  box-shadow: 0 0 0 5px rgba(220, 135, 76, 0.12);
  animation: dotBeat 2s infinite;
}
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc874c, #38aaa3);
  z-index: 1000;
  box-shadow: 0 0 12px rgba(56, 170, 163, 0.55);
}
@keyframes radarLight {
  0%,
  100% {
    transform: translateX(-120%);
  }
  55% {
    transform: translateX(120%);
  }
}
@keyframes cardGlow {
  0%,
  100% {
    box-shadow: 0 34px 80px rgba(11, 45, 49, 0.23);
  }
  50% {
    box-shadow: 0 34px 95px rgba(23, 108, 112, 0.36);
  }
}
@keyframes slowMedicalFloat {
  0%,
  100% {
    transform: translateY(0) rotate(12deg);
  }
  50% {
    transform: translateY(18px) rotate(22deg);
  }
}
@keyframes dotBeat {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(220, 135, 76, 0.1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 135, 76, 0.04);
  }
}
@keyframes headingTracking {
  from {
    letter-spacing: -0.09em;
    opacity: 0.4;
  }
  to {
    letter-spacing: -0.045em;
    opacity: 1;
  }
}
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: unset;
  }
  .hero-art:before {
    width: 390px;
    height: 390px;
    left: 5%;
  }
  .hero-art:after {
    width: 440px;
    height: 440px;
    left: 0;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 65px 0;
  }
  .page-hero {
    padding: 52px 0 48px;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .hero {
    padding: 43px 0 52px;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10.5vw, 3.25rem);
    line-height: 1.04;
  }
  .hero-art:before {
    width: 300px;
    height: 300px;
    left: 8%;
    top: 5px;
  }
  .hero-art:after {
    width: 350px;
    height: 350px;
    left: 2%;
    top: -20px;
  }
  .service-card,
  .info-card {
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* HOMEX V6 — premium hospital-tech visual system */
:root {
  --navy: #101d31;
  --blue: #2457a6;
  --cyan: #4b8fe8;
  --ink: #182a40;
  --muted: #66768b;
  --pale: #eef3f9;
  --white: #ffffff;
  --line: #dce5ef;
  --shadow: 0 22px 65px rgba(16, 29, 49, 0.12);
  --accent: #72c8c0;
  --accent-soft: #e5f4f2;
  --mint: #e9f3f7;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: #f7f9fc;
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  color: var(--navy);
}
p {
  color: #66768b;
}
.topline {
  background: #101d31;
  color: #dbe7f5;
}
.header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 239, 0.8);
  box-shadow: 0 8px 30px rgba(16, 29, 49, 0.045);
}
.header:after {
  background: linear-gradient(90deg, #2457a6, #72c8c0, #a8c8ef);
}
.nav {
  position: relative;
  height: 82px;
}
.brand img {
  width: 154px;
  max-height: 58px;
  object-fit: contain;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.header-whatsapp,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.header-whatsapp {
  color: #147d66;
  background: #e9f7f1;
  border: 1px solid #ccebdd;
}
.header-whatsapp:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(16, 29, 49, 0.13);
}
.nav-cta,
.btn {
  background: linear-gradient(115deg, #173c78, #2d6cc4);
  box-shadow: 0 12px 28px rgba(36, 87, 166, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn.outline {
  background: #fff;
  color: #1b365d;
  border: 1px solid #d8e2ee;
  box-shadow: 0 6px 18px rgba(16, 29, 49, 0.045);
}
.btn:focus-visible,
.menu:focus-visible,
a:focus-visible {
  outline: 3px solid #77b8f2;
  outline-offset: 3px;
}
.menu {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #dce5ef;
  box-shadow: 0 5px 15px rgba(16, 29, 49, 0.07);
}
.menu .dots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu .dots i {
  width: 4px;
  height: 4px;
  background: #18385f;
  border-radius: 50%;
  display: block;
}
.menu[aria-expanded="true"] {
  background: #edf4fc;
  border-color: #b9cde7;
}
.menu[aria-expanded="true"] .dots i:nth-child(2) {
  transform: scaleX(1.8);
}
.menu-actions {
  display: none;
}
.hero {
  padding: 80px 0 88px;
  background:
    radial-gradient(
      ellipse at 84% 20%,
      rgba(75, 143, 232, 0.16),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 7% 92%,
      rgba(114, 200, 192, 0.13),
      transparent 34%
    ),
    linear-gradient(135deg, #fbfcfe 0%, #edf3fa 55%, #e9f3f7 100%);
}
.hero:before {
  opacity: 0.22;
  background-image: radial-gradient(#7ba5d4 1px, transparent 1px);
  background-size: 27px 27px;
}
.hero:after {
  border-color: rgba(36, 87, 166, 0.12);
  box-shadow:
    0 0 0 58px rgba(36, 87, 166, 0.025),
    0 0 0 118px rgba(36, 87, 166, 0.018);
}
.hero-grid {
  gap: clamp(28px, 5vw, 65px);
}
.hero .eyebrow {
  color: #2457a6;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dce7f4;
  box-shadow: 0 8px 25px rgba(16, 29, 49, 0.055);
}
.hero .eyebrow:before {
  background: #72c8c0;
  box-shadow: 0 0 0 5px rgba(114, 200, 192, 0.18);
}
.hero h1 span {
  background: linear-gradient(105deg, #2457a6, #4b8fe8, #48aaa4);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientflow 6s ease infinite;
}
.hero p {
  color: #5e7188;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  max-width: 100%;
  width: 100%;
}
.hero-actions .btn {
  min-height: 54px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.hero-actions .btn:first-child {
  min-width: 210px;
}
.hero-actions .btn.outline {
  min-width: 180px;
}
.trustline {
  gap: 9px;
}
.trustline span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dce7f0;
  border-radius: 999px;
  padding: 9px 12px;
  color: #536b83;
}
.hero-radiology-card {
  background: linear-gradient(145deg, #193958, #0b192c);
  box-shadow: 0 34px 82px rgba(13, 35, 62, 0.26);
}
.hero-rad-image {
  background: radial-gradient(ellipse, #2b506a, #07182a 72%);
}
.hero-rad-scan,
.xray-scanline {
  background: #75e2d4;
  box-shadow:
    0 0 12px #75e2d4,
    0 0 30px #75e2d4;
}
.hero-float-note,
.hero-pulse-mini {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(16, 29, 49, 0.13);
}
.note-icon {
  background: #e6f2fb;
  color: #2457a6;
}
.hero-pulse-mini path {
  stroke: #4b8fe8;
}
.section {
  background: #f7f9fc;
}
.section.soft {
  background: linear-gradient(135deg, #eef3f8, #e8f2f6);
}
.section:before {
  border-color: rgba(75, 143, 232, 0.1);
  box-shadow:
    0 0 0 25px rgba(75, 143, 232, 0.02),
    0 0 0 52px rgba(75, 143, 232, 0.015);
}
.section-head:after {
  background: linear-gradient(90deg, #2457a6, #72c8c0);
}
.service-card,
.info-card,
.contact-item,
.review-placeholder {
  background: #fff;
  border: 1px solid #e1e8f0;
  box-shadow: 0 12px 34px rgba(16, 29, 49, 0.055);
}
.service-card:hover,
.info-card:hover,
.contact-item:hover {
  border-color: #b8cce5;
  box-shadow: 0 26px 58px rgba(16, 29, 49, 0.13);
}
.service-icon {
  background: linear-gradient(145deg, #e6f0fb, #e4f4f1);
  color: #2457a6;
}
.text-link,
.breadcrumb a {
  color: #2457a6;
}
.page-hero {
  background:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(75, 143, 232, 0.15),
      transparent 34%
    ),
    linear-gradient(135deg, #f9fbfd, #eaf1f8);
}
.page-hero:after {
  color: rgba(36, 87, 166, 0.06);
}
.cta-band {
  background:
    radial-gradient(
      circle at 88% 5%,
      rgba(114, 200, 192, 0.23),
      transparent 28%
    ),
    linear-gradient(120deg, #101d31, #193d68 68%, #2457a6);
  box-shadow: 0 28px 65px rgba(16, 29, 49, 0.2);
}
.footer {
  background: #101d31;
}
.footer h4 {
  color: #f2f6fc;
}
.footer p,
.footer-links {
  color: #b8c7d9;
}
.xray-showcase {
  background: radial-gradient(circle at 50% 45%, #294c67, #07182a 75%);
}
.xray-chip {
  background: rgba(36, 87, 166, 0.72);
}
.xray-corner {
  color: #75dccc;
}
.mobile-call {
  display: none !important;
}

/* Fix mobile navigation: contained dropdown, no pill-shaped giant overlay. */
@media (max-width: 900px) {
  .nav {
    height: 76px;
    gap: 14px;
  }
  .brand img {
    width: 140px;
  }
  .header-actions {
    display: none;
  }
  .menu {
    display: flex;
    flex: 0 0 46px;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    z-index: 100;
    background: rgba(255, 255, 255, 0.985);
    border: 1px solid #dce5ef;
    border-radius: 22px;
    padding: 10px;
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 24px 65px rgba(16, 29, 49, 0.18);
    backdrop-filter: blur(20px);
  }
  .navlinks.open {
    display: flex;
    animation: menuDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .navlinks a {
    display: flex;
    align-items: center;
    min-height: 46px;
    width: 100%;
    padding: 10px 15px;
    border-radius: 13px;
    color: #30465e;
    font-weight: 650;
  }
  .navlinks a.active {
    background: #edf4fc;
    color: #2457a6;
    box-shadow: inset 3px 0 #4b8fe8;
  }
  .menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 3px 3px;
  }
  .menu-actions a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 10px;
    border-radius: 13px;
    font-size: 0.82rem;
    font-weight: 750;
  }
  .menu-wa {
    background: #e8f6ef;
    color: #137b62;
    border: 1px solid #cce9dc;
  }
  .menu-call {
    background: #183c70;
    color: #fff;
    border: 1px solid #183c70;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 55px 0 62px;
  }
  .hero-art {
    min-height: 360px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
    max-width: 1160px;
  }
  .topline {
    font-size: 0.72rem;
  }
  .topline .container {
    justify-content: center;
    text-align: center;
  }
  .nav {
    height: 68px;
  }
  .brand img {
    width: 132px;
    max-height: 50px;
  }
  .navlinks {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 19px;
    padding: 9px;
  }
  .navlinks a {
    min-height: 44px;
  }
  .menu {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .hero {
    padding: 38px 0 46px;
  }
  .hero-grid {
    gap: 23px;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 9.4vw, 3.1rem);
    line-height: 1.055;
    margin: 17px 0 14px;
  }
  .hero p {
    font-size: 0.94rem;
    line-height: 1.68;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 19px 0 15px;
  }
  .hero-actions .btn,
  .hero-actions .btn:first-child,
  .hero-actions .btn.outline {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 15px;
  }
  .trustline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .trustline span {
    font-size: 0.65rem;
    padding: 7px 9px;
  }
  .hero-art {
    min-height: 285px;
    margin: 4px 0 0;
  }
  .hero-radiology-card {
    width: 88%;
    max-width: 390px;
    padding: 9px;
  }
  .hero-rad-image {
    height: 208px;
  }
  .hero-rad-image img {
    height: 198px;
  }
  .hero-float-note {
    left: -2px;
    bottom: 14px;
    padding: 9px 11px;
  }
  .hero-pulse-mini {
    right: -2px;
    top: 0;
    padding: 8px 10px;
  }
  .hero-pulse-mini svg {
    width: 85px;
  }
  .section {
    padding: 58px 0;
  }
  .page-hero {
    padding: 47px 0 43px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .cta-band {
    padding: 25px 21px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cta-band .btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: normal;
  }
  .service-card,
  .info-card,
  .contact-item {
    border-radius: 20px;
  }
  .mobile-contact-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(210, 222, 235, 0.95);
    border-radius: 19px;
    box-shadow: 0 12px 38px rgba(16, 29, 49, 0.19);
    backdrop-filter: blur(18px);
  }
  .mobile-contact-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 13px;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .dock-whatsapp {
    background: #e8f6ef;
    color: #137b62;
    border: 1px solid #cce9dc;
  }
  .dock-call {
    background: linear-gradient(110deg, #173c78, #2d6cc4);
    color: #fff;
    box-shadow: 0 6px 16px rgba(36, 87, 166, 0.18);
  }
  .wa-mark {
    font-size: 1rem;
  }
  .footer {
    padding-bottom: 100px;
  }
}
@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Premium first-visit brand reveal */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, #203d61, #101d31 68%);
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}
.site-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: introRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-inner img {
  width: min(260px, 65vw);
  height: auto;
  background: #fff;
  border-radius: 13px;
  padding: 10px 15px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}
.intro-inner p {
  margin: 0;
  color: #d9e7f8;
  font:
    600 0.66rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.22em;
}
.intro-pulse {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.intro-pulse span {
  width: 3px;
  height: 8px;
  border-radius: 5px;
  background: #72d4cc;
  animation: introBars 0.8s ease-in-out infinite alternate;
}
.intro-pulse span:nth-child(2),
.intro-pulse span:nth-child(4) {
  animation-delay: 0.15s;
}
.intro-pulse span:nth-child(3) {
  height: 18px;
  animation-delay: 0.3s;
}
.intro-pulse span:nth-child(5) {
  animation-delay: 0.45s;
}
@keyframes introRise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes introBars {
  to {
    height: 18px;
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro {
    display: none;
  }
  .intro-inner {
    animation: none;
  }
}

/* Mobile contact dock stays fixed and contained only on small screens. */
.mobile-contact-dock {
  display: none;
}