.hero { padding: 96px 12px 12px; }
.hero__frame {
  position: relative; overflow: hidden;
  height: max(600px, calc(100svh - 150px));
  border-radius: 32px;
  background: #1f1d1c;
  color: var(--alabastro);
  isolation: isolate;
}

.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%;
  z-index: -2; background: #1f1d1c;
}
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform: scale(1.1); transform-origin: 60% 45%;
  transition: transform 2.6s var(--ease);
}
.is-ready .hero__media video, .is-ready .hero__media img { transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #1f1d1c 0%, #1f1d1c 46%, rgba(31,29,28,.55) 58%, rgba(31,29,28,0) 74%),
    linear-gradient(0deg, rgba(31,29,28,.55) 0%, rgba(31,29,28,0) 28%);
}

.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: absolute; left: clamp(24px, 5vw, 72px); top: 50%;
  transform: translateY(-56%);
  max-width: min(760px, 62%);
}
.hero__eyebrow { margin-bottom: 26px; }
.pill--dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--lino); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill--dark .dot { background: var(--lino); }
.pill--dark .dot::after { border-color: var(--lino); }
.hero__title {
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 1; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: normal; color: var(--topo); }
.hero__lead { max-width: 440px; margin-bottom: 34px; color: rgba(249,248,246,.72); font-size: 17px; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__social { display: flex; gap: 8px; margin-left: 6px; }
.hero__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--alabastro); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color 200ms ease, color 200ms ease, transform 160ms ease; }
.hero__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero__icon svg .fill, .hero__icon svg path { fill: currentColor; stroke: none; }
.hero__icon:active { transform: scale(.95); }
.hero__icon:focus-visible { outline: 2px solid var(--alabastro); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .hero__icon:hover { background: var(--alabastro); color: var(--ebano); } }
.btn--glass { --bg: rgba(255,255,255,.08); --fg: var(--alabastro); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass::before { background: var(--alabastro); }
@media (hover: hover) and (pointer: fine) { .btn--glass:hover { color: var(--ebano); } }

.hero__card { position: absolute; border-radius: var(--radius-sm); color: var(--ebano); }
.hero__card small { display: block; font-size: 11px; letter-spacing: .08em; color: var(--topo-oscuro); }
.hero__card strong { font-family: var(--f-display); font-weight: 400; font-size: 16px; }
.hero__card--doctor {
  right: clamp(20px, 3vw, 44px); top: clamp(20px, 3vw, 40px);
  display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px;
}
.hero__seal {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ebano);
  display: grid; place-items: center;
}
.hero__seal i { width: 26px; height: 29px; background: var(--alabastro); -webkit-mask: url(../img/ds-mark.png) center / contain no-repeat; mask: url(../img/ds-mark.png) center / contain no-repeat; }


.hero__notch {
  position: absolute; right: clamp(40px, 6vw, 96px); bottom: 0;
  display: flex; gap: 8px; padding: 12px 14px 0;
  background: var(--alabastro); border-radius: 22px 22px 0 0;
}
.hero__notch::before, .hero__notch::after { content: ""; position: absolute; bottom: 0; width: 22px; height: 22px; }
.hero__notch::before { left: -22px; background: radial-gradient(circle at 0 0, transparent 21.5px, var(--alabastro) 22px); }
.hero__notch::after { right: -22px; background: radial-gradient(circle at 100% 0, transparent 21.5px, var(--alabastro) 22px); }
.hero__notch .chip { padding: 8px 16px; font-size: 12.5px; background: var(--blanco); border-color: var(--linea); color: var(--ebano); }
.hero__notch .chip--active { background: var(--ebano); color: var(--alabastro); border-color: var(--ebano); }


[data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.hero__title [data-hero] { opacity: 1; transform: none; }
.hero__title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-ready [data-hero] { opacity: 1; transform: none; }
.is-ready .hero__title .line > span { transform: translateY(0); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero__lead { transition-delay: .25s; }
.is-ready .hero__cta { transition-delay: .35s; }
.is-ready .hero__notch { transition-delay: .6s; }
.is-ready [data-hero-float] { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1s .8s var(--ease), transform 1.2s .8s var(--ease); }
.is-ready [data-hero-float] { opacity: 1; transform: none; }
.hero__card.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
