/*!
 * Ulfratech Custom Styles
 * Modern, animated, and responsive design system
 *
 * PALETTE MIGRATED 2026-08-29 to the brand manual (../ulfra-manual-de-marca/).
 * The retired values: primary #5E4AAE, primary-200 #7a64cf and the cyan
 * accent #00BFFF: are GONE from this file; the variable NAMES stayed so no
 * consumer had to change, which is the migration shape CLAUDE.md prescribes
 * ("swap the values behind the existing local variable names").
 *
 * Canonical source: ../ulfra-manual-de-marca/brand/tokens.css. If a colour is
 * not there, it does not enter product.
 *
 * THE NEUTRAL TEXT RAMP came LATER, with manual v1.1, and the delay is the
 * point. The first pass deliberately refused it: --ulfra-text-muted was
 * #767B8E, which measured 4.20:1 on white and 3.95:1 on the canvas against the
 * manual's own 4.5:1 floor, while the token file annotated it 5.5:1. Adopting
 * a canonical value would have been a contrast REGRESSION from #717171
 * (4.88:1), so the ramp stayed unmigrated and the reason was written down.
 * Manual v1.1 (commit fd6312b) re-cut the token to #6A6F81: 4.99:1 on white,
 * 4.70:1 on the canvas, and re-measured every other published ratio with it.
 * Adopting it is now an improvement, so the ramp is migrated here.
 *
 * A published ratio nobody re-measures is worse than no ratio: it is the
 * reason nobody re-measures it. Re-run the sweep, do not trust this comment.
 */

/* =========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
  /* Brand colours: values from ../ulfra-manual-de-marca/brand/tokens.css.
     One signature colour signs (#3C10AF), one action colour is what the user
     clicks (#5A3DBE). There is no second hue: the manual (§12) is explicit
     that personality comes from type scale, white space and the symbol. */
  --primary-100: #5A3DBE; /* --ulfra-action-fill: buttons, links, active state.
                             white on it = 7.38:1; as text on white = 7.38:1 */
  --primary-200: #3C10AF; /* --ulfra-brand-violet: signature; also the pressed/
                             hover step of the action. white on it = 11.14:1,
                             as text on white = 11.14:1 (was 4.61:1 on #7a64cf) */
  --primary-300: #EDE9FB; /* --ulfra-brand-tint (Lavanda): soft backgrounds */

  /* rgba() forms of the two above. Every translucent brand wash in this file
     reads these, so the migration could not leave a literal rgb triple of the
     retired purple hiding inside an rgba(). */
  --primary-100-rgb: 90, 61, 190;
  --primary-200-rgb: 60, 16, 175;

  /* --accent-100 was the retired cyan #00BFFF. The name survives ONLY as a
     migration shim for the handful of call sites that still reference it
     (dashboard/css/docs.css, checkout.css, assets/css/legal.css); its VALUE is
     now the action colour, because the manual admits no second hue. The cyan
     also failed AA outright: #00BFFF on white measures 2.12:1.
     Do not introduce new references to it: use --primary-100. */
  --accent-100:  #5A3DBE;

  /* Focus ring: manual §11: 2px ring + 2px offset, ALWAYS visible, both
     themes. Scoped as a variable rather than a literal because no single
     colour clears 3:1 against both a white surface and a full violet band;
     the band redefines it below. */
  --ulfra-focus-ring: #5A3DBE;
  --ulfra-action-fill-pressed: #2E0C88; /* brand v1.3 pressed fill: white 13.77:1 */
  
  /* Text Colors: the manual's neutral ramp (§11 light column), v1.1.
     Ratios are WCAG 2.x, TRUNCATED, stated against the worst light surface
     this site actually paints: --bg-200 #f8f9fa for the marketing pages,
     --dash-bg #f4f6f9 for the dashboard shells. */
  --text-100:    #16171D; /* --ulfra-text-primary   : 17.88:1 white · 16.51:1 #f4f6f9 */
  --text-200:    #5B6076; /* --ulfra-text-secondary: 6.21:1 white ·  5.73:1 #f4f6f9 */
  /* --ulfra-text-muted. IT IS TEXT: do not lighten it locally "to tone
     something down". Metadata recedes by SIZE, WEIGHT and AIR (manual §11);
     the L* gap from --text-200 is deliberately narrow, and that narrowness is
     the price of clearing AA. Also NOT for text on a tint: 4.19:1 on the
     lavender --primary-300, where the chip's own state colour carries the
     label instead (§09). */
  --text-300:    #6A6F81; /* --ulfra-text-muted     :  4.99:1 white ·  4.61:1 #f4f6f9 */
  
  /* Background Colors - Leading with Gray and White */
  --bg-100:      #ffffff;
  --bg-200:      #f8f9fa;
  --bg-300:      #e9ecef;
  
  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:   0 8px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 32px rgba(0,0,0,0.12);
  
  /* Animation Timing */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;

  /* ── Bootstrap 5.3 bridge ────────────────────────────────────────────
     Bootstrap ships its own palette in :root, and every utility that reads
     it (.text-muted, .text-secondary, a, .btn-link, code) rendered an
     off-manual colour on a brand surface. A rendered-DOM contrast sweep
     measured what the customer actually sees:

       --bs-link-color   #0d6efd  3.78:1 on the lavender tint · 4.26:1 on #f8f9fa
       --bs-secondary    #6c757d  3.94:1 on the lavender tint · 4.33:1 on #f4f6f9

     Neither hex is in brand/tokens.css, so neither may enter product. Note
     --bs-secondary-color is OPAQUE here where Bootstrap ships it as
     rgba(33,37,41,.75): an alpha grey re-composites on every surface, so no
     single ratio can be stated for it and the annotation below would be a
     guess. Grep for `var(--bs-` before relying on a token that is not here:
     anything unlisted is still Bootstrap's own colour. */
  --bs-body-color:            #16171D;
  --bs-body-color-rgb:        22, 23, 29;
  --bs-link-color:            #5A3DBE;  /* 7.37:1 white · 7.00:1 #f8f9fa */
  --bs-link-color-rgb:        90, 61, 190;
  --bs-link-hover-color:      #3C10AF;  /* 11.14:1 white */
  --bs-link-hover-color-rgb:  60, 16, 175;
  --bs-secondary-color:       #6A6F81;  /* --text-300, drives .text-muted */
  --bs-secondary:             #6A6F81;
  --bs-secondary-rgb:         106, 111, 129;  /* drives .text-secondary */
  --bs-code-color:            #3C10AF;  /* --ulfra-data-code: 11.14:1 white */
}

/* .btn-outline-secondary hardcodes #6c757d in its own --bs-btn-color, so the
   :root bridge above cannot reach it. 4.33:1 on the dashboard canvas. */
.btn-outline-secondary {
  --bs-btn-color:               #5B6076;  /* --text-200: 6.21:1 white */
  /* Manual v1.2 rule 4b: the boundary of a secondary/ghost button is
     REQUIRED INFORMATION under WCAG SC 1.4.11 and must clear 3:1 against the
     ground it sits on. #8A90A6 measured 3.17:1 on white and 2.93:1 on the
     dashboard canvas #f4f6f9: it passed where it was checked and failed
     where most dashboard buttons actually are. `--ulfra-border-control`
     (#7C81A2) is the token v1.2 introduced for exactly this: 3.81:1 white,
     3.51:1 dashboard canvas, 3.58:1 on the manual's own canvas. Truncated,
     worst case named. */
  --bs-btn-border-color:        #7C81A2;
  --bs-btn-hover-bg:            #5B6076;
  --bs-btn-hover-border-color:  #5B6076;
  --bs-btn-active-bg:           #5B6076;
  --bs-btn-active-border-color: #5B6076;
  --bs-btn-disabled-color:      #5B6076;
  --bs-btn-disabled-border-color: #7C81A2;
}

/* A .card re-asserts --bs-body-color over an ancestor's .text-white, so a
   translucent card inside a full-violet band renders near-black ink on
   violet: measured 1.71:1 on /presencia-digital/ and /aliados/, i.e. the
   block was effectively unreadable while every stylesheet was "correct".
   Manual §04: on full violet the ink is white / #EDE9FB / #D5C9FA. */
.bg-primary .card.bg-white.bg-opacity-10 {
  color: var(--ulfra-on-violet, #fff);   /* 9.01:1 on the composited panel */
}

/* Text on a full-violet band. .opacity-50 over the signature violet measured
   3.69:1; the manual's floor on violet is --ulfra-on-violet-muted #D5C9FA
   (7.19:1 on #3C10AF), and it recedes by being SMALL, not by being faded. */
.bg-primary .opacity-50,
.bg-primary .opacity-75 {
  opacity: 1 !important;
  color: #D5C9FA;
}

/* .navbar hard-sets a 90%-white wash with !important, which beats the
   .bg-white utility. On /auth/ the page behind it is full violet, so a navbar
   the markup explicitly declares WHITE composited to #EFECF9 and its muted
   text measured 4.29:1. An explicit utility should win over a component
   default; making it opaque restores --text-300 to 4.99:1 there. */
.navbar.bg-white { background-color: #fff !important; }

/* --text-300 is NOT for text on a tint (4.18:1 on the lavender panels these
   pages paint). Inside a tinted block the ink steps up to --text-200 and the
   link takes the action colour, per manual §09/§11. */
.pub-endcta .text-muted,
.pub-endcta .text-secondary,
.pub-endcta .small {
  color: var(--text-200) !important;     /* 5.22:1 on #EDE9FB */
}
.pub-endcta a { color: var(--primary-100); }  /* 6.20:1 on #EDE9FB */

/* =========================================
   GLOBAL STYLES & ANIMATIONS
   ========================================= */
html {
  scroll-behavior: smooth;
}

/* Manual §05: Manrope for body (16px / 1.65), Sora for display. 'Inter' was
   named here and never loaded by any page, so the site was silently rendering
   in system-ui: a font the manual does not list. */
body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text-200);
  background-color: var(--bg-100);
}

/* Display type. Sora, per manual §05 (headlines 600 / -.01em / 1.15).
   Only .hero-headline and one other rule named Sora before this; every other
   heading on the site inherited the body face, so the display/body pairing the
   manual is built on existed on two elements out of the whole site. */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* The logotype: Sora 700, .22em, uppercase (manual §05 / rule 9). */
.ulfra-logotype {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-300);
  box-shadow: var(--shadow-sm);
}

.navbar-nav .nav-link {
  color: var(--text-200) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-100) !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-100) !important;
  font-weight: 700;
}

.navbar-toggler {
  border: 1px solid var(--primary-100);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background-color: #fff;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-100-rgb), 0.25);
  outline: 0;
}

/* The hamburger. This is a PHONE-ONLY control: .navbar-toggler is hidden
   above the lg breakpoint, and it was still drawing the RETIRED old primary,
   URL-encoded inside the data: URI (the '#' written as '%23'), which is why
   every grep for the retired palette walked straight past it. Now
   --ulfra-action-fill (#5A3DBE), the same value --primary-100 carries; a
   data: URI cannot read a CSS custom property, so the literal is the token's
   value and is commented as such. Manual v1.1 §04.

   ACTION and not the signature #3C10AF, because the toggler is a control the
   user taps, and §04 reserves the signature for the logo and headlines. On the
   navbar's white ground (.navbar is rgba(255,255,255,.9); .navbar.bg-white
   forces #fff) the strokes measure 7.38:1. WCAG 1.4.11 wants 3:1 for a
   graphical control, and the retired value it replaces measured 6.85:1, so
   this is a small improvement as well as a correct one. */
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235A3DBE' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary {
  background: var(--primary-100);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  background: var(--primary-200);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-100-rgb), 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-100);
  color: var(--primary-100);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--primary-100);
  color: #fff;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.text-primary {
  color: var(--primary-100) !important;
}

.bg-light {
  background-color: var(--bg-200) !important;
}

.pricing-card-featured {
  border: 2px solid var(--primary-100) !important;
  transform: scale(1.02);
  z-index: 2;
}

.plan-kicker {
  color: var(--primary-100);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   HERO. REDESIGNED (dark editorial)
   ========================================= */
.hero {
  background: var(--bg-200); /* --ulfra-bg-canvas #F7F8FB */
  padding: clamp(80px, 10vw, 120px) 0 clamp(70px, 9vw, 110px);
  position: relative;
  overflow: hidden;
  color: var(--text-100);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-container {
  position: relative;
  z-index: 2;
}

/* --- Atmospheric background --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  animation: orb-drift 14s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  /* decorative radial blob removed (design rule: no color blends) */
  background: transparent;
  top: -160px; left: -150px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 440px; height: 440px;
  /* decorative radial blob removed (design rule: no color blends) */
  background: transparent;
  bottom: -80px; right: 4%;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 340px; height: 340px;
  /* decorative radial blob removed (design rule: no color blends) */
  background: transparent;
  top: 35%; right: 20%;
  animation-delay: -10s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -18px) scale(1.04); }
  66%       { transform: translate(-18px, 14px) scale(0.96); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  /* decorative grid-line gradients removed (design rule: no color gradients) */
  background-image: none;
  background-size: 56px 56px;
  /* mask-image kept: this is an alpha mask (falloff), not a color blend; it is not a background. */
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
}

/* --- Content --- */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--primary-100-rgb), 0.08);
  border: 1px solid rgba(var(--primary-100-rgb), 0.22);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-100);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-100);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--primary-100-rgb), 0.5); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 5px rgba(var(--primary-100-rgb), 0); }
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.07;
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.headline-accent {
  /* flat brand primary (gradient text removed per design rule) */
  color: var(--primary-100);
}

.hero-subtext {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  color: var(--text-200);
  margin-bottom: 1.75rem;
  max-width: 490px;
}

.hero-pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--primary-100-rgb), 0.06);
  border: 1px solid rgba(var(--primary-100-rgb), 0.2);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--text-200);
  margin-bottom: 2rem;
}

.hero-pricing-tag i { color: var(--accent-100); }
.hero-pricing-tag strong { color: var(--text-100); font-weight: 700; }

/* --- CTAs --- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-100);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(var(--primary-100-rgb), 0.35);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  /* flat translucent white highlight (gradient removed per design rule) */
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-100-rgb), 0.55);
}

.btn-hero-primary:hover::after { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-100);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(var(--primary-100-rgb), 0.3);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(var(--primary-100-rgb), 0.06);
  color: var(--primary-100);
  border-color: var(--primary-100);
}

/* --- Trust strip --- */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-300);
  font-weight: 500;
}

.trust-item i { color: var(--primary-100); font-size: 0.85rem; opacity: 0.75; }

.trust-sep {
  width: 1px;
  height: 14px;
  background: var(--bg-300);
}

/* =========================================
   HERO VISUAL: phone mockup
   ========================================= */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  z-index: 2;
}

/* Phone frame */
.phone-mockup { position: relative; z-index: 3; }

.phone-frame {
  width: 248px;
  height: 496px;
  /* Manual §08: dark is CARBON, never violet. #1e1740 was a violet-tinted
     dark that appears nowhere in tokens.css. */
  background: #16171D; /* --ulfra-bg-surface, dark column */
  border-radius: 40px;
  padding: 12px 12px 16px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.08),
    0 30px 70px rgba(0,0,0,0.6),
    0 0 100px rgba(var(--primary-100-rgb), 0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}

.phone-notch {
  width: 72px;
  height: 18px;
  background: #0F1014; /* --ulfra-bg-canvas, dark column: no pure black (§08) */
  border-radius: 0 0 12px 12px;
  margin: 0 auto 6px;
}

.phone-screen {
  width: 100%;
  height: calc(100% - 24px);
  background: var(--bg-200); /* --ulfra-bg-canvas #F7F8FB */
  border-radius: 28px;
  overflow: hidden;
}

/* CSS-drawn site preview */
.site-preview { width: 100%; height: 100%; background: #fff; }

.sp-header {
  background: #0F1014; /* --ulfra-bg-canvas, dark column: no pure black (§08) */
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-logo {
  width: 48px; height: 7px;
  /* flat brand primary (gradient removed per design rule) */
  background: var(--primary-100);
  border-radius: 4px;
}

.sp-nav { display: flex; gap: 5px; }

.sp-nav-item {
  width: 16px; height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

.sp-hero-band {
  height: 120px;
  /* Carbon, not violet (manual §08). */
  background: #16171D; /* --ulfra-bg-surface, dark column */
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.sp-line {
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  margin-bottom: 6px;
  height: 7px;
}
.sp-line-lg  { width: 72%; }
.sp-line-md  { width: 50%; background: rgba(255,255,255,0.5); height: 5px; }
.sp-line-sm  { width: 60%; height: 5px; background: rgba(0,0,0,0.25); }
.sp-line-xs  { width: 40%; height: 4px; background: rgba(0,0,0,0.15); margin-bottom: 0; }

.sp-cta {
  width: 52px; height: 15px;
  background: var(--accent-100);
  border-radius: 8px;
  margin-top: 4px;
}

.sp-section {
  padding: 10px 8px;
  display: flex;
  gap: 5px;
}

.sp-card {
  flex: 1;
  height: 58px;
  background: var(--primary-300); /* --ulfra-brand-tint #EDE9FB */
  border-radius: 6px;
  border-top: 3px solid var(--primary-100);
  animation: sp-breathe 3.2s ease-in-out infinite;
}

.sp-card--accent {
  /* Was the cyan accent on a cyan wash. There is no second hue (§12); the two
     cards differ by elevation now, not by colour. */
  border-top-color: var(--primary-200);
  background: #FBFAFF; /* --ulfra-bg-raised */
  animation-delay: 0.7s;
}

.sp-card:last-child { animation-delay: 1.4s; }

@keyframes sp-breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.72; }
}

.sp-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.sp-info-icon {
  width: 22px; height: 22px;
  background: var(--primary-100);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

.sp-whatsapp-bar {
  margin: 0 8px 8px;
  height: 32px;
  /* flat WhatsApp green (gradient removed per design rule) */
  background: #25D366;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sp-wa-icon {
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
}

.sp-wa-text {
  width: 60px; height: 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 3px;
}

/* Floating stat cards */
.stat-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(var(--primary-100-rgb), 0.1);
  border-radius: 14px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  min-width: 155px;
  box-shadow: 0 8px 32px rgba(var(--primary-100-rgb), 0.12), 0 2px 8px rgba(0,0,0,0.06);
}

.stat-icon-wrap {
  width: 34px; height: 34px;
  background: var(--primary-300);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-100);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.stat-val {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-100);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.68rem;
  color: var(--text-300);
  line-height: 1.3;
}

.stat-card--1 { top: 10%;  left: -6%; }
.stat-card--2 { bottom: 14%; right: -4%; }
.stat-card--3 { top: 54%;  left: -12%; }

/* Float animation (reuse existing) */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.05); }
}

/* Mobile hero overrides */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-visual { min-height: 460px; }
  .stat-card--1 { left: 2%; top: 4%; }
  .stat-card--2 { right: 2%; bottom: 4%; }
  .stat-card--3 { display: none; }
}

@media (max-width: 575.98px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .hero-trust { gap: 0.6rem; }
  .trust-sep { display: none; }
  .hero-visual { min-height: 380px; }
  .phone-frame { width: 200px; height: 400px; }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  /* flat brand primary (gradient removed per design rule) */
  background: var(--primary-100);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* decorative shine gradient removed per design rule */
  background: transparent;
  transition: left 0.6s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  /* flat brand primary-200 on hover (gradient removed per design rule) */
  background: var(--primary-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Brand v1.3 G2: pressed is a step darker than hover. Light: white on
   #3C10AF (hover) 11.13:1 · on #2E0C88 (pressed) 13.77:1. */
.btn-primary:active,
.btn-primary.active {
  background: var(--ulfra-action-fill-pressed);
  transform: none;
}

/*
 * Bootstrap's own variables for .btn-primary. The rules above paint the
 * RESTING and :hover states with a `background` shorthand at (0,1,0), but
 * Bootstrap 5.3 paints `.btn:focus-visible`, `:active`, `.active` and `.show`
 * from --bs-btn-hover-bg / --bs-btn-active-bg / --bs-btn-focus-box-shadow at
 * (0,2,0), and on `.btn-primary` those are literal #0b5ed7, #0a58ca and a
 * rgba(49,132,253) glow. So a primary button that regained focus (a modal
 * closing returns focus to «Agregar regla») flipped to Bootstrap blue.
 * The brand ring is the 2px outline declared in the accessibility block; the
 * Bootstrap glow is switched off so it does not stack on top of it.
 * Light: white on #5A3DBE 7.37:1 · on #3C10AF (hover/pressed) 11.14:1.
 */
.btn-primary {
  --bs-btn-bg:                  var(--primary-100);
  --bs-btn-border-color:        var(--primary-100);
  --bs-btn-hover-color:         #fff;
  --bs-btn-hover-bg:            var(--primary-200);
  --bs-btn-hover-border-color:  var(--primary-200);
  --bs-btn-focus-shadow-rgb:    var(--primary-100-rgb);
  --bs-btn-focus-box-shadow:    none;
  --bs-btn-active-color:        #fff;
  --bs-btn-active-bg:           var(--ulfra-action-fill-pressed);
  --bs-btn-active-border-color: var(--ulfra-action-fill-pressed);
  --bs-btn-active-shadow:       none;
  --bs-btn-disabled-bg:         var(--primary-100);
  --bs-btn-disabled-border-color: var(--primary-100);
}

.btn-outline-primary {
  border: 2px solid var(--primary-100);
  color: var(--primary-100);
  background: transparent;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
  background: var(--primary-100);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/*
 * Bootstrap's own button variables for the outline family.
 *
 * The rules above style the RESTING and :hover states, which is why an
 * unchecked segmented button was already brand purple. The ACTIVE state:
 * `.btn-check:checked + .btn`, `.btn.active`, `:active`: is painted from
 * `--bs-btn-active-bg`, which Bootstrap sets to a literal #0d6efd on the class
 * itself. So a radio-group chip rendered purple until you selected it and blue
 * afterwards, which is precisely backwards: the selected one is the one being
 * asserted about.
 */
/* The Bootstrap glow would stack on the brand outline: off for the family. */
.btn-outline-primary,
.btn-link,
.btn-secondary,
.btn-outline-secondary {
  --bs-btn-focus-box-shadow: none;
}
/* .btn-secondary is Bootstrap grey #6c757d with a blue-grey glow; bridge it
   to the secondary neutral (white on #5B6076 6.21:1, hover #16171D). */
.btn-secondary {
  --bs-btn-bg:                  #5B6076;
  --bs-btn-border-color:        #5B6076;
  --bs-btn-hover-bg:            #16171D;
  --bs-btn-hover-border-color:  #16171D;
  --bs-btn-active-bg:           #16171D;
  --bs-btn-active-border-color: #16171D;
  --bs-btn-disabled-bg:         #5B6076;
  --bs-btn-disabled-border-color: #5B6076;
  --bs-btn-focus-shadow-rgb:    91, 96, 118;
}
.btn-outline-primary {
  --bs-btn-color: var(--primary-100);
  --bs-btn-border-color: var(--primary-100);
  --bs-btn-hover-bg: var(--primary-100);
  --bs-btn-hover-border-color: var(--primary-100);
  --bs-btn-active-bg: var(--primary-100);
  --bs-btn-active-border-color: var(--primary-100);
  --bs-btn-disabled-color: var(--primary-100);
  --bs-btn-disabled-border-color: var(--primary-100);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
/* A checked segmented button must not keep the resting rule's transparent
   background, which the specificity above would otherwise leave in place. */
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary:active {
  background: var(--primary-100);
  border-color: var(--primary-100);
  color: #fff;
  transform: none;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/*
 * Disabled = 45% opacity of the SAME token, never a new grey (manual §11 /
 * rule 8). Bootstrap ships .65 and, worse, several surfaces in this codebase
 * reached for a bespoke grey instead: which reads as a different component
 * rather than the same one turned off.
 *
 * Deliberately NOT applied to form controls: a disabled <input> at 45% takes
 * its LABEL and VALUE down with it, and a value the user still has to read is
 * not decoration. Bootstrap's own muted fill covers those.
 */
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
  opacity: .45;
}

/* =========================================
   CARDS & CONTENT SECTIONS
   ========================================= */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  /* flat brand primary (gradient removed per design rule) */
  background: var(--primary-100);
  border: none;
  color: white;
  font-weight: 600;
}

.card-footer {
  background-color: var(--bg-100);
  border: none;
}

/* Section Styling */
section {
  transition: all var(--transition-slow);
}

.bg-light {
  /* flat light surface color (gradient removed per design rule) */
  background: #f8f9fa !important;
}

/* =========================================
   CAROUSEL & SLIDERS
   ========================================= */
.carousel-caption {
  background: rgba(var(--primary-100-rgb), 0.85);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-item img {
  object-fit: cover;
  height: 400px;
  width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* =========================================
   ACCORDIONS & INTERACTIVE ELEMENTS
   ========================================= */
.accordion-button {
  background-color: var(--bg-100);
  border: none;
  color: var(--text-100);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.accordion-button:not(.collapsed) {
  /* flat tinted surface (gradient removed per design rule) */
  background: var(--primary-300);
  color: var(--primary-100);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-100-rgb), 0.25);
}

.accordion-item {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

/* =========================================
   ICONS & VISUAL ELEMENTS
   ========================================= */
.bi {
  transition: all var(--transition-normal);
}

.text-primary {
  color: var(--primary-100) !important;
}

/*
 * Full-bleed brand bands.
 *
 * `.text-primary`, `.btn-primary` and `.badge.bg-primary` were all re-pointed
 * at the brand purple; `.bg-primary` was not, so every `<section class="bg-primary">`
 * kept rendering in Bootstrap's default #0d6efd: a colour that appears in
 * neither Ulfra palette. The result was a site whose headings and buttons were
 * purple and whose big bands were a generic blue.
 *
 * It also failed WCAG AA: #f8f9fa text on #0d6efd measures 4.27:1, just under
 * the 4.5:1 minimum. On the brand signature #3C10AF the same text measures
 * 10.57:1, so making the band brand-correct makes it legible at the same time.
 *
 * `.text-bg-primary` is Bootstrap's newer pairing helper and sets the same
 * background, so it is re-pointed here too: otherwise a page using the modern
 * utility would silently keep the old blue.
 */
.bg-primary,
.text-bg-primary {
  /* The BAND is the signature violet (§12); the action colour is reserved for
     the thing the user clicks, so a button sitting on a band stays visible as
     a button. White on #3C10AF = 11.14:1. */
  background-color: var(--primary-200) !important;
}

/* A #5A3DBE ring on a #3C10AF band measures 1.51:1: invisible. The old code
   solved this with a cyan ring, which then measured 2.12:1 on white, i.e. it
   was invisible on the other half of the site. Redefining the token inside the
   band is what makes ONE ring rule work on both grounds:
   #EDE9FB on #3C10AF = 9.36:1, and the default #5A3DBE on white = 7.38:1. */
.bg-primary,
.text-bg-primary,
.cta-gradient {
  --ulfra-focus-ring: #EDE9FB; /* --ulfra-on-violet-soft */
}

/*
 * The ROOT of the purple/blue split: Bootstrap's own --bs-primary.
 *
 * Overriding `.text-primary`, `.btn-primary`, `.badge.bg-primary` and
 * `.bg-primary` one at a time fixes the components somebody remembered and
 * leaves every other consumer of --bs-primary on #0d6efd. That is how a
 * segmented control added to the create-org form (`.btn-check:checked +
 * .btn-outline-primary`, whose fill comes straight from the variable) rendered
 * Bootstrap blue while the unchecked half beside it rendered brand purple.
 *
 * Setting the variable covers every consumer that reads it: the
 * `rgba(var(--bs-primary-rgb), …)` utilities, subtle backgrounds, focus tints.
 *
 * It does NOT cover the .btn-* families: Bootstrap compiles literal hex into
 * their `--bs-btn-*` variables rather than referencing --bs-primary, so
 * `.btn-outline-primary` keeps a hard-coded #0d6efd for its active/hover fill
 * no matter what this variable says. Those are re-pointed separately below.
 * Measured, not assumed: after setting the variable the checked half of a
 * segmented control was still rgb(13,110,253).
 *
 * --bs-primary-rgb backs the rgba() forms (.bg-primary-subtle, focus shadows);
 * leaving it behind would keep a blue tint under a purple element.
 */
:root {
  --bs-primary: #5A3DBE;
  --bs-primary-rgb: 90, 61, 190;
}

/* Icon hover effects */
.fs-1:hover,
.display-5:hover {
  transform: scale(1.1);
  color: var(--accent-100) !important;
}

/* Pricing badges */
.badge {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

.badge.bg-primary {
  /* flat brand primary (gradient removed per design rule) */
  background: var(--primary-100) !important;
}

/* =========================================
   IMAGES & MEDIA
   ========================================= */
img {
  transition: opacity var(--transition-normal);
}

.img-fluid {
  border-radius: var(--border-radius);
}

.rounded-circle:hover {
  transform: scale(1.05) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* =========================================
   LISTS & CONTENT
   ========================================= */
.list-unstyled li {
  transition: all var(--transition-fast);
}

.list-unstyled li:hover {
  transform: translateX(5px);
  color: var(--primary-100);
}

/* =========================================
   NUESTRO ADN (QUIÉNES SOMOS)
   ========================================= */
.adn-section {
  padding: 100px 0;
  background-color: var(--bg-100);
  position: relative;
}

/* Subtle Grid Background Pattern */
.adn-grid-bg {
  position: absolute;
  inset: 0;
  /* decorative grid-line gradients removed (design rule: no color gradients) */
  background-image: none;
  background-size: 50px 50px;
  opacity: 0.15;
  pointer-events: none;
}

.adn-eyebrow {
  color: var(--primary-100);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.adn-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-100);
  margin-bottom: 1.5rem;
}

.adn-subheadline {
  font-size: 1.25rem;
  color: var(--text-200);
  max-width: 800px;
  line-height: 1.6;
}

/* Layer 1: Manifesto */
.adn-manifesto {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-200);
  border-left: 1px solid var(--bg-300);
  padding-left: 2rem;
}

.adn-manifesto strong {
  color: var(--text-100);
  font-weight: 600;
}

/* Layer 2: Pillars Grid */
.adn-pillar-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0;
  border: 1px solid var(--bg-300);
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
}

.adn-pillar-card:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.adn-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-100);
  transition: height var(--transition-normal);
}

.adn-pillar-card:hover::before {
  height: 100%;
}

.adn-pillar-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-100);
}

.adn-impact-tag {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-100);
  letter-spacing: 0.5px;
}

/* Layer 3: Values & Identity */
.adn-identity-block {
  background-color: var(--text-100);
  color: #ffffff;
  padding: 80px 0;
}

.adn-value-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.adn-value-item:last-child {
  border-bottom: none;
}

/* Brand Statement Band */
.brand-statement-band {
  background: var(--bg-200);
  padding: 1.5rem 0;
  border-top: 1px solid var(--bg-300);
  border-bottom: 1px solid var(--bg-300);
}

.statement-item {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-300);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.statement-item span {
  color: var(--primary-100);
}

@media (max-width: 768px) {
  .adn-manifesto {
    padding-left: 0;
    border-left: none;
    margin-bottom: 3rem;
  }
}

/* =========================================
   FOOTER ENHANCEMENT
   ========================================= */
footer {
  /* flat dark surface (gradient removed per design rule) */
  background: #343a40 !important;
  color: #fff;
  padding: 2rem 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* flat brand primary accent line (gradient removed per design rule) */
  background: var(--primary-100);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .carousel-item img { height: 400px; }
  .carousel-inner { height: 500px; }
}

/* =========================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================= */
/* Content is visible by default: the entrance animation is progressive
   enhancement only. The hidden starting state applies exclusively once JS
   confirms IntersectionObserver support and adds .js-anim to <html>. If the
   script fails to load or run, every section stays fully visible. */
.scroll-animate {
  opacity: 1;
  transform: none;
}

.js-anim .scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.js-anim .scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .scroll-animate { opacity: 1; transform: none; transition: none; }
}

/* Staggered entry for pricing plans */
.pricing-plans .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.pricing-plans .scroll-animate:nth-child(2) { transition-delay: 0.3s; }
.pricing-plans .scroll-animate:nth-child(3) { transition-delay: 0.5s; }

/* Staggered entry for other generic grid containers if needed */
.row .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.row .scroll-animate:nth-child(3) { transition-delay: 0.4s; }
.row .scroll-animate:nth-child(4) { transition-delay: 0.6s; }

/* =========================================
   PRICING CARDS: 3-band alignment across cards
   Equal-height cards (align-items:stretch + h-100) pin the price+CTA band to
   the bottom; a min-height on the head band makes every feature list start at
   the same Y, so head / features / price line up across all three cards.
   ========================================= */
.pricing-plans .card-body { display: flex; flex-direction: column; }
.plan-head { margin-bottom: 1rem; }
.plan-list { flex: 1 0 auto; margin-bottom: 1.25rem; }
.pricing-card .plan-list li:last-child { margin-bottom: 0; }
.plan-foot { margin-top: auto; }

@media (min-width: 992px) {
  /* Equal floors on the head and price bands so all three bands line up
     across cards. Values track the tallest card's natural bands. */
  .pricing-plans .plan-head { min-height: 224px; }
  .pricing-plans .plan-foot { min-height: 364px; display: flex; flex-direction: column; justify-content: center; }
}

/* =========================================
   LOADING STATES
   ========================================= */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* flat translucent white shimmer (gradient removed per design rule) */
  background: rgba(255,255,255,0.4);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* =========================================
   GLASS MORPHISM EFFECTS
   ========================================= */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
}

/* =========================================
   CUSTOM UTILITIES
   ========================================= */
.text-gradient {
  /* flat brand primary (gradient removed per design rule) */
  color: var(--primary-100);
}

.text-accent {
  color: var(--accent-100) !important;
}

.border-gradient {
  /* flat brand primary border (gradient removed per design rule) */
  border: 2px solid var(--primary-100);
}

.hover-scale:hover {
  transform: scale(1.02);
}

.hover-shadow:hover {
  box-shadow: var(--shadow-lg);
}

/* (Hero mobile overrides are co-located with hero section above) */

/* =========================================
   NAVBAR. AUTH ITEMS (móvil / hamburguesa)
   ========================================= */
/* Divisor con gradiente fade: alineado al ancho del menú */
.nav-auth-divider {
  border: 0;
  height: 1px;
  margin: .85rem 0 .5rem;
  /* flat translucent brand divider (gradient removed per design rule) */
  background: rgba(var(--primary-100-rgb), .35);
  opacity: 1;
}

/* Ambos enlaces: discretos, en línea con los demás nav-link */
.navbar-nav .nav-link.nav-link-auth {
  color: var(--primary-100) !important;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link.nav-link-auth:hover,
.navbar-nav .nav-link.nav-link-auth:focus-visible {
  color: var(--primary-200) !important;
  outline: none;
}

/* Logged-in "Mi Cuenta" state: updateAuthUI() adds .btn-primary (purple fill),
   which would collide with the purple nav-link-auth text and hide the label.
   Force white text/icon on the filled button (incl. the mobile menu item). */
.navbar-nav .nav-link.nav-link-auth.btn-primary,
.navbar-nav .nav-link.nav-link-auth.btn-primary:hover,
.navbar-nav .nav-link.nav-link-auth.btn-primary:focus-visible {
  color: #fff !important;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.card-featured {
  box-shadow: 0 8px 24px rgba(var(--primary-100-rgb), 0.25);
  border-top: 4px solid var(--primary-100) !important;
}

.cta-gradient {
  /* flat brand primary (gradient removed per design rule) */
  background: var(--primary-100);
  color: #fff;
}

.testimonial-card {
  max-width: 600px;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

/* =========================================
   ACCESSIBILITY: focus-visible + reduced motion
   Shared with the SSO admin (ulfra-sso-front) via mirrored tokens.

   Manual §11: 2px ring in --ulfra-focus-ring with 2px offset, visible in BOTH
   themes. The ring reads a TOKEN rather than a literal because no single
   colour clears the 3:1 non-text minimum against every ground this site has:
     #5A3DBE on #FFFFFF ....... 7.38:1  (default, set on :root)
     #EDE9FB on #3C10AF ....... 9.36:1  (violet band, scoped above)
     #A794F0 on #171a21 ....... 6.75:1  (dashboard dark, dashboard.css; the ring is UNCHANGED in brand v1.3)
   The previous cyan #00BFFF ring measured 2.12:1 on white: it FAILED on the
   surface most of the product is made of, while passing on the band it was
   chosen for.
   ========================================= */
:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--ulfra-focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* …and the Bootstrap components that CANCEL that ring.
 *
 * Bootstrap 5.3 ships `.nav-link:focus-visible { outline: 0; box-shadow: 0 0 0
 * .25rem rgba(13,110,253,.25) }`. That selector is (0,2,0); the block above is
 * (0,1,1), so Bootstrap wins, and the rule above, which reads like the site's
 * focus policy, painted nothing on the single most-used control in the
 * product. What a keyboard user actually got was a 4px translucent BLUE glow
 * measuring roughly 1.5:1 against white: an off-palette colour that is also
 * very nearly invisible, on every navbar link and every dashboard sidebar
 * item, in both themes.
 *
 * Found by pressing Tab in a real browser and reading the computed style:
 * not by reading this stylesheet, where nothing is wrong. The same shape
 * applies to the other components listed here, all of which trade the outline
 * for the same blue glow.
 *
 * Manual §11: 2px ring + 2px offset, ALWAYS visible, both themes. */
.nav-link:focus-visible,
.btn:focus-visible,
.btn-check:focus-visible + .btn,
.page-link:focus,
.btn-close:focus,
.accordion-button:focus,
.navbar-toggler:focus,
.form-check-input:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--ulfra-focus-ring);
  outline-offset: 2px;
  box-shadow: none;
}
/* An input's ring sits INSIDE its own border box, or a 2px offset ring on a
   dense form reads as a collision with the field next to it. */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline-offset: 0;
  border-color: var(--ulfra-focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================
   SHARED EMPTY STATE & SKELETON
   Used by the customer dashboard and the SSO admin (sso-front mirrors
   these names in its own components.css). Keeps the "nothing here yet"
   feeling consistent across the two surfaces.
   ========================================= */
.u-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  gap: .35rem;
  color: var(--text-200);
}
.u-empty-state .u-empty-icon {
  font-size: 2rem;
  color: var(--primary-100);
  opacity: .45;
  margin-bottom: .25rem;
}
.u-empty-state .u-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-100);
}
.u-empty-state .u-empty-text {
  font-size: .9rem;
  color: var(--text-200);
  max-width: 42ch;
}
.u-empty-state .u-empty-cta {
  margin-top: 1rem;
}

/* Compact form, for an empty/failed state INSIDE a small card (the support
   help panel) rather than in place of a whole page. Same words, same roles,
   a quarter of the padding. */
.u-empty-state--inline {
  padding: .85rem .5rem;
  gap: .2rem;
}
.u-empty-state--inline .u-empty-title { font-size: .85rem; }
.u-empty-state--inline .u-empty-text  { font-size: .78rem; }

.u-skeleton {
  display: block;
  /* flat skeleton surface (shimmer gradient removed per design rule) */
  background: var(--bg-200);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: u-shimmer 1.4s ease-in-out infinite;
  min-height: 14px;
}
.u-skeleton-line   { height: 14px; margin: .35rem 0; }
.u-skeleton-line.w-50  { width: 50%; }
.u-skeleton-line.w-75  { width: 75%; }
.u-skeleton-line.w-100 { width: 100%; }

@keyframes u-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

