/* ============================================================
   SUPERCARE — Honest Healthcare
   Design language: bold editorial type, frosted pill nav,
   pinned full-bleed panels, scroll-scrubbed reveals.
   ============================================================ */

:root {
  --bg: #efeeec;
  --ink: #111111;
  --ink-soft: #4c4c4c;
  --muted: #9a9a96;
  --line: #d8d6d2;
  --white: #ffffff;
  --black: #0a0a0a;
  --violet: #7b3ff2;
  --blue: #3556f0;
  --radius-card: 18px;
  --font-head: "Archivo", sans-serif;
  --font-body: "Manrope", sans-serif;
  --nav-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
sup { font-size: 0.35em; vertical-align: super; }

::selection { background: var(--ink); color: var(--bg); }

/* ========================= INTRO CURTAIN ========================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.intro__word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 84px);
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  transform: translateY(34px);
  will-change: transform, opacity;
}

.intro.is-done { display: none; }

/* ============================ NAV ============================ */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100% - 48px));
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  border-radius: 14px;
  background: rgba(235, 234, 230, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px rgba(0,0,0,.06);
  transition: box-shadow .4s ease, background .4s ease;
}

.nav__brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.nav__links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color .25s ease;
}

.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 18px; }

.nav__login { font-size: 14px; font-weight: 800; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
}

.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ======================== MOBILE MENU ======================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(239, 238, 236, 0.9);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.mobile-menu.is-open { opacity: 1; pointer-events: auto; }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.mobile-menu__links a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 8vw, 44px);
  letter-spacing: -0.03em;
  padding: 6px 14px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1), color .25s ease;
}

.mobile-menu__links a:hover { color: var(--muted); }

.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: .06s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: .24s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: .3s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(6) { transition-delay: .36s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(7) { transition-delay: .42s; }

.mobile-menu__login { color: var(--muted); }

/* ====================== STICKY BOTTOM CTA ====================== */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 90px);
  z-index: 90;
  background: #161616;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 64px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  opacity: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .55s ease, background .3s ease;
  white-space: nowrap;
}

.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta:hover { background: #000; }

/* hidden again while the footer is on screen — must win over .is-visible */
.sticky-cta.is-hidden { transform: translate(-50%, 90px); opacity: 0; pointer-events: none; }

/* ====================== FLOATING WHATSAPP ====================== */

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 89;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  transition: transform .3s ease, box-shadow .3s ease;
}

.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }
.whatsapp-float:focus-visible { outline: 3px solid #111; outline-offset: 4px; }

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-block;
  padding: 17px 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background .3s ease;
  will-change: transform;
}

.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.99); }

.btn--dark { background: #161616; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: #111; box-shadow: 0 14px 34px rgba(0,0,0,.18); }

/* ========================= HERO PANELS ========================= */

.stack { position: relative; }

.panel {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.panel__media {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: var(--img-position, center);
  will-change: transform;
  animation: kenburns 26s ease-in-out infinite alternate;
}

.panel__media--loop {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.3s cubic-bezier(.22,1,.36,1), transform 5.5s ease;
  animation: none;
}

.panel__media--loop.is-active {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

.panel--grey { background: #c9c9c9; }

.panel__media--contain {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #cfcfcf;
}

.panel__scrim { position: absolute; inset: 0; pointer-events: none; }
.panel__scrim--light { background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.45) 42%, rgba(255,255,255,0) 78%); }
.panel__scrim--dark { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 55%, rgba(0,0,0,.35)); }
.panel__scrim--oncology { background: linear-gradient(180deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.32) 48%, rgba(0,0,0,.56) 100%); }
.panel__scrim--vignette { background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.42) 100%); }
.panel__scrim--access { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.05) 46%, rgba(0,0,0,.42) 100%); }

.panel__content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 56px;
  will-change: transform, opacity;
}

.panel__content--end { justify-content: flex-end; }
.panel__content--wide { max-width: min(1080px, calc(100% - 48px)); }
.panel__content--access { justify-content: flex-end; padding-bottom: clamp(48px, 7vh, 72px); }

#hero .panel__scrim--light {
  background:
    radial-gradient(ellipse at center, rgba(239,238,236,.9) 0%, rgba(239,238,236,.72) 34%, rgba(239,238,236,.18) 68%, rgba(239,238,236,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.18) 74%);
}

#hero .panel__sub {
  color: #171717;
  font-weight: 700;
  text-shadow: 0 1px 22px rgba(255,255,255,.95);
}

#oncology .panel__media {
  filter: saturate(.85) contrast(1.04) brightness(.86);
}

.panel__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(44px, 7.2vw, 108px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.panel__title--hidden-sr {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.panel__content--ondark .panel__title,
.panel__content--ondark .panel__sub { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }

.panel__eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}

.panel__content--ondark .panel__eyebrow {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #cdbfff;
}

.panel__sub {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}

.panel__content--ondark .panel__sub { color: rgba(255,255,255,.92); }

.panel__cta { margin-top: auto; }
.panel__cta--row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.panel__cta--row .btn { min-width: 300px; text-align: center; }

.panel--doctors .panel__content {
  padding-bottom: clamp(48px, 7vh, 72px);
}

.panel--doctors .panel__media {
  filter: blur(3px) saturate(.72) brightness(.58);
  transform: scale(1.03);
}

.panel--doctors .panel__scrim--dark {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.28) 52%, rgba(0,0,0,.62));
}

.panel--doctors .panel__title {
  font-size: clamp(36px, 5.7vw, 84px);
}

.panel--doctors .panel__sub {
  margin-top: 16px;
  max-width: 760px;
}

.panel--doctors .panel__cta {
  position: relative;
  margin-top: auto;
  z-index: 4;
}

.team-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 4px 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}

.team-cue::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.72);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.team-cue:hover::after { transform: scaleX(.65); }

.team-cue span {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
  animation: cueDown 1.5s ease-in-out infinite;
}

@keyframes cueDown {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.panel__doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(780px, 100%);
  margin: 26px auto 0;
}

.panel__doctor-grid--two {
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: center;
  width: min(760px, 100%);
}

.panel__doctor-grid article {
  position: relative;
  min-height: 232px;
  padding: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.panel__doctor-grid--two article {
  min-height: 280px;
}

.panel__doctor-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 36%, rgba(0,0,0,.78) 100%);
  pointer-events: none;
}

.panel__doctor-photo {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: var(--img-position, center top);
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}

.panel__doctor-grid article:hover .panel__doctor-photo {
  transform: scale(1.08);
}

.panel__doctor-grid span {
  position: relative;
  z-index: 2;
  display: block;
  width: fit-content;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.panel__doctor-grid strong {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 78px;
  display: block;
  color: #fff;
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.panel__doctor-grid p {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.35;
  max-width: 28ch;
}

/* ========================= WORD REVEAL ========================= */

.reveal-block {
  padding: 34vh 24px;
  display: flex;
  justify-content: center;
  background: var(--bg);
}

.reveal-text {
  max-width: 1080px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
}

.reveal-text .w {
  display: inline-block;
  opacity: 0.12;
  will-change: opacity;
}

/* ========================= FEATURES ========================= */

.features { padding: 8vh 24px 14vh; max-width: 1440px; margin: 0 auto; }

.features__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 10vh;
}

.blur-in { will-change: filter, opacity, transform; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.fcard {
  position: relative;
  grid-column: span 2;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  cursor: pointer;
}

.fcard--wide { grid-column: span 3; height: 440px; }

.fcard__media {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: var(--img-position, center);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
  z-index: -1;
}

.fcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.38));
  z-index: -1;
  transition: opacity .5s ease;
}

.fcard:hover .fcard__media { transform: scale(1.07); }

.fcard__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  padding: 0 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  transition: opacity .4s ease, transform .4s ease;
}

.fcard__hint {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  font-weight: 600;
  transition: opacity .35s ease;
}

.fcard__hint i {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.fcard__detail {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,.82) 55%, rgba(8,8,8,.92) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}

.fcard__detail h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.fcard__detail p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 52ch; }

.fcard:hover .fcard__detail,
.fcard.is-open .fcard__detail,
.fcard:focus-visible .fcard__detail { opacity: 1; transform: translateY(0); }

.fcard:hover .fcard__name, .fcard:hover .fcard__hint,
.fcard.is-open .fcard__name, .fcard.is-open .fcard__hint,
.fcard:focus-visible .fcard__name, .fcard:focus-visible .fcard__hint { opacity: 0; }

.fcard.is-open .fcard__media { transform: scale(1.07); }

/* keyboard focus rings */
.fcard:focus-visible,
.btn:focus-visible,
.ftab:focus-visible,
.nav a:focus-visible,
.nav__burger:focus-visible,
.mobile-menu__links a:focus-visible,
.sticky-cta:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.55);
  outline-offset: 3px;
}


/* ========================= FACILITIES ========================= */

.facilities {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #111;
}

.fslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.fslide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: var(--img-position, center);
  transform: scale(1.06);
  transition: transform 6s ease;
}

.fslide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.3) 100%);
}

.fslide.is-active { opacity: 1; pointer-events: auto; }
.fslide.is-active::before { transform: scale(1); }

.fslide__copy {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 60px) 5vw 0;
  color: #fff;
  max-width: 640px;
}

.fslide__copy h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.fslide__copy li {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(18px);
}

.fslide.is-active li { animation: lineup .8s cubic-bezier(.22,1,.36,1) forwards; }
.fslide.is-active li:nth-child(1) { animation-delay: .15s; }
.fslide.is-active li:nth-child(2) { animation-delay: .3s; }
.fslide.is-active li:nth-child(3) { animation-delay: .45s; }
.fslide.is-active li:nth-child(4) { animation-delay: .6s; }

@keyframes lineup { to { opacity: 1; transform: translateY(0); } }

.facilities__tabs, .ai__tabs {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 42px;
  z-index: 5;
  display: flex;
  gap: 18px;
}

.ftab {
  flex: 1;
  text-align: left;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 12px;
  transition: color .3s ease;
}

.ftab.is-active { color: #fff; }

.ftab__bar {
  display: block;
  margin-top: 10px;
  height: 2px;
  background: rgba(255,255,255,.28);
  border-radius: 2px;
  overflow: hidden;
}

.ftab__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.ftab.is-active .ftab__bar i { animation: fill var(--tab-dur, 5s) linear forwards; }

@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ========================= EQUIPMENT ========================= */

.equipment { background: var(--bg); }

.equipment__head {
  text-align: center;
  padding: 18vh 24px 10vh;
}

.eyebrow {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 26px;
}

.equipment__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

/* native horizontal scroll, like the original — drag or swipe through the cards */
.equipment__scroller {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4vh 0 18vh;
  cursor: grab;
}

.equipment__scroller::-webkit-scrollbar { display: none; }
.equipment__scroller.is-dragging { cursor: grabbing; user-select: none; }
.equipment__scroller.is-dragging .ecard { pointer-events: none; }

.equipment__track {
  display: flex;
  gap: 26px;
  padding: 0 max(5vw, 24px);
  width: max-content;
}

.ecard {
  flex: 0 0 auto;
  width: min(400px, 82vw);
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.ecard h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.ecard p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); min-height: 86px; }

.ecard__img {
  margin-top: auto;
  height: 260px;
  border-radius: 14px 14px 0 0;
  background-image: var(--img);
  background-size: cover;
  background-position: var(--img-position, center);
}

/* ========================= CARE OS ========================= */

.os {
  position: relative;
  min-height: 160vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20vh 24px;
}

.os__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130vmin;
  height: 130vmin;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 42% 40%, rgba(72, 89, 235, .55) 0%, rgba(72, 89, 235, 0) 45%),
    radial-gradient(circle at 60% 62%, rgba(141, 56, 245, .5) 0%, rgba(141, 56, 245, 0) 50%);
  filter: blur(40px);
  will-change: transform, opacity;
}

.os__title {
  position: relative;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(64px, 13vw, 200px);
  letter-spacing: -0.05em;
  line-height: 1;
  will-change: transform, opacity;
}

.os__line {
  position: relative;
  margin-top: 9vh;
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 2px 26px rgba(80, 60, 200, .35);
  mix-blend-mode: normal;
}

.os__line--2 { color: var(--ink-soft); text-shadow: none; }

/* ========================= AI PRODUCTS ========================= */

.ai {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  padding: 14vh 5vw 160px;
  overflow: hidden;
}

.ai__slides { position: relative; min-height: 560px; }

.aislide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.2fr);
  gap: 6vw;
  align-items: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.aislide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.ai__copy h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 58px);
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}

.beta {
  vertical-align: middle;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  padding: 5px 9px;
  margin-left: 10px;
}

.ai__copy li {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
}

.aislide.is-active li { animation: lineup .7s cubic-bezier(.22,1,.36,1) forwards; }
.aislide.is-active li:nth-child(1) { animation-delay: .1s; }
.aislide.is-active li:nth-child(2) { animation-delay: .2s; }
.aislide.is-active li:nth-child(3) { animation-delay: .3s; }
.aislide.is-active li:nth-child(4) { animation-delay: .4s; }
.aislide.is-active li:nth-child(5) { animation-delay: .5s; }
.aislide.is-active li:nth-child(6) { animation-delay: .6s; }

/* mock monitor */

.ai__screen { display: flex; flex-direction: column; align-items: center; }

.screen {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(160deg, #f6f7ff, #e8ebfa);
  border: 1px solid #d4d7ea;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(40, 50, 120, .14);
  padding: 18px 22px 26px;
}

.screen__bar { display: flex; gap: 7px; margin-bottom: 18px; }
.screen__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd3e8; }

.chat { display: flex; flex-direction: column; gap: 12px; }

.chat__msg {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px) scale(.97);
}

.aislide.is-active .chat__msg { animation: bubble .6s cubic-bezier(.22,1,.36,1) forwards; }
.aislide.is-active .chat__msg:nth-child(1) { animation-delay: .5s; }
.aislide.is-active .chat__msg:nth-child(2) { animation-delay: 1.3s; }
.aislide.is-active .chat__msg:nth-child(3) { animation-delay: 2.1s; }
.aislide.is-active .chat__msg:nth-child(4) { animation-delay: 2.9s; }

@keyframes bubble { to { opacity: 1; transform: translateY(0) scale(1); } }

.chat__msg--in { align-self: flex-start; background: #fff; border: 1px solid #dde0f0; }
.chat__msg--out { align-self: flex-end; background: #1d1f2c; color: #fff; }

.screen__stand {
  width: 120px;
  height: 64px;
  background: linear-gradient(180deg, #d9dcef, #c4c8e0);
  border-radius: 0 0 14px 14px;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.ai__tabs { position: absolute; bottom: 56px; }
.ai__tabs .ftab { color: rgba(17,17,17,.45); }
.ai__tabs .ftab.is-active { color: var(--ink); }
.ai__tabs .ftab__bar { background: rgba(17,17,17,.15); }
.ai__tabs .ftab__bar i { background: var(--ink); }

/* ========================= DOCTORS ========================= */

.doctors { padding: 0 24px 16vh; max-width: 1440px; margin: 0 auto; }

/* the heading gets its own full-screen statement moment, like the original */
.doctors .reveal-block { padding-left: 0; padding-right: 0; }

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

.fcard--tall { grid-column: auto; height: 480px; }

/* ========================= FOOTER ========================= */

.footer {
  background: #000;
  color: #888;
  padding: 16vh 6vw 0;
  overflow: hidden;
}

.footer__links { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.footer__links a { font-size: 17px; font-weight: 600; color: #9b9b9b; transition: color .3s ease; }
.footer__links a:hover { color: #fff; }

.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brandname {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer__tag { color: #777; margin-top: 16px; max-width: 320px; line-height: 1.6; font-size: 15px; }

.footer__address { font-style: normal; color: #777; margin-top: 22px; line-height: 1.65; font-size: 14px; }
.footer__address a { display: inline-block; margin-top: 10px; color: #c9c9c9; }

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5e5e5e;
  margin-bottom: 18px;
}

.footer__col a { display: block; color: #9b9b9b; margin-bottom: 12px; font-size: 15px; transition: color .3s ease; }
.footer__col a:hover { color: #fff; }

.footer__rule { height: 1px; background: #2c2c2c; }

.footer__contact { padding: 44px 0; font-size: 17px; }
.footer__contact strong { color: #c9c9c9; }
.footer__contact a { color: #c9c9c9; }
.footer__contact a:hover { color: #fff; }

.footer__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 72px 0 40px;
  font-size: 15px;
  line-height: 1.6;
}

.footer__meta address { font-style: normal; }

.footer__wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16.2vw;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  padding-bottom: 2vw;
  will-change: transform, opacity;
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .fcard, .fcard--wide { grid-column: span 1; height: 380px; }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .aislide { grid-template-columns: 1fr; gap: 40px; }
  .ai__slides { min-height: 900px; }
  .panel__doctor-grid article { min-height: 220px; }
  .panel__doctor-grid span { margin-bottom: 10px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__login { display: none; }
}

@media (max-width: 640px) {
  .features__grid, .doctors__grid { grid-template-columns: 1fr; }
  .fcard, .fcard--wide, .fcard--tall { height: 360px; }
  .panel--doctors .panel__content { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 46px; }
  .panel--doctors .panel__cta { width: min(280px, calc(100% - 48px)); }
  .panel--doctors .panel__cta .btn { width: 100%; }
  .panel--doctors .panel__sub { font-size: 15px; line-height: 1.45; }
  .panel__content--access { padding-bottom: 42px; }
  .panel__content--access .panel__cta { width: min(300px, calc(100% - 48px)); }
  .panel__content--access .panel__cta .btn { width: 100%; }
  .panel__doctor-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    overflow-x: auto;
    max-width: 100%;
    gap: 10px;
    margin-top: 22px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .panel__doctor-grid--two {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
  .panel__doctor-grid article { min-height: 205px; padding: 16px; }
  .panel__doctor-grid article { scroll-snap-align: center; }
  .panel__doctor-grid strong { bottom: 70px; font-size: 18px; }
  .panel__doctor-grid p { font-size: 13px; line-height: 1.35; }
  .panel__cta--row .btn { min-width: 0; width: 100%; }
  .facilities__tabs, .ai__tabs { gap: 10px; }
  .ftab { font-size: 12px; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--brand { grid-column: span 2; }
  .sticky-cta { padding: 15px 40px; }
  .whatsapp-float { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
