/* ======================================================
   OSVI Healthcare x UniLiv landing page (/uniliv/)
   Scoped to body.uniliv-page so nothing leaks into other pages.
   Mobile-first: most visitors arrive from a QR code on a phone.
   ====================================================== */
.uniliv-page {
  --ul-magenta: #8C3688;
  --ul-magenta-dark: #6f2a6c;
  --ul-lavender: #F6EEF8;
  --ul-lavender-2: #EEDFF3;
  --ul-ink: #1d1320;
  --ul-muted: #5b5160;
  --ul-yellow: #FFE45C;
  --ul-wa: #25D366;
  --ul-radius: 20px;
  background: #fff;
}
.uniliv-page main p { text-align: left; }
.uniliv-page main h1,
.uniliv-page main h2,
.uniliv-page main h3 { font-family: 'Source Sans Pro', sans-serif; color: var(--ul-ink); }

/* ---------- buttons ---------- */
.ul-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 12px 22px; border: 2px solid transparent; cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif; text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.ul-btn:active { transform: scale(.98); }
.ul-btn-primary { background: var(--ul-magenta); color: #fff; box-shadow: 0 8px 20px rgba(140,54,136,.28); }
.ul-btn-primary:hover, .ul-btn-primary:focus { background: var(--ul-magenta-dark); color: #fff; }
.ul-btn-outline { background: #fff; color: var(--ul-magenta); border-color: var(--ul-magenta); padding: 8px 22px; font-size: 15px; }
.ul-btn-outline:hover, .ul-btn-outline:focus { background: var(--ul-magenta); color: #fff; }
.ul-btn-lg { font-size: 18px; padding: 15px 30px; }
.ul-btn-block { width: 100%; }
.ul-btn-wa { background: var(--ul-wa); color: #fff; }
.ul-btn-wa:hover, .ul-btn-wa:focus { background: #1ebe5a; color: #fff; }
.ul-btn-wa i { font-size: 20px; }
.ul-btn:focus-visible { outline: 3px solid var(--ul-yellow) !important; outline-offset: 2px; }

/* ---------- hero ---------- */
.ul-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(140,54,136,.10) 0, transparent 38%),
    radial-gradient(circle at 92% 80%, rgba(140,54,136,.10) 0, transparent 40%),
    linear-gradient(180deg, var(--ul-lavender) 0%, #fff 100%);
  padding: 32px 0 40px; text-align: center;
}
.ul-logos {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 12px 20px;
  box-shadow: 0 6px 22px rgba(140,54,136,.10); margin-bottom: 26px; max-width: 100%;
}
.ul-logo-osvi { height: 40px; width: auto; }
.ul-logo-uniliv { height: 26px; width: auto; }
.ul-logos-x { color: var(--ul-magenta); font-size: 22px; font-weight: 700; line-height: 1; }
.ul-title { font-size: 34px; line-height: 1.1; font-weight: 700; margin: 0 0 22px; letter-spacing: -.5px; }
.ul-title span {
  display: table; margin: 0 auto; color: var(--ul-magenta); position: relative; padding-bottom: 12px;
}
.ul-title span:after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 70%; height: 5px; border-radius: 5px; background: var(--ul-magenta); opacity: .85;
}
.ul-badge {
  display: inline-block; background: var(--ul-lavender-2); border-radius: 16px;
  padding: 12px 22px; margin-bottom: 14px; line-height: 1.3;
}
.ul-badge strong { display: block; color: var(--ul-magenta); font-size: 20px; font-family: 'Source Sans Pro', sans-serif; }
.ul-badge span { color: var(--ul-ink); font-size: 16px; }
.ul-chip {
  display: block; width: fit-content; margin: 0 auto 26px !important;
  background: #fff; border: 1px solid var(--ul-lavender-2); color: var(--ul-magenta);
  border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px;
}
.ul-chip i { margin-right: 4px; }

/* ---------- offers ---------- */
.ul-offers { padding: 36px 0 20px; background: #fff; }
.ul-section-title { font-size: 26px; text-align: center; margin-bottom: 22px; }
.ul-cards { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 980px; margin: 0 auto; }
.ul-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--ul-lavender-2); border-radius: var(--ul-radius);
  padding: 18px; box-shadow: 0 6px 20px rgba(140,54,136,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ul-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(140,54,136,.14); }
.ul-card-icon {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ul-lavender-2); color: var(--ul-magenta);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.ul-card-body { flex: 1; min-width: 0; }
.ul-card h3 { font-size: 20px; line-height: 1.25; color: var(--ul-magenta) !important; margin: 2px 0 4px; }
.ul-card p { color: var(--ul-muted); font-size: 15px; margin: 0 0 12px; line-height: 1.4; }
.ul-price {
  display: inline-block; background: var(--ul-yellow); color: var(--ul-ink);
  font-weight: 700; border-radius: 999px; padding: 3px 12px; font-size: 15px;
}

/* ---------- claim form ---------- */
.ul-claim { padding: 28px 0 44px; background: linear-gradient(180deg, #fff 0%, var(--ul-lavender) 100%); scroll-margin-top: 70px; }
.ul-claim-box {
  max-width: 560px; margin: 0 auto; background: #fff; border-radius: 24px;
  border: 2px solid var(--ul-magenta); padding: 24px 18px;
  box-shadow: 0 14px 40px rgba(140,54,136,.16);
}
.ul-claim-box h2 { font-size: 26px; text-align: center; margin: 0 0 8px; color: var(--ul-magenta) !important; }
.ul-claim-sub {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  color: var(--ul-muted); font-size: 14px; margin: 0 0 18px !important;
}
.ul-claim-sub i { color: var(--ul-magenta); margin-right: 3px; }
.ul-field { margin-bottom: 14px; }
.ul-field label { display: block; font-weight: 600; color: var(--ul-ink); margin-bottom: 6px; font-size: 15px; }
.uniliv-page .ul-field .form-control,
.uniliv-page .ul-field .form-select {
  height: 50px; border-radius: 12px; border: 1.5px solid #d9c9df; font-size: 16px; /* 16px stops iOS zoom */
}
.uniliv-page .ul-field .form-control:focus,
.uniliv-page .ul-field .form-select:focus { border-color: var(--ul-magenta); box-shadow: 0 0 0 3px rgba(140,54,136,.15); }
.ul-field .is-invalid { border-color: #c62828 !important; }
.ul-phone { display: flex; }
.ul-phone span {
  display: flex; align-items: center; padding: 0 12px; background: var(--ul-lavender);
  border: 1.5px solid #d9c9df; border-right: 0; border-radius: 12px 0 0 12px;
  color: var(--ul-ink); font-weight: 600;
}
.uniliv-page .ul-phone .form-control { border-radius: 0 12px 12px 0; }
.ul-error { color: #c62828; font-weight: 600; margin: 0 0 12px !important; font-size: 15px; }
.ul-thanks { text-align: center; padding: 10px 0; }
.ul-thanks:focus { outline: none; }
.ul-thanks-icon {
  width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--ul-magenta); color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
}
.ul-thanks p { font-size: 18px; color: var(--ul-ink); margin: 0 0 20px !important; text-align: center !important; }

/* ---------- emergency strip ---------- */
.ul-emergency { background: var(--ul-magenta); color: #fff; text-align: center; padding: 30px 0; }
.ul-emergency p { color: #fff; margin: 0 0 14px !important; font-size: 16px; text-align: center !important; opacity: .92; }
.ul-btn-call {
  background: #fff; color: var(--ul-magenta); font-size: 20px; padding: 16px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); width: 100%; max-width: 420px;
}
.ul-btn-call:hover, .ul-btn-call:focus { background: var(--ul-yellow); color: var(--ul-ink); }

/* ---------- floating WhatsApp ---------- */
.ul-wa-float {
  position: fixed; right: 16px; bottom: 18px; z-index: 9998;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ul-wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.ul-wa-float svg { width: 32px; height: 32px; }
.ul-wa-float:hover { transform: scale(1.06); background: #1ebe5a; }
/* keep the site's back-to-top button clear of the WhatsApp button */
.uniliv-page #scroll { bottom: 88px; right: 25px; }

/* ---------- trust row ---------- */
.ul-trust {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 26px auto 0 !important; padding: 0;
}
.ul-trust li {
  background: #fff; border: 1px solid var(--ul-lavender-2); border-radius: 14px;
  padding: 8px 14px; min-width: 96px; line-height: 1.2;
  box-shadow: 0 4px 14px rgba(140,54,136,.07);
}
.ul-trust strong { display: block; color: var(--ul-magenta); font-size: 20px; font-family: 'Source Sans Pro', sans-serif; }
.ul-trust span { color: var(--ul-muted); font-size: 13px; }

/* ---------- how it works ---------- */
.ul-steps { padding: 20px 0 30px; background: #fff; }
.ul-steps-list {
  list-style: none; margin: 0 auto !important; padding: 0; max-width: 980px;
  display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none;
}
.ul-step {
  position: relative; text-align: center; background: var(--ul-lavender);
  border-radius: var(--ul-radius); padding: 22px 18px 18px;
}
.ul-step-num {
  position: absolute; top: 12px; left: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ul-magenta); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ul-step-icon {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #fff;
  color: var(--ul-magenta); font-size: 22px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(140,54,136,.12);
}
.ul-step h3 { font-size: 19px; margin: 0 0 4px; color: var(--ul-ink); }
.ul-step p { margin: 0 !important; color: var(--ul-muted); font-size: 14px; text-align: center !important; }

/* ---------- "Other" free text ---------- */
.uniliv-page .ul-field textarea.form-control { height: auto; min-height: 84px; resize: vertical; padding-top: 10px; }

/* ---------- sticky claim button (phones only) ---------- */
.ul-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9997;
  padding: 10px 84px 10px 14px; /* right gap keeps the WhatsApp button clear */
  background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(0,0,0,.10);
  transform: translateY(110%); transition: transform .25s ease;
}
.ul-sticky-cta.is-on { transform: translateY(0); }
.ul-sticky-cta .ul-btn { padding: 13px 18px; }
.ul-sticky-on .ul-wa-float { bottom: 10px; }
@media (min-width: 768px) { .ul-sticky-cta { display: none; } }
/* phones already have the pinned button + WhatsApp; the back-to-top square only crowds them */
@media (max-width: 767.98px) { .uniliv-page #scroll { display: none !important; } }

/* ---------- fade-in on scroll (only when JS is running) ---------- */
.ul-anim .ul-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.ul-anim .ul-reveal.is-visible { opacity: 1; transform: none; }
.ul-anim .ul-cards .ul-reveal:nth-child(2), .ul-anim .ul-steps-list .ul-reveal:nth-child(2) { transition-delay: .08s; }
.ul-anim .ul-cards .ul-reveal:nth-child(3), .ul-anim .ul-steps-list .ul-reveal:nth-child(3) { transition-delay: .16s; }
.ul-anim .ul-cards .ul-reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .ul-anim .ul-reveal { opacity: 1; transform: none; transition: none; }
  .ul-sticky-cta { transition: none; }
}

/* ---------- larger screens ---------- */
@media (min-width: 576px) {
  .ul-title { font-size: 44px; }
  .ul-logo-osvi { height: 48px; }
  .ul-logo-uniliv { height: 32px; }
  .ul-claim-box { padding: 32px 30px; }
}
@media (min-width: 768px) {
  .ul-hero { padding: 48px 0 56px; }
  .ul-title { font-size: 54px; }
  .ul-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ul-steps-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ul-steps { padding: 30px 0 40px; }
  .ul-trust li { min-width: 120px; padding: 10px 18px; }
  .ul-card { padding: 22px; }
  .ul-section-title { font-size: 32px; margin-bottom: 30px; }
  .ul-offers { padding: 50px 0 30px; }
  .ul-claim { padding: 40px 0 64px; scroll-margin-top: 90px; }
  .ul-emergency { padding: 40px 0; }
}
@media (min-width: 1200px) {
  .ul-title { font-size: 62px; }
  .ul-claim { scroll-margin-top: 110px; }
}
