/*
Theme Name:   UroloMax Luxury 3D
Theme URI:    https://urolomax.com
Author:       UroloMax Elite
Author URI:   https://urolomax.com
Description:  Ultra-premium dark-mode 3D medical concierge theme for international urology patients. Deep-navy bio-digital aesthetic with holographic cyan accents, Lenis inertial scrolling, story-format video testimonials, and cinematic GSAP scroll choreography.
Version:      3.0
Requires at least: 6.3
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  urolomax
Tags:         dark, one-column, custom-logo, medical, technology
*/

/* ------------------------------------------------------------------
   Core Tailwind CSS directives
------------------------------------------------------------------ */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ------------------------------------------------------------------
   Global bio-digital foundations — deep navy + holographic cyan
------------------------------------------------------------------ */
:root {
  /* RGB channels consumed by the Tailwind config (rgb(var(--c-x) / a)) */
  --c-navy: 5 13 31;
  --c-deepnavy: 7 21 40;
  --c-onyx: 11 30 58;
  --c-accent: 45 212 238;
  --c-accent-soft: 125 234 255;
  --c-accent-deep: 14 148 184;
  --c-pulse: 255 106 94;
  --c-silver: 178 208 227; /* lifted for readability on deep navy */
  --c-ivory: 236 247 253;

  /* Hex/rgba tokens for the custom component CSS below */
  --um-navy: #050d1f;
  --um-deepnavy: #071528;
  --um-onyx: #0b1e3a;
  --um-accent: #2dd4ee;
  --um-accent-soft: #7deaff;
  --um-accent-dim: rgba(45, 212, 238, 0.2);
  --um-pulse: #ff6a5e;
  --um-silver: #a9c9dd;
  --um-ivory: #eaf6fc;

  /* Surface tokens used by the light-mode overrides */
  --um-surface-glass: rgba(5, 13, 31, 0.5);
  --um-surface-glass-subtle: rgba(7, 21, 40, 0.6);
  --um-field-bg: rgba(125, 234, 255, 0.04);
  --um-field-border: rgba(125, 234, 255, 0.12);
}

/* ------------------------------------------------------------------
   LIGHT THEME — activated by html.um-light (dark remains the default).
   The Tailwind channel variables flip every utility class site-wide;
   the block below re-skins the hand-written component CSS.
------------------------------------------------------------------ */
html.um-light {
  --c-navy: 238 244 250;      /* page background            */
  --c-deepnavy: 255 255 255;  /* cards / footer             */
  --c-onyx: 222 234 243;      /* deep panels                */
  --c-accent: 10 122 152;     /* readable cyan on light     */
  --c-accent-soft: 7 96 120;
  --c-accent-deep: 6 78 98;
  --c-pulse: 224 74 62;
  --c-silver: 61 89 112;      /* secondary text             */
  --c-ivory: 7 26 43;         /* primary text               */

  --um-navy: #eef4fa;
  --um-deepnavy: #ffffff;
  --um-onyx: #deeaf3;
  --um-accent: #0a7a98;
  --um-accent-soft: #076078;
  --um-accent-dim: rgba(10, 122, 152, 0.15);
  --um-pulse: #e04a3e;
  --um-silver: #3d5970;
  --um-ivory: #071a2b;

  --um-surface-glass: rgba(255, 255, 255, 0.72);
  --um-surface-glass-subtle: rgba(255, 255, 255, 0.78);
  --um-field-bg: rgba(10, 122, 152, 0.05);
  --um-field-border: rgba(10, 122, 152, 0.2);
}
html.um-light body {
  background-color: var(--um-navy);
  color: var(--um-ivory);
}
html.um-light body::after { opacity: 0.02; }
/* Hologram stays visible in light mode — webgl-core.js re-tints its
   materials for contrast against a pale background instead of hiding.
   The container carries an inline navy background (the page floor in
   dark mode), so light mode MUST override it or the whole site sits
   on a dark canvas. */
html.um-light #webgl-container {
  background: #eef4fa !important;
  opacity: 0.9;
}
html.um-light .um-glass {
  border-color: rgba(10, 122, 152, 0.22);
  box-shadow: 0 24px 64px rgba(15, 45, 70, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
html.um-light .um-glass-subtle {
  border-color: rgba(10, 122, 152, 0.12);
}
html.um-light .um-dropdown {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px rgba(15, 45, 70, 0.18), 0 0 40px rgba(10, 122, 152, 0.06);
}
html.um-light .bg-black\/40 {
  background: rgba(255, 255, 255, 0.72) !important;
}
html.um-light select.um-field option {
  background: #ffffff;
  color: #071a2b;
}
html.um-light .um-whatsapp-float {
  background: linear-gradient(145deg, #ffffff 0%, #e8f2f9 100%);
}
html.um-light .um-whatsapp-label {
  background: rgba(255, 255, 255, 0.9);
}
html.um-light .um-timeline-node { background: #ffffff; }
html.um-light .um-timeline-node.is-lit { color: #ffffff; }
html.um-light .um-step-dot.is-active { color: #ffffff; }
html.um-light .um-check input:checked + .um-check-box svg { stroke: #ffffff; }
html.um-light .um-story-frame { background: var(--um-onyx); }
html.um-light .um-story-frame::after {
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.45) 0%, transparent 28%, transparent 60%, rgba(7, 26, 43, 0.8) 100%);
}
html.um-light .um-story-meta strong,
html.um-light .um-story-caption { color: #ffffff; }
html.um-light .um-story-meta em { color: rgba(255, 255, 255, 0.8); }
html.um-light .um-story-avatar span { background: #ffffff; }
html.um-light .um-article-panel {
  background: linear-gradient(180deg, #ffffff 0%, #eef4fa 100%);
}
html.um-light .um-article-close,
html.um-light .um-article-backdrop {
  background-color: rgba(238, 244, 250, 0.85);
}
html.um-light .um-article-close { background: rgba(255, 255, 255, 0.9); }
html.um-light .um-prose { color: rgba(30, 55, 75, 0.92); }
html.um-light .um-prose blockquote { background: rgba(10, 122, 152, 0.06); }
html.um-light .um-filter-btn { background: rgba(255, 255, 255, 0.7); }
html.um-light .um-filter-btn.is-active { color: #06283d; }
html.um-light .um-faq details { background: rgba(255, 255, 255, 0.75); }
html.um-light .um-faq details[open] { background: rgba(10, 122, 152, 0.05); }
html.um-light .um-btn-accent { color: var(--um-ivory); }
html.um-light .um-marquee-item {
  -webkit-text-stroke: 1px rgba(10, 122, 152, 0.35);
}
html.um-light .um-marquee-item span { color: rgba(10, 122, 152, 0.12); }
/* Light-mode text legibility: every component with a hardcoded pale
   silver tone gets a deep slate override so nothing washes out. */
html.um-light .um-dd-sub { color: rgba(45, 74, 96, 0.75); }
html.um-light .um-filter-btn { color: rgba(45, 74, 96, 0.85); }
html.um-light .um-faq details > div { color: rgba(30, 55, 75, 0.88); }
html.um-light #um-loader p { color: rgba(45, 74, 96, 0.75); }
html.um-light .um-field::placeholder { color: rgba(61, 89, 112, 0.55); }
html.um-light .um-scroll-cue { color: rgba(10, 122, 152, 0.85); }
html.um-light .um-step-chip { background: rgba(10, 122, 152, 0.08); }

/* ------------------------------------------------------------------
   Header controls: language switcher + theme toggle
------------------------------------------------------------------ */
.um-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.6rem;
  min-width: 2.6rem;
  padding: 0 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.35);
  color: var(--um-accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.um-ctrl-btn:hover {
  border-color: rgba(45, 212, 238, 0.75);
  background: rgba(45, 212, 238, 0.08);
  box-shadow: 0 0 18px rgba(45, 212, 238, 0.18);
}
html.um-light .um-ctrl-btn {
  border-color: rgba(10, 122, 152, 0.35);
}
.um-lang-dropdown { min-width: 11rem; }
/* Wide two-column dropdown for the full treatments catalogue */
.um-dd-grid {
  min-width: 38rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
}
.um-nav-item:hover > .um-dd-grid,
.um-nav-item:focus-within > .um-dd-grid,
.um-nav-item.is-open > .um-dd-grid {
  display: grid;
}

/* Footer social icons */
.um-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.35);
  color: var(--um-accent-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.um-social:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 238, 0.8);
  background: rgba(45, 212, 238, 0.08);
  box-shadow: 0 0 24px rgba(45, 212, 238, 0.25);
}
.um-social svg { width: 1.15rem; height: 1.15rem; }
.um-lang-dropdown a.is-current {
  background: rgba(45, 212, 238, 0.1);
}
.um-lang-dropdown a.is-current .um-dd-title { color: var(--um-accent-soft); }
/* Theme toggle: swap icons via the html class */
.um-theme-toggle .um-icon-sun { display: none; }
.um-theme-toggle .um-icon-moon { display: block; }
html.um-light .um-theme-toggle .um-icon-sun { display: block; }
html.um-light .um-theme-toggle .um-icon-moon { display: none; }

/* ------------------------------------------------------------------
   Google Translate: hide every trace of the default widget chrome
------------------------------------------------------------------ */
#google_translate_element { display: none !important; }
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* Minimal RTL support when Arabic is active (html.um-rtl) */
html.um-rtl main,
html.um-rtl footer {
  direction: rtl;
  text-align: right;
}
html.um-rtl .um-timeline { padding-left: 0 !important; padding-right: 4rem !important; }
html.um-rtl .um-timeline::before,
html.um-rtl .um-timeline-draw { left: auto !important; right: 1.25rem !important; }
html.um-rtl .um-timeline-node { left: auto !important; right: -4rem !important; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* decorative orbs / glows can never cause sideways scroll */
}
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background-color: var(--um-navy);
  color: var(--um-ivory);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--um-accent);
  color: var(--um-navy);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--um-navy); }
::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 238, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(45, 212, 238, 0.6); }

/* Cinematic film grain — the invisible texture of award sites */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: um-grain 9s steps(10) infinite;
}
@keyframes um-grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -5%); }
  30% { transform: translate(4%, 2%); }
  50% { transform: translate(-2%, 6%); }
  70% { transform: translate(5%, -3%); }
  90% { transform: translate(-4%, 4%); }
}

/* ------------------------------------------------------------------
   Branded loading curtain — covers first paint, fades on window load
------------------------------------------------------------------ */
#um-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.4rem;
  background: var(--um-navy);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}
#um-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.um-loader-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.5);
  color: var(--um-accent);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.um-loader-mark::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 9999px;
  border: 2px solid transparent;
  border-top-color: var(--um-accent);
  animation: um-loader-spin 1s linear infinite;
}
.um-loader-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  animation: um-cyan-radar 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
#um-loader p {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(169, 201, 221, 0.7);
}
@keyframes um-loader-spin {
  to { transform: rotate(360deg); }
}
html.um-light #um-loader { background: #eef4fa; }

/* Scroll progress bar */
#um-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 99;
  background: linear-gradient(90deg, #0e94b8, #2dd4ee, #7deaff);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(45, 212, 238, 0.7);
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Frosted glass surfaces
------------------------------------------------------------------ */
.um-glass {
  background: var(--um-surface-glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(45, 212, 238, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(125, 234, 255, 0.06);
}
.um-glass-subtle {
  background: var(--um-surface-glass-subtle);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(125, 234, 255, 0.08);
}

.um-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(45, 212, 238, 0.55) 50%, transparent 100%);
}

.um-accent-text {
  background: linear-gradient(120deg, #2dd4ee 0%, #9df1ff 45%, #2dd4ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ------------------------------------------------------------------
   Award-grade reveal primitives (driven by GSAP; safe without JS)
------------------------------------------------------------------ */
html.um-anim .reveal-heading,
html.um-anim .reveal-up,
html.um-anim .reveal-img,
html.um-anim .reveal-line {
  will-change: transform, opacity, clip-path;
}
.reveal-img { overflow: hidden; }
.reveal-img > img,
.reveal-img > video {
  will-change: transform;
}

/* Marquee keyword band */
.um-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.um-marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: um-marquee 32s linear infinite;
}
.um-marquee:hover .um-marquee-track { animation-play-state: paused; }
@keyframes um-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.um-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(45, 212, 238, 0.6);
  white-space: nowrap;
}
.um-marquee-item span { color: rgba(125, 234, 255, 0.22); }

/* Ambient light orbs — soft depth behind content sections */
.um-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(45, 212, 238, 0.22) 0%, transparent 70%);
  z-index: 0;
}
html.um-light .um-orb { opacity: 0.45; }
@media (max-width: 767px) {
  .um-orb { display: none; } /* blur is GPU-expensive on phones */
}

/* Light-mode hero: crisp white-to-film wash instead of the flat pale
   grey the navy-variable gradients produce over the video. */
html.um-light #hero-media video { opacity: 0.85; }
html.um-light #hero-media img { opacity: 0.55; }
html.um-light #hero-media div.bg-gradient-to-r {
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(45, 212, 238, 0.06) 100%) !important;
}
html.um-light #hero-media div.bg-gradient-to-t {
  background: linear-gradient(to top,
    #eef4fa 0%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.25) 100%) !important;
}

/* ------------------------------------------------------------------
   Certification / trust band
------------------------------------------------------------------ */
.um-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.6rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(45, 212, 238, 0.18);
  background: rgba(45, 212, 238, 0.04);
  text-align: center;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.um-cert:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 238, 0.5);
  box-shadow: 0 0 30px rgba(45, 212, 238, 0.12);
}
.um-cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.45);
  background: rgba(45, 212, 238, 0.07);
  color: var(--um-accent);
  box-shadow: 0 0 24px rgba(45, 212, 238, 0.18);
}
.um-cert-icon svg { width: 2.6rem; height: 2.6rem; }
.um-cert strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--um-ivory);
}
.um-cert em {
  font-style: normal;
  font-size: 0.66rem;
  line-height: 1.5;
  color: rgba(178, 208, 227, 0.75);
}
html.um-light .um-cert em { color: rgba(61, 89, 112, 0.8); }

/* ------------------------------------------------------------------
   Journey timeline v2 — centred spine, cards alternating sides
------------------------------------------------------------------ */
.um-timeline-center {
  position: relative;
}
.um-timeline-center::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(45, 212, 238, 0.4) 10%, rgba(45, 212, 238, 0.4) 90%, transparent 100%);
}
.um-timeline-center .um-timeline-draw {
  left: 50%;
  margin-left: -0.5px;
}
.um-timeline-center .journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 2.6rem 0;
}
.um-timeline-center .um-timeline-node {
  left: 50%;
  top: 3.2rem;
  transform: translateX(-50%);
}
.um-timeline-center .um-timeline-node.is-lit {
  transform: translateX(-50%) scale(1.12);
}
.um-timeline-center .journey-step[data-side="left"] .um-step-card {
  grid-column: 1;
  justify-self: end;
}
.um-timeline-center .journey-step[data-side="right"] .um-step-card {
  grid-column: 2;
  justify-self: start;
}
.um-timeline-center .um-step-card {
  max-width: 34rem;
  width: 100%;
}
@media (max-width: 1023px) {
  .um-timeline-center::before,
  .um-timeline-center .um-timeline-draw {
    left: 1.25rem;
    margin-left: 0;
    transform: none;
  }
  .um-timeline-center .journey-step {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.6rem 0 1.6rem 4rem;
  }
  .um-timeline-center .um-timeline-node {
    left: 0;
    top: 2.2rem;
    transform: none;
  }
  .um-timeline-center .um-timeline-node.is-lit {
    transform: scale(1.08);
  }
  .um-timeline-center .journey-step[data-side="left"] .um-step-card,
  .um-timeline-center .journey-step[data-side="right"] .um-step-card {
    grid-column: 1;
    justify-self: stretch;
  }
}

/* Footer particle vignette — two silhouettes reunite */
.um-footer-scene {
  position: relative;
  margin-top: 3.5rem;
}
.um-footer-scene canvas {
  display: block;
  width: 100%;
  height: 320px;
}
.um-footer-scene p {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(178, 208, 227, 0.55);
}
html.um-light .um-footer-scene p { color: rgba(61, 89, 112, 0.6); }

/* ------------------------------------------------------------------
   Journal article extras — category diagram + fast-facts box
------------------------------------------------------------------ */
.um-article-extra {
  margin: 2.4rem 0 1.6rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(45, 212, 238, 0.22);
  background: rgba(45, 212, 238, 0.05);
  overflow: hidden;
}
.um-article-extra .um-extra-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1.4rem 0.6rem;
  color: var(--um-accent);
}
.um-article-extra .um-extra-figure svg {
  width: 100%;
  max-width: 21rem;
  height: auto;
}
.um-article-extra .um-extra-facts {
  padding: 1.1rem 1.6rem 1.5rem;
}
.um-article-extra .um-extra-facts p {
  margin: 0 0 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--um-accent-soft);
}
.um-article-extra .um-extra-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.um-article-extra .um-extra-facts li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.6;
}
.um-article-extra .um-extra-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 9999px;
  background: var(--um-accent);
}

/* ------------------------------------------------------------------
   Header & dropdown navigation
------------------------------------------------------------------ */
.um-nav-item { position: relative; }
.um-dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 21rem;
  padding: 0.6rem;
  border-radius: 1rem;
  background: rgba(5, 13, 31, 0.92);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(45, 212, 238, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(45, 212, 238, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.3s;
  z-index: 60;
}
.um-dropdown::before {
  content: '';
  position: absolute;
  top: -0.9rem;
  left: 0;
  right: 0;
  height: 0.9rem; /* hover bridge */
}
.um-nav-item:hover > .um-dropdown,
.um-nav-item:focus-within > .um-dropdown,
.um-nav-item.is-open > .um-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.um-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  transition: background 0.25s ease;
}
.um-dropdown a:hover { background: rgba(45, 212, 238, 0.08); }
.um-dropdown a:hover .um-dd-title { color: var(--um-accent-soft); }
.um-dd-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(45, 212, 238, 0.35);
  color: var(--um-accent);
  background: rgba(45, 212, 238, 0.05);
}
.um-dd-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--um-ivory);
  transition: color 0.25s ease;
}
.um-dd-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(169, 201, 221, 0.65);
}

/* ------------------------------------------------------------------
   Buttons — with magnetic-hover glow
------------------------------------------------------------------ */
.um-btn-accent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(45, 212, 238, 0.18) 0%, rgba(14, 148, 184, 0.22) 100%);
  border: 1px solid rgba(45, 212, 238, 0.7);
  color: var(--um-ivory);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease, background 0.35s ease;
  box-shadow: 0 0 24px rgba(45, 212, 238, 0.25), inset 0 0 18px rgba(45, 212, 238, 0.12);
}
.um-btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(125, 234, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.um-btn-accent:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(45, 212, 238, 0.32) 0%, rgba(14, 148, 184, 0.34) 100%);
  box-shadow: 0 0 42px rgba(45, 212, 238, 0.45), inset 0 0 24px rgba(45, 212, 238, 0.2);
}
.um-btn-accent:hover::after { left: 120%; }

.um-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.4);
  color: var(--um-accent-soft);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.um-btn-ghost:hover {
  background: rgba(45, 212, 238, 0.08);
  border-color: rgba(45, 212, 238, 0.8);
  box-shadow: 0 0 26px rgba(45, 212, 238, 0.2);
}

/* ------------------------------------------------------------------
   Instagram-story vertical video testimonials
------------------------------------------------------------------ */
.um-stories {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 212, 238, 0.35) transparent;
}
.um-stories::-webkit-scrollbar { height: 5px; }
.um-stories::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 238, 0.3);
  border-radius: 9999px;
}
.um-story {
  flex: none;
  scroll-snap-align: center;
  width: clamp(220px, 60vw, 270px);
}
.um-story-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--um-deepnavy);
  border: 1px solid rgba(45, 212, 238, 0.2);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s ease, box-shadow 0.5s ease;
}
.um-story-frame:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(45, 212, 238, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 44px rgba(45, 212, 238, 0.14);
}
.um-story-frame video,
.um-story-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.um-story-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 31, 0.55) 0%, transparent 28%, transparent 60%, rgba(5, 13, 31, 0.85) 100%);
  pointer-events: none;
}
/* Story progress bar (top, IG style) */
.um-story-progress {
  position: absolute;
  top: 0.7rem;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  border-radius: 9999px;
  background: rgba(234, 246, 252, 0.25);
  overflow: hidden;
  z-index: 2;
}
.um-story-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4ee, #7deaff);
}
/* Gradient-ring avatar */
.um-story-id {
  position: absolute;
  top: 1.3rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.um-story-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  padding: 2px;
  background: conic-gradient(from 210deg, #2dd4ee, #7deaff, #0e94b8, #2dd4ee);
}
.um-story-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: var(--um-navy);
  color: var(--um-accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.um-story-meta { line-height: 1.25; text-shadow: 0 1px 8px rgba(5, 13, 31, 0.9); }
.um-story-meta strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--um-ivory);
}
.um-story-meta em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(169, 201, 221, 0.85);
}
/* Caption + play state */
.um-story-caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(234, 246, 252, 0.9);
  text-shadow: 0 1px 8px rgba(5, 13, 31, 0.9);
}
.um-story-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(5, 13, 31, 0.55);
  border: 1px solid rgba(45, 212, 238, 0.6);
  color: var(--um-accent-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.um-story-frame.is-playing .um-story-play {
  opacity: 0;
  transform: scale(0.7);
}
.um-story-frame.is-playing::after {
  background: linear-gradient(180deg, rgba(5, 13, 31, 0.35) 0%, transparent 30%, transparent 72%, rgba(5, 13, 31, 0.7) 100%);
}

/* ------------------------------------------------------------------
   Floating WhatsApp concierge — holographic cyan radar pulse
------------------------------------------------------------------ */
.um-whatsapp-float {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 90;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(145deg, #0b1e3a 0%, #071528 100%);
  border: 1px solid rgba(45, 212, 238, 0.6);
  color: var(--um-accent);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: um-cyan-radar 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.um-whatsapp-float:hover { transform: scale(1.08); }
.um-whatsapp-float svg { width: 28px; height: 28px; }
.um-whatsapp-float .um-whatsapp-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.4);
  animation: um-cyan-ring 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.um-whatsapp-label {
  position: fixed;
  right: 6.5rem;
  bottom: 2.55rem;
  z-index: 90;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--um-accent-soft);
  background: rgba(5, 13, 31, 0.8);
  border: 1px solid rgba(45, 212, 238, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}
.um-whatsapp-float:hover ~ .um-whatsapp-label,
.um-whatsapp-float:focus-visible ~ .um-whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}
@keyframes um-cyan-radar {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 238, 0.5); }
  70%  { box-shadow: 0 0 0 26px rgba(45, 212, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 238, 0); }
}
@keyframes um-cyan-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ------------------------------------------------------------------
   Journey timeline
------------------------------------------------------------------ */
.um-timeline { position: relative; }
.um-timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 212, 238, 0.55) 12%, rgba(45, 212, 238, 0.55) 88%, transparent 100%);
}
.um-timeline-node {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #071528;
  border: 1px solid rgba(45, 212, 238, 0.65);
  color: var(--um-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 0 22px rgba(45, 212, 238, 0.25);
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
  z-index: 1;
}
/* Node lights up as its step enters the viewport (engine adds .is-lit) */
.um-timeline-node.is-lit {
  background: linear-gradient(135deg, #2dd4ee, #0e94b8);
  color: #050d1f;
  box-shadow: 0 0 30px rgba(45, 212, 238, 0.55);
  transform: scale(1.08);
}
/* Luminous progress line drawn along the timeline as the user scrolls */
.um-timeline-draw {
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, #2dd4ee, #7deaff);
  box-shadow: 0 0 12px rgba(45, 212, 238, 0.6);
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
}
/* Journey step tag chip */
.um-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.3);
  background: rgba(45, 212, 238, 0.06);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--um-accent-soft);
}

/* ------------------------------------------------------------------
   FAQ accordion (native details/summary, luxury-styled)
------------------------------------------------------------------ */
.um-faq details {
  border: 1px solid rgba(125, 234, 255, 0.1);
  border-radius: 1rem;
  background: rgba(7, 21, 40, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.35s ease, background 0.35s ease;
}
.um-faq details:hover,
.um-faq details[open] {
  border-color: rgba(45, 212, 238, 0.4);
}
.um-faq details[open] {
  background: rgba(45, 212, 238, 0.04);
}
.um-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.6rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--um-ivory);
}
.um-faq summary::-webkit-details-marker { display: none; }
.um-faq summary::after {
  content: '+';
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.45);
  color: var(--um-accent);
  font-weight: 400;
  font-size: 1.1rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}
.um-faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(45, 212, 238, 0.12);
}
.um-faq details > div {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(169, 201, 221, 0.85);
}

/* ------------------------------------------------------------------
   Form controls
------------------------------------------------------------------ */
.um-field {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--um-field-bg);
  border: 1px solid var(--um-field-border);
  color: var(--um-ivory);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.um-field::placeholder { color: rgba(169, 201, 221, 0.4); }
.um-field:focus {
  outline: none;
  border-color: rgba(45, 212, 238, 0.75);
  box-shadow: 0 0 0 3px rgba(45, 212, 238, 0.14);
}
select.um-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232dd4ee' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
}
select.um-field option { background: #071528; color: #eaf6fc; }

.um-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(125, 234, 255, 0.1);
  background: rgba(125, 234, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.um-check:hover { border-color: rgba(45, 212, 238, 0.45); }
.um-check input { position: absolute; opacity: 0; pointer-events: none; }
.um-check .um-check-box {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(45, 212, 238, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.um-check .um-check-box svg {
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.um-check input:checked + .um-check-box {
  background: linear-gradient(135deg, #2dd4ee, #0e94b8);
  border-color: #2dd4ee;
  box-shadow: 0 0 14px rgba(45, 212, 238, 0.5);
}
.um-check input:checked + .um-check-box svg { opacity: 1; transform: scale(1); }
.um-check input:checked ~ .um-check-text strong { color: var(--um-accent-soft); }

/* Multi-step form panels */
.um-step { display: none; }
.um-step.is-active {
  display: block;
  animation: um-step-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes um-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.um-step-dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(45, 212, 238, 0.35);
  color: rgba(45, 212, 238, 0.5);
  transition: all 0.35s ease;
}
.um-step-dot.is-active {
  background: linear-gradient(135deg, #2dd4ee, #0e94b8);
  color: #050d1f;
  border-color: #2dd4ee;
  box-shadow: 0 0 24px rgba(45, 212, 238, 0.45);
}
.um-step-dot.is-complete {
  border-color: rgba(45, 212, 238, 0.8);
  color: var(--um-accent);
}

/* ------------------------------------------------------------------
   Cards, stats & sub-page primitives
------------------------------------------------------------------ */
.um-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s ease, box-shadow 0.5s ease;
}
.um-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 238, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 46px rgba(45, 212, 238, 0.12);
}

.um-stat { border-left: 1px solid rgba(45, 212, 238, 0.4); padding-left: 1.25rem; }
.um-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--um-accent);
  line-height: 1.1;
}

.um-protocol { counter-reset: protocol; }
.um-protocol > li {
  counter-increment: protocol;
  position: relative;
  padding-left: 4rem;
}
.um-protocol > li::before {
  content: counter(protocol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--um-accent);
  opacity: 0.9;
}

/* Problem / Resolution split blocks on treatment pages */
.um-problem {
  border-left: 2px solid rgba(255, 106, 94, 0.55);
  background: linear-gradient(135deg, rgba(255, 106, 94, 0.06), transparent 60%);
}
.um-resolution {
  border-left: 2px solid rgba(45, 212, 238, 0.65);
  background: linear-gradient(135deg, rgba(45, 212, 238, 0.07), transparent 60%);
}

/* ------------------------------------------------------------------
   The UroloMax Journal — blog grid, filters, and article modal
------------------------------------------------------------------ */
.um-filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(125, 234, 255, 0.15);
  background: rgba(7, 21, 40, 0.5);
  color: rgba(169, 201, 221, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.um-filter-btn:hover {
  border-color: rgba(45, 212, 238, 0.5);
  color: var(--um-accent-soft);
}
.um-filter-btn.is-active {
  background: linear-gradient(135deg, rgba(45, 212, 238, 0.2), rgba(14, 148, 184, 0.25));
  border-color: rgba(45, 212, 238, 0.75);
  color: var(--um-ivory);
  box-shadow: 0 0 22px rgba(45, 212, 238, 0.25);
}

.um-blog-card {
  cursor: pointer;
}
.um-blog-card.is-filtered-out {
  display: none;
}
.um-blog-card .um-read-cue {
  transition: gap 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.um-blog-card:hover .um-read-cue {
  gap: 0.9rem;
}

/* Fullscreen article modal */
body.um-modal-open {
  overflow: hidden;
}
.um-article-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.um-article-modal.is-open {
  display: block;
}
.um-article-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.um-article-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 60rem);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #071528 0%, #050d1f 100%);
  border-left: 1px solid rgba(45, 212, 238, 0.18);
  border-right: 1px solid rgba(45, 212, 238, 0.18);
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.8);
}
@media (min-width: 64rem) {
  .um-article-panel {
    height: calc(100% - 4rem);
    border-radius: 1.5rem;
    border: 1px solid rgba(45, 212, 238, 0.22);
  }
}
.um-article-panel::-webkit-scrollbar { width: 5px; }
.um-article-panel::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 238, 0.35);
  border-radius: 9999px;
}
/* Reading progress bar pinned to the top of the modal panel */
.um-article-progress {
  position: sticky;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 5;
  background: linear-gradient(90deg, #0e94b8, #2dd4ee, #7deaff);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(45, 212, 238, 0.7);
}
.um-article-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 238, 0.5);
  background: rgba(5, 13, 31, 0.8);
  color: var(--um-accent-soft);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.um-article-close:hover {
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 0 26px rgba(45, 212, 238, 0.35);
}

/* Long-form article typography (Tailwind Play CDN has no prose plugin) */
.um-prose {
  color: rgba(169, 201, 221, 0.88);
  font-size: 1rem;
  line-height: 1.85;
}
.um-prose h2 {
  margin: 2.6rem 0 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--um-ivory);
}
.um-prose h3 {
  margin: 2rem 0 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--um-accent-soft);
}
.um-prose p { margin: 0 0 1.15rem; }
.um-prose ul {
  margin: 0 0 1.3rem;
  padding-left: 1.2rem;
  list-style: none;
}
.um-prose ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
}
.um-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--um-accent);
}
.um-prose a {
  color: var(--um-accent);
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 238, 0.4);
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.um-prose a:hover { color: var(--um-accent-soft); }
.um-prose strong { color: var(--um-ivory); font-weight: 600; }
.um-prose blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 2px solid rgba(45, 212, 238, 0.65);
  background: rgba(45, 212, 238, 0.05);
  border-radius: 0 0.8rem 0.8rem 0;
  font-style: italic;
  color: var(--um-ivory);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after,
  .um-whatsapp-float,
  .um-whatsapp-float .um-whatsapp-ring,
  .um-marquee-track { animation: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
