/* ZPHC HHFM — TOUR-FX + SVG-FX + hero type bump (estetica pharma-light) */

.zphc-svgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.zphc-svgfx__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-title, .hero h1, .hero-headline {
  letter-spacing: -0.02em;
}
.hero h1, .hero-headline {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem) !important;
}

.hero-cta {
  animation: zphcCtaPulse 2.4s ease-in-out infinite;
}
@keyframes zphcCtaPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(27, 92, 138, 0.18); }
  50% { box-shadow: 0 8px 34px rgba(43, 126, 168, 0.4); }
}

.zphc-tour {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  background: linear-gradient(180deg, rgba(234, 244, 248, 0) 55%, rgba(234, 244, 248, 0.55) 100%);
  pointer-events: none;
}
.zphc-tour__card {
  pointer-events: auto;
  width: min(680px, 92vw);
  padding: 1.6rem 1.9rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(43, 126, 168, 0.22);
  box-shadow: 0 24px 70px rgba(15, 43, 60, 0.18);
  backdrop-filter: blur(14px);
  color: #0f2b3c;
  transform: translateY(18px);
  opacity: 0;
}
.zphc-tour__card--in {
  animation: zphcTourCardIn .55s cubic-bezier(.2, .9, .25, 1.15) forwards;
}
@keyframes zphcTourCardIn {
  to { transform: translateY(0); opacity: 1; }
}
.zphc-tour__eyebrow {
  display: block;
  font-size: .7rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #2b7ea8;
  margin-bottom: .5rem;
}
.zphc-tour__titulo {
  margin: 0 0 .45rem;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.zphc-tour__texto {
  margin: 0 0 1.1rem;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(15, 43, 60, 0.75);
}
.zphc-tour__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 126, 168, 0.15);
  overflow: hidden;
  margin-bottom: 1rem;
}
.zphc-tour__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1b5c8a, #5fa4c8);
  transition-property: width;
  transition-timing-function: linear;
}
.zphc-tour__acciones {
  display: flex;
  gap: .6rem;
  justify-content: flex-end;
}
.zphc-tour__btn {
  border: 0;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.zphc-tour__btn--skip {
  background: rgba(43, 126, 168, 0.12);
  color: #1b5c8a;
}
.zphc-tour__btn--close {
  background: transparent;
  color: rgba(15, 43, 60, 0.55);
}

body.zphc-tour-dance #app {
  animation: zphcTourDance 1.8s ease-in-out infinite;
  transform-origin: 50% 40%;
}
@keyframes zphcTourDance {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(.35deg) translateY(-3px); }
  50% { transform: rotate(0deg) translateY(0); }
  75% { transform: rotate(-.35deg) translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  body.zphc-tour-dance #app { animation: none; }
  .hero-cta { animation: none; }
}
