:root {
  --navy: #061322;
  --blue: #1385bc;
  --teal: #1bc2ad;
  --white: #fff;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: var(--navy);
}

.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 92px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.brand { width: 166px; display: block; }
.brand img { display: block; width: 100%; height: 68px; object-fit: contain; object-position: left center; }

.header-link {
  color: #d6e0e8;
  font-size: 13px;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.header-link:hover { color: var(--teal); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-image { z-index: -4; object-fit: cover; object-position: center; }

.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 14, 27, .99) 0%, rgba(4, 14, 27, .94) 38%, rgba(4, 14, 27, .48) 70%, rgba(4, 14, 27, .3)),
    linear-gradient(0deg, rgba(4, 14, 27, .9), transparent 48%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  width: 420px;
  height: 420px;
  right: -170px;
  top: 10%;
  background: rgba(27, 194, 173, .12);
  box-shadow: 0 0 150px rgba(27, 194, 173, .15);
}

.ambient-two {
  width: 260px;
  height: 260px;
  left: 44%;
  bottom: -180px;
  background: rgba(19, 133, 188, .16);
  box-shadow: 0 0 130px rgba(19, 133, 188, .2);
}

.medical-motion {
  position: absolute;
  inset: 92px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 35%, #000 57%);
}

.scan-line {
  position: absolute;
  top: -15%;
  right: 0;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(70, 231, 216, .7), transparent);
  box-shadow: 0 0 18px rgba(70, 231, 216, .45), 0 22px 55px rgba(19, 133, 188, .13);
  opacity: .55;
  animation: diagnostic-scan 7s ease-in-out infinite;
}

.scan-line::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline: 0;
  height: 90px;
  background: linear-gradient(rgba(27, 194, 173, .08), transparent);
}

.ecg-line {
  position: absolute;
  right: 4%;
  bottom: 17%;
  width: min(48vw, 760px);
  height: 90px;
  overflow: visible;
  opacity: .8;
}

.ecg-line path { fill: none; vector-effect: non-scaling-stroke; }

.ecg-track { stroke: rgba(97, 218, 209, .1); stroke-width: 1; }

.ecg-pulse {
  stroke: url("#ecg-gradient");
  stroke: #54d8cf;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: .12 .88;
  filter: drop-shadow(0 0 5px rgba(84, 216, 207, .75));
  animation: ecg-travel 4.2s linear infinite;
}

.bio-particle {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(86, 221, 211, .2);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(179, 74, 148, .5) 0 5%, rgba(27, 194, 173, .15) 7% 20%, transparent 22%);
  box-shadow: inset 0 0 24px rgba(27, 194, 173, .08), 0 0 30px rgba(19, 133, 188, .08);
  animation: cell-drift 9s ease-in-out infinite;
}

.bio-particle::before,
.bio-particle::after,
.bio-particle i {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(116, 231, 222, .55);
  box-shadow: 0 0 8px rgba(116, 231, 222, .5);
}

.bio-particle::before { left: 10%; top: 28%; }
.bio-particle::after { right: 5%; bottom: 25%; }
.bio-particle i { right: 24%; top: 5%; }
.particle-one { right: 13%; top: 17%; }
.particle-two { right: 35%; top: 40%; width: 42px; height: 42px; animation-delay: -3s; animation-duration: 7s; }
.particle-three { right: 7%; bottom: 10%; width: 54px; height: 54px; animation-delay: -6s; animation-duration: 11s; }

@keyframes diagnostic-scan {
  0%, 10% { transform: translateY(0); opacity: 0; }
  20% { opacity: .55; }
  80% { opacity: .45; }
  90%, 100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes ecg-travel {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes cell-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  45% { transform: translate3d(-15px, 22px, 0) rotate(10deg); }
  75% { transform: translate3d(8px, 10px, 0) rotate(-5deg); }
}

.hero-content {
  width: min(1180px, calc(100% - 56px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 150px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement {
  margin-bottom: 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8adbd3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.announcement span { width: 28px; height: 1px; background: currentColor; }

h1 {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(58px, 7.1vw, 104px) / .98 var(--font-display);
  letter-spacing: -.06em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(105, 226, 216, .9);
}

.lede {
  max-width: 610px;
  margin: 30px 0 34px;
  color: #bdc9d4;
  font-size: 18px;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 22px;
  border-radius: 2px;
  background: linear-gradient(110deg, var(--blue), var(--teal));
  box-shadow: 0 10px 34px rgba(14, 157, 175, .22);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(14, 157, 175, .34); }

.whatsapp-note { color: #99a8b6; font-size: 12px; display: flex; align-items: center; gap: 9px; }
.whatsapp-note i { width: 7px; height: 7px; border-radius: 50%; background: #42d392; box-shadow: 0 0 0 5px rgba(66, 211, 146, .1); }

.contact-grid {
  width: 100%;
  margin: auto 0 0;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.3fr .9fr .7fr;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-style: normal;
}

.contact-grid > * { display: flex; flex-direction: column; gap: 3px; padding-right: 30px; }
.contact-grid > * + * { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .13); }
.contact-grid small { color: #718396; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-grid strong { color: #eef3f6; font: 500 13px var(--font-display); overflow-wrap: anywhere; }
.contact-grid a:hover strong { color: var(--teal); }

@media (max-height: 780px) and (min-width: 701px) {
  .hero-content { padding-top: 125px; }
  h1 { font-size: clamp(54px, 6.4vw, 82px); }
  .lede { margin: 22px 0 25px; }
}

@media (max-width: 700px) {
  .site-header { height: 78px; padding: 0 20px; }
  .brand { width: 138px; }
  .brand img { height: 58px; }
  .header-link { display: none; }
  .hero-image { object-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4, 14, 27, .98), rgba(4, 14, 27, .76)), linear-gradient(0deg, rgba(4, 14, 27, .96), transparent 55%); }
  .medical-motion { inset: 78px 0 0; mask-image: linear-gradient(90deg, transparent 10%, #000 70%); opacity: .7; }
  .scan-line { width: 100%; }
  .ecg-line { right: -12%; bottom: 22%; width: 78vw; }
  .particle-two { display: none; }
  .hero { min-height: 100svh; height: auto; }
  .hero-content { width: calc(100% - 40px); min-height: 100svh; padding: 110px 0 24px; justify-content: flex-start; }
  .announcement { max-width: 330px; margin-bottom: 22px; font-size: 9px; line-height: 1.5; }
  h1 { max-width: 560px; font-size: clamp(43px, 13.5vw, 68px); line-height: 1.02; }
  .lede { max-width: 540px; margin: 22px 0 25px; font-size: 15px; line-height: 1.55; }
  .actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .contact-grid { margin-top: auto; padding-top: 22px; grid-template-columns: 1fr 1fr; gap: 17px 0; }
  .contact-grid > * { padding-right: 12px; }
  .contact-grid > * + * { padding-left: 18px; }
  .contact-grid > :nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-grid strong { font-size: 11px; }
}

@media (max-width: 390px) {
  .hero-content { width: calc(100% - 32px); padding-top: 100px; }
  h1 { font-size: clamp(38px, 12vw, 45px); }
  .lede { font-size: 14px; }
  .button { width: 100%; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > * + * { padding-left: 0; border-left: 0; }
}

@media (max-width: 700px) and (max-height: 760px) {
  .hero-content { padding-top: 92px; }
  .announcement { margin-bottom: 14px; }
  h1 { font-size: clamp(36px, 11.5vw, 52px); }
  .lede { margin: 15px 0 18px; font-size: 14px; }
  .actions { flex-direction: row; align-items: center; }
  .whatsapp-note { display: none; }
  .contact-grid { margin-top: 30px; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .site-header { height: 68px; }
  .brand { width: 116px; }
  .brand img { height: 50px; }
  .hero-content { min-height: 620px; padding-top: 90px; }
  .medical-motion { inset: 68px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .scan-line, .ecg-pulse, .bio-particle { animation: none !important; }
  .scan-line { top: 52%; opacity: .2; }
}
