/*
Theme Name: Universal Bowling
Description: Standalone theme for universalbowling.co. No parent theme, no page builder: pages are hand-written HTML styled by this file.
Version: 3.0.0
Requires PHP: 8.1
Text Domain: universal-bowling
*/

/* ============ Brand tokens ============ */
:root {
  --black:      #12160F;
  --deep:       #171B10;
  --dark:       #1C2113;
  --panel:      #242B18;
  --panel2:     #2C341D;

  --green:      #3D7A17;
  --green2:     #8FC31F;
  --green-glow: rgba(61,122,23,.15);
  --green-dim:  rgba(61,122,23,.55);
  --green-faint:rgba(61,122,23,.08);
  --green-border:rgba(61,122,23,.2);
  --forest:     #1F4A0D;  /* the globe's shadow side — deeper background tints, hover washes */
  --forest-wash:rgba(31,74,13,.2);
  --steel:      #5C6868;  /* the ball's metal gradient — quiet secondary marks, index numbers */
  --orange:     #FF6040;  /* warm second accent — warnings, awards, "in progress" status. Used sparingly, never for primary CTAs */
  --orange-wash:rgba(255,96,64,.1);
  --orange-border:rgba(255,96,64,.32);

  /* ---- Light-surface variant (test: hybrid dark/light layout) ---- */
  --light-bg:     #EAEDED;  /* light silver — a tint of --steel, the ball's own metal tone */
  --light-panel:  #E1E5E5;
  --light-ink:    #12160F;
  --light-muted:  #3F4B4B;  /* darkened from #5C6868 (2026-09-03) — that value read as too low-contrast on light-bg/white cards for anything smaller than large body text */
  --light-border: rgba(18,32,32,.12);

  --white:      #f2f2f2;
  --muted:      rgba(242,242,242,.6);
  --faint:      rgba(242,242,242,.32);

  --border:     rgba(255,255,255,.07);
  --border2:    rgba(255,255,255,.04);

  --f-display: 'Barlow Condensed', sans-serif;
  --f-ui:      'Barlow Condensed', sans-serif;
  --f-body:    'Barlow', sans-serif;

  --trans: .38s cubic-bezier(.4,0,.2,1);
  --section: 76px;

  /* ---- Type scale: a disciplined set, not one-off values ----
     Labels (uppercase, letter-spaced UI text) get exactly two sizes.
     Body copy gets three. Numbers get three roles. Nothing outside this list. */
  --fs-label-sm: 0.9375rem;  /* 15px — dense chips: port-tag, ticker, form-label */
  --fs-label:    1.0625rem;  /* 17px — card/step/fact titles, table-head, sub-labels */
  --fs-body-sm:  1.0625rem;  /* 17px — secondary/description copy */
  --fs-body:     1.125rem;   /* 18px — base paragraph, inputs */
  --fs-body-lg:  1.1875rem;  /* 19px — lede/intro paragraphs */
  --fs-stat:     clamp(2.25rem, 4vw, 2.75rem);  /* adv-num, mstat-n, hstat-num */
  --fs-stat-hero:clamp(5rem, 10vw, 8.5rem);     /* the one hero showcase number */
  --fs-ghost:    clamp(2.5rem, 5vw, 3.5rem);    /* decorative background numbers */
}

/* ============ Self-hosted fonts ============ */
@font-face { font-family:'Barlow'; font-weight:300; font-style:normal; font-display:swap; src:url('fonts/barlow/barlow-300.woff2') format('woff2'); }
@font-face { font-family:'Barlow'; font-weight:400; font-style:normal; font-display:swap; src:url('fonts/barlow/barlow-400.woff2') format('woff2'); }
@font-face { font-family:'Barlow'; font-weight:500; font-style:normal; font-display:swap; src:url('fonts/barlow/barlow-500.woff2') format('woff2'); }
@font-face { font-family:'Barlow'; font-weight:600; font-style:normal; font-display:swap; src:url('fonts/barlow/barlow-600.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:300; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-300.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:400; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-400.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:500; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-500.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:600; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-600.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:700; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-700.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:800; font-style:normal; font-display:swap; src:url('fonts/barlow/barlowcond-800.woff2') format('woff2'); }

/* ============ Reset / base ============ */
.ub-page, .ub-page *, .ub-page *::before, .ub-page *::after { box-sizing: border-box; }
.ub-page {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  background: var(--black);
  color: var(--white);
  margin: -1px 0 0; /* pull up under Astra's content padding */
}
.ub-page img { display: block; max-width: 100%; }
.ub-page a { text-decoration: none; color: inherit; }
.ub-page ul { list-style: none; margin: 0; padding: 0; }

/* Force our typography to win over Astra's defaults everywhere inside our pages */
.ub-page h1, .ub-page h2, .ub-page h3, .ub-page h4,
.entry-content .ub-page h1, .entry-content .ub-page h2, .entry-content .ub-page h3, .entry-content .ub-page h4,
.elementor-widget-container .ub-page h1, .elementor-widget-container .ub-page h2,
.elementor-widget-container .ub-page h3, .elementor-widget-container .ub-page h4 {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.ub-page p, .ub-page li, .ub-page span, .ub-page label, .ub-page input, .ub-page textarea, .ub-page select {
  font-family: var(--f-body) !important;
}
/* A <span> used for a colored accent word inside a heading would otherwise be knocked
   back to the body font by the rule above — headings should always use <em> for that
   (already colored via the .sec-title em rules below) so this is a safety net, not the
   primary fix. */
.ub-page h1 span, .ub-page h2 span, .ub-page h3 span, .ub-page h4 span {
  font-family: var(--f-display) !important;
}

.ub-page .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-ui) !important; font-size: 1.05rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  margin-bottom: 2px;
}
.ub-page .eyebrow::before { content: ''; display: inline-block; width: 34px; height: 2px; background: var(--green); flex-shrink: 0; }

.ub-page .wrap { max-width: 1760px; margin: 0 auto; padding: 0 52px; }
.ub-page .wrap-sm { max-width: 1100px; margin: 0 auto; padding: 0 52px; }

/* Make sure Elementor's own section/column wrappers never re-impose a boxed cap */
.ub-page,
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-full { max-width: none !important; width: 100% !important; }
.ub-page .section { padding: var(--section) 0; }

/* ============ Buttons ============ */
.ub-page .btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 34px; border: 1px solid transparent; transition: var(--trans);
  position: relative; overflow: hidden; white-space: nowrap; cursor: pointer;
}
.ub-page .btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.ub-page .btn-green:hover { background: var(--green2); border-color: var(--green2); box-shadow: 0 0 30px rgba(61,122,23,.35), 0 0 60px rgba(61,122,23,.15); transform: translateY(-1px); }
.ub-page .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.2); }
.ub-page .btn-outline:hover { background: var(--forest-wash); border-color: var(--green); color: var(--green); box-shadow: 0 0 20px rgba(61,122,23,.1); }
/* Glass variant — same frosted look as .hstat-card, for a btn-outline that needs to visually
   match a nearby glass stat row (e.g. the hero's secondary CTA sitting right above its stats). */
.ub-page .btn-glass { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ub-page .btn-glass:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: var(--white); box-shadow: none; }
.ub-page .btn-ghost { background: transparent; color: var(--green); border: none; padding-left: 0; padding-right: 0; }
.ub-page .arrow { transition: transform var(--trans); }
.ub-page .btn:hover .arrow { transform: translateX(4px); }

/* ============ Reveal animations ============ */
.ub-page .reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s ease, transform .75s ease; }
.ub-page .reveal.on { opacity: 1; transform: none; }
.ub-page .reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity .75s ease, transform .75s ease; }
.ub-page .reveal-l.on { opacity: 1; transform: none; }
.ub-page .reveal-r { opacity: 0; transform: translateX(36px); transition: opacity .75s ease, transform .75s ease; }
.ub-page .reveal-r.on { opacity: 1; transform: none; }
.ub-page .stagger > * { opacity: 0; transform: translateY(28px); }
.ub-page .stagger.on > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.ub-page .stagger.on > *:nth-child(1){transition-delay:.0s}.ub-page .stagger.on > *:nth-child(2){transition-delay:.08s}
.ub-page .stagger.on > *:nth-child(3){transition-delay:.16s}.ub-page .stagger.on > *:nth-child(4){transition-delay:.24s}
.ub-page .stagger.on > *:nth-child(5){transition-delay:.32s}.ub-page .stagger.on > *:nth-child(6){transition-delay:.40s}
.ub-page .stagger.on > *:nth-child(7){transition-delay:.48s}.ub-page .stagger.on > *:nth-child(8){transition-delay:.56s}
@media (prefers-reduced-motion: reduce) {
  .ub-page .reveal, .ub-page .reveal-l, .ub-page .reveal-r, .ub-page .stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============ Hero ============ */
.ub-page .ub-hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 64px 0 80px; position: relative; overflow: hidden; background: var(--black); }
/* Real photo hero, used only where a page supplies a .hero-photo — pages without one keep the
   plain dark .ub-hero background untouched. Dark-at-bottom gradient keeps the hero-content
   (which sits at the bottom of the hero) readable over a busy photo. */
.ub-page .hero-photo { position: absolute; inset: 0; z-index: 0; }
.ub-page .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* A gentle overall darkening for depth/polish — not the thing carrying legibility anymore
   (the .hero-textbox panel below does that with a flat, reliable background instead of a
   gradient or a text-shadow glow, both of which read as an effect rather than a clean layer). */
.ub-page .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,22,15,.55) 0%, rgba(18,22,15,.15) 55%, rgba(18,22,15,.05) 100%); }
.ub-page .hero-glow { position: absolute; width: 700px; height: 700px; background: radial-gradient(circle, rgba(61,122,23,.07) 0%, transparent 65%); top: 5%; right: -100px; pointer-events: none; }
.ub-page .hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(61,122,23,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(61,122,23,.025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.6) 25%, rgba(0,0,0,.6) 75%, transparent 100%); }
.ub-page .hero-content { position: relative; z-index: 2; }
/* The actual fix, replacing the text-shadow-glow attempt: a plain solid panel behind the
   eyebrow/H1/description, same "frosted glass" language as .hstat-card below it — reads as a
   deliberate design layer, not an effect on the text itself. Guarantees contrast independent
   of the photo (flat opaque-ish background, not a gradient or per-letter outline), and only
   covers the text's own footprint, not the full hero width, so most of the photo stays clear.
   Reuse this component for every future photo hero rather than reaching for text-shadow again. */
/* Toned way down from the first pass: that was near-opaque and blurred enough to erase the
   photo entirely inside its own footprint, which defeats the point of a real project photo —
   the viewer couldn't tell it was a real place anymore. This is genuinely translucent (same
   family as .hstat-card below, just a bit more tinted since it hosts bigger text) so the photo
   stays recognizable *through* the panel, not just around it. A modest single text-shadow
   (not a stacked glow) is the legibility backstop instead of relying on panel opacity alone. */
.ub-page .hero-textbox { display: inline-block; max-width: 960px; background: rgba(8,10,6,.4); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 30px 34px; }
.ub-page .hero-textbox .eyebrow, .ub-page .hero-textbox .hero-h1, .ub-page .hero-textbox .hero-desc, .ub-page .hero-textbox .pos-left-quote {
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
/* Colored accent text (lime) over a warm-toned photo needed more than a soft shadow could give —
   a blurred shadow still lets warm photo color bleed through and muddy a light hue. This is a
   genuine hard-edge outline instead (four 0-blur offsets = a solid stroke, not a glow — the
   blur is what made the earlier halo attempt look like an effect) plus a soft shadow for depth.
   Real fix for text color sitting on unpredictable photo color, independent of panel opacity. */
.ub-page .hero-textbox em {
  text-shadow: 1px 1px 0 rgba(0,0,0,.95), -1px -1px 0 rgba(0,0,0,.95), 1px -1px 0 rgba(0,0,0,.95), -1px 1px 0 rgba(0,0,0,.95), 0 2px 8px rgba(0,0,0,.6);
}
.ub-page .hero-content .eyebrow { color: var(--green2); }
.ub-page .hero-content .eyebrow::before { background: var(--green2); }
.ub-page .hero-h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); max-width: 900px; }
.ub-page .hero-h1.hero-h1-compact { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.ub-page .hero-h1 em { font-style: normal; color: var(--green2); font-weight: 300 !important; }
.ub-page .hero-desc { font-size: var(--fs-body-lg); color: var(--muted); line-height: 1.7; max-width: 480px; margin-top: 22px; }
.ub-page .hero-desc strong { color: var(--green2); font-weight: 500; }
.ub-page .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.ub-page .hero-stats { display: flex; gap: 18px; margin-top: 52px; flex-wrap: wrap; }
.ub-page .hstat-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 6px; padding: 22px 28px; }
.ub-page .hstat-num { font-family: var(--f-display) !important; font-size: var(--fs-stat); font-weight: 300 !important; line-height: 1; color: var(--white); }
.ub-page .hstat-num sup { font-size: 55%; color: var(--green2, var(--green)); vertical-align: super; }
.ub-page .hstat-lbl { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,242,242,.78); margin-top: 8px; line-height: 1.4; }
.ub-page .light .hstat-card { background: rgba(255,255,255,.55); border-color: rgba(18,32,32,.12); }
.ub-page .light .hstat-num { color: var(--light-ink); }
.ub-page .light .hstat-lbl { color: var(--light-muted); }

/* ============ Ticker ============ */
.ub-page .ticker { background: var(--green); padding: 22px 0; overflow: hidden; }
.ub-page .ticker-inner { display: flex; width: max-content; animation: ub-tick 32s linear infinite; white-space: nowrap; }
.ub-page .ticker-inner span { font-family: var(--f-ui) !important; font-size: 1.05rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--white); padding: 0 42px; }
.ub-page .ticker-inner span.dot { color: rgba(255,255,255,.4); font-size: .65rem; padding: 0 10px; }
.ub-page .ticker.dark { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ub-page .ticker.dark .ticker-inner { animation-name: ub-tick-rev; }
.ub-page .ticker.dark .ticker-inner span { color: var(--green2); }
.ub-page .ticker.dark .ticker-inner span.dot { color: rgba(255,255,255,.22); }
@keyframes ub-tick { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@keyframes ub-tick-rev { from{transform:translateX(-50%);} to{transform:translateX(0);} }

/* ============ Brand reel (Pro Shop brands, distinct from the client logo wall) ============ */
.ub-page .brand-reel { overflow: hidden; padding: 8px 0; }
.ub-page .brand-reel-track { display: flex; width: max-content; gap: 40px; animation: ub-tick 50s linear infinite; }
.ub-page .brand-card { flex-shrink: 0; width: 200px; height: 110px; background: #fff; border: 1px solid var(--light-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 18px 26px; }
/* Same fix as .logo-card.dark-chip elsewhere: a white/light logo (MERIQ's mark is white-on-
   transparent) needs a dark backing, not the shared white card. */
.ub-page .brand-card.dark-chip { background: #10221f; border-color: #10221f; }
.ub-page .brand-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ub-page .brand-reel:hover .brand-reel-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ub-page .brand-reel-track { animation: none; } }

/* ============ Positioning statement ============ */
.ub-page .positioning { padding: 76px 0; background: var(--deep); border-bottom: 1px solid var(--border); }
.ub-page .pos-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.ub-page .pos-grid.pos-grid-rev { grid-template-columns: 1fr 1.4fr; }
.ub-page .pos-left-quote { font-family: var(--f-display) !important; font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-weight: 700 !important; line-height: 1.05; text-transform: uppercase; }
.ub-page .pos-left-quote em { font-style: normal; color: var(--green); display: block; font-weight: 300 !important; }
.ub-page .pos-right p { font-size: var(--fs-body); color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.ub-page .pos-callout { margin-top: 24px; padding: 20px 24px; background: var(--forest-wash); border: 1px solid var(--green-border); border-left: 3px solid var(--green); }
.ub-page .pos-callout p { font-family: var(--f-ui) !important; font-size: var(--fs-body-sm); font-weight: 600; color: var(--green); margin: 0; line-height: 1.55; }
/* Real-venue photo, now a clean standalone image — the quote that used to sit on top of it
   (as a .hero-textbox overlay) moved up into the section's own eyebrow/h2, which is what this
   section was actually missing (it had no title of its own, unlike every other section on the
   site). No more darkening/legibility treatment needed since there's no text on the photo
   anymore — it shows at full brightness. The .hero-textbox-on-a-photo pattern itself is kept
   (still used on the hero), just not needed here. */
.ub-page .pos-photo { position: relative; border-radius: 6px; overflow: hidden; min-height: 520px; }
.ub-page .pos-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ Section headers ============ */
.ub-page .sec-hdr { margin-bottom: 40px; }
.ub-page .sec-title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); margin-top: 14px; }
.ub-page .sec-title em, .ub-page h2 em, .ub-page h3 em { font-style: normal; font-weight: 300 !important; color: var(--green); }
.ub-page .sec-sub { font-size: var(--fs-body-lg); color: var(--muted); line-height: 1.7; max-width: 520px; margin-top: 18px; }

/* ============ Cards / grids ============ */
.ub-page .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ub-page .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ub-page .svc-card, .ub-page .factor, .ub-page .sol-card { background: var(--black); border: 1px solid var(--border); padding: 38px 28px; position: relative; overflow: hidden; transition: background var(--trans); }
.ub-page .svc-card:hover, .ub-page .factor:hover, .ub-page .sol-card:hover { background: var(--dark); }
.ub-page .svc-card::after, .ub-page .sol-card::before { content: ''; position: absolute; left:0; right:0; height: 2px; background: var(--green); transform: scaleX(0); transition: transform var(--trans); }
.ub-page .svc-card::after { bottom: 0; transform-origin: left; }
.ub-page .sol-card::before { top: 0; transform-origin: left; }
.ub-page .svc-card:hover::after, .ub-page .sol-card:hover::before { transform: scaleX(1); }
.ub-page .card-icon { width: 38px; height: 38px; color: var(--green); margin-bottom: 16px; }
.ub-page .card-icon svg { width: 100%; height: 100%; display: block; }
.ub-page .light .card-icon { color: var(--forest); }
.ub-page .card-icon-sm { width: 32px; height: 32px; color: var(--green); margin-bottom: 14px; }
.ub-page .card-icon-sm svg { width: 100%; height: 100%; display: block; }
.ub-page .light .card-icon-sm { color: var(--forest); }
.ub-page .step .card-icon { color: var(--green); margin-bottom: 10px; width: 30px; height: 30px; }
.ub-page .svc-n, .ub-page .factor-n { font-family: var(--f-display) !important; font-size: var(--fs-ghost); font-weight: 700 !important; line-height: 1; color: var(--green); margin-bottom: 6px; }
.ub-page .svc-title, .ub-page .factor-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.ub-page .factor-title { color: var(--green); }
.ub-page .svc-desc, .ub-page .factor-desc { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.6; }
.ub-page .sol-title { font-family: var(--f-ui) !important; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.ub-page .sol-desc { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.ub-page .sol-bullets { display: flex; flex-direction: column; gap: 12px; }
/* This class was originally sized as a dense small-chip label (--fs-label-sm, 15px) — now that
   it's used for actual list-ified sentence content (fork-cards, Inversión, Guía), it needs to
   read at body-copy size, not label size. */
.ub-page .sol-bullet { font-family: var(--f-ui) !important; font-size: var(--fs-body-sm); font-weight: 500; letter-spacing: .01em; color: var(--muted); display: flex; gap: 10px; line-height: 1.4; }
.ub-page .sol-bullet::before { content: '›'; color: var(--green); font-weight: 800; }

/* ============ Warning / callout box ============ */
.ub-page .warn-box { background: rgba(255,60,30,.05); border: 1px solid rgba(255,80,30,.2); border-left: 3px solid #FF4019; padding: 26px 30px; margin: 30px 0; }
.ub-page .warn-box h5 { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.ub-page .warn-list { display: flex; flex-direction: column; gap: 9px; }
.ub-page .warn-list li { display: flex; gap: 10px; font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.5; }
.ub-page .warn-list li::before { content: '×'; color: var(--orange); flex-shrink: 0; }
.ub-page .opp-quote { font-family: var(--f-display) !important; font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 300 !important; text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--border); padding-top: 30px; line-height: 1.4; }

/* ============ Portfolio ============ */
.ub-page .port-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.ub-page .f-btn { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--border); padding: 9px 18px; border-radius: 50px; transition: var(--trans); cursor: pointer; }
.ub-page .f-btn:hover, .ub-page .f-btn.active { background: var(--green); color: var(--black); border-color: var(--green); }
.ub-page .port-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.ub-page .port-item { display: block; position: relative; overflow: hidden; background: var(--panel); min-height: 280px; grid-column: span 4; cursor: pointer; }
.ub-page .port-item.wide { grid-column: span 5; } .ub-page .port-item.narrow { grid-column: span 3; }
.ub-page .port-grid.gallery { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ub-page .port-grid.gallery .port-item { grid-column: span 1 !important; min-height: 220px; }
.ub-page .port-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--panel) 0%, rgba(61,122,23,.06) 100%); transition: transform .7s ease; }
.ub-page .port-item:hover .port-bg { transform: scale(1.05); }
.ub-page .port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 45%, transparent 70%); padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.ub-page .port-name { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 400 !important; color: var(--white); line-height: 1.1; }
.ub-page .port-loc { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-top: 6px; }
.ub-page .port-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.ub-page .port-tag { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.32); padding: 4px 10px; color: rgba(255,255,255,.92); }
.ub-page .port-tag.award { color: var(--orange); border-color: var(--orange-border); background: var(--orange-wash); }
.ub-page .port-tag.soon { color: var(--orange); border-color: var(--orange-border); background: var(--orange-wash); }

/* ============ Why-us / advantages ============ */
.ub-page .adv { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--border); }
.ub-page .adv:first-child { border-top: 1px solid var(--border); }
.ub-page .adv-num { font-family: var(--f-display) !important; font-size: var(--fs-stat); font-weight: 300 !important; color: var(--green); line-height: 1; flex-shrink: 0; width: 70px; }
.ub-page .adv-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.ub-page .adv-desc { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.6; }
.ub-page .big-stat { font-family: var(--f-display) !important; font-size: var(--fs-stat-hero); font-weight: 700 !important; line-height: 1; color: var(--white); text-align: center; }
.ub-page .big-stat span { color: var(--green); }
.ub-page .big-stat-lbl { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green2); text-align: center; margin-top: 10px; }
.ub-page .op-badge { display: flex; align-items: center; gap: 14px; background: var(--forest-wash); border: 1px solid var(--green-border); padding: 18px 24px; margin-top: 30px; }
.ub-page .op-badge-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.ub-page .op-badge-sub { font-size: var(--fs-body-sm); color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ============ Heritage photos (archival plates) ============ */
.ub-page .heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0 0; }
.ub-page .heritage-photo { padding: 14px; background: var(--black); border: 1px solid var(--border); border-radius: 4px; }
.ub-page .heritage-photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.ub-page .heritage-photo figcaption { margin-top: 14px; text-align: center; font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-style: italic; color: var(--muted); }
.ub-page .light .heritage-photo { background: #fff; border-color: var(--light-border); }
.ub-page .light .heritage-photo figcaption { color: var(--light-muted); }
@media (max-width: 700px) {
  .ub-page .heritage-grid { grid-template-columns: 1fr; }
}

/* ============ Steps ============ */
.ub-page .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 20px; margin: 40px 0; }
.ub-page .step { background: var(--black); border: 1px solid var(--border); padding: 28px 20px; overflow-wrap: break-word; min-width: 0; }
.ub-page .step-n { font-family: var(--f-display) !important; font-size: var(--fs-ghost); font-weight: 700 !important; line-height: 1; color: var(--green); }
.ub-page .step-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 10px 0 6px; }
.ub-page .step-desc { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.5; }

/* ============ Tables ============ */
.ub-page .tbl-wrap { overflow-x: auto; margin-top: 1.5rem; }
.ub-page table.tl { width: 100%; border-collapse: collapse; font-size: var(--fs-body-sm); min-width: 560px; }
.ub-page table.tl th { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: left; }
.ub-page table.tl th.green-col { color: var(--green); }
.ub-page table.tl td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: middle; }
.ub-page table.tl td:first-child { font-family: var(--f-ui) !important; font-size: var(--fs-body-sm); font-weight: 700; color: var(--white); white-space: nowrap; }
.ub-page table.tl.wrap-names td:first-child { white-space: normal; min-width: 240px; }
.ub-page table.tl .tl-award { display: inline-block; margin-left: 8px; font-family: var(--f-ui) !important; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--orange); white-space: nowrap; }
.ub-page table.tl .tl-soon { display: inline-block; margin-left: 8px; font-family: var(--f-ui) !important; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: var(--orange-wash); border: 1px solid var(--orange-border); padding: 2px 7px; white-space: nowrap; }
.ub-page .light table.tl .tl-award { color: var(--orange); }
.ub-page .light table.tl .tl-soon { color: var(--orange); border-color: var(--orange-border); }

/* ============ Stat band ============ */
.ub-page .stat-band { background: linear-gradient(155deg, var(--forest) 0%, #12280A 100%); padding: 84px 0; text-align: center; position: relative; overflow: hidden; }
.ub-page .stat-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(143,195,31,.16) 0%, transparent 70%); pointer-events: none; }
.ub-page .stat-band .wrap { position: relative; z-index: 2; }
.ub-page .stat-band .eyebrow { justify-content: center; color: var(--green2); }
.ub-page .stat-band .big-stat { font-size: clamp(6rem, 13vw, 11rem); color: #fff; margin-top: 18px; }
.ub-page .stat-band .big-stat span { color: var(--green2); }
.ub-page .stat-band .big-stat-lbl { color: rgba(255,255,255,.8); font-size: 1rem; }
.ub-page .stat-band .prose { color: rgba(255,255,255,.85) !important; }
.ub-page .stat-band .stat-sub-row { display: flex; justify-content: center; gap: 64px; margin-top: 60px; flex-wrap: wrap; }
.ub-page .stat-band .hstat-num { color: #fff; }
.ub-page .stat-band .hstat-lbl { color: rgba(255,255,255,.65); }

/* ============ Logo wall ============ */
.ub-page .logo-group-label { display: flex; align-items: center; gap: 14px; font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin: 2.2rem 0 .9rem; }
.ub-page .logo-group-label:first-of-type { margin-top: 1.8rem; }
.ub-page .logo-group-label::after { content: ''; flex: 1; height: 1px; background: var(--light-border); }
.ub-page .logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1px; padding: 1px; }
.ub-page .logo-wall .logo-card { box-shadow: 0 0 0 1px var(--light-border); }
.ub-page .logo-card { background: #fff; padding: 14px; min-height: 82px; display: flex; align-items: center; justify-content: center; transition: transform .25s ease, box-shadow .25s ease, z-index 0s; position: relative; }
.ub-page .logo-card img { max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; transition: transform .25s ease; }
.ub-page .logo-card:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 28px rgba(18,32,32,.14); z-index: 2; }
.ub-page .logo-card.dark-chip { background: #10221f; }
.ub-page .logo-wall.on-dark .logo-card { background: var(--panel); }
.ub-page .logo-wall.on-dark .logo-card:hover { box-shadow: 0 14px 28px rgba(0,0,0,.4); }
@media (max-width: 640px) {
  .ub-page .logo-wall { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .ub-page .logo-card { min-height: 68px; padding: 10px; }
  .ub-page .logo-card img { max-height: 36px; }
}

/* ============ Maintenance / comparison ============ */
.ub-page .maint-pt { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ub-page .maint-pt:first-child { border-top: 1px solid var(--border); }
.ub-page .maint-pt-icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; color: var(--green); }
.ub-page .light .maint-pt-icon { color: var(--forest); }
.ub-page .maint-pt-icon svg { width: 100%; height: 100%; display: block; }
.ub-page .ico-inline { width: 1em; height: 1em; vertical-align: -.14em; margin-right: .35em; display: inline-block; }
.ub-page .maint-pt-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.ub-page .maint-pt-desc { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.55; }
.ub-page .mstat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ub-page .mstat { background: var(--dark); border: 1px solid var(--border); padding: 28px 22px; }
.ub-page .mstat-n { font-family: var(--f-display) !important; font-size: var(--fs-stat); font-weight: 300 !important; line-height: 1; color: var(--green); }
.ub-page .mstat-lbl { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green2); margin-top: 6px; line-height: 1.4; }
.ub-page .cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.ub-page .cmp { background: var(--dark); border: 1px solid var(--border); padding: 22px 20px; }
.ub-page .cmp.bad { background: rgba(255,50,20,.04); } .ub-page .cmp.good { background: rgba(61,122,23,.04); }
.ub-page .cmp-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.ub-page .cmp.bad .cmp-title { color: var(--orange); } .ub-page .cmp.good .cmp-title { color: var(--green); }
.ub-page .cmp-item { font-size: var(--fs-body-sm); color: var(--muted); display: flex; gap: 8px; line-height: 1.4; margin-bottom: 7px; }
.ub-page .cmp.bad .cmp-item::before { content:'×'; color:var(--orange); } .ub-page .cmp.good .cmp-item::before { content:'✓'; color:var(--green); }

/* ============ Markets row ============ */
.ub-page .svc-strip { display: flex; align-items: center; justify-content: space-between; padding: 44px 0; gap: 36px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.ub-page .svc-item { display: flex; align-items: center; gap: 14px; }
.ub-page .svc-item .card-icon-sm { margin-bottom: 0; flex-shrink: 0; }
.ub-page .svc-name { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.ub-page .svc-sub { font-size: var(--fs-body-sm); color: var(--muted); margin-top: 2px; }
.ub-page .svc-sep { width: 1px; height: 46px; background: var(--border); }
.ub-page .bruns-badge { display: flex; align-items: center; gap: 16px; padding: 18px 28px; background: var(--forest-wash); border: 1px solid var(--green-border); }
.ub-page .bruns-badge-lbl { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green2); margin-bottom: 3px; }
.ub-page .bruns-badge-name { font-family: var(--f-display) !important; font-size: 1.4rem; font-weight: 600 !important; color: var(--white); }
/* The logo sits directly on the section's own background everywhere — no white card behind
   it, so it reads as part of the page, not a pasted-in image. Its printed orange tagline
   ("Experience is Everything.") has weak fill-contrast against any of our tinted backgrounds
   on its own, so a soft dark drop-shadow (which follows the artwork's real alpha silhouette,
   unlike a box-shadow) is used instead of a background swap to keep it legible. */
.ub-page .bruns-logo, .ub-page .brand-mark {
  filter: drop-shadow(0 1px 1px rgba(18,32,32,.5)) drop-shadow(0 2px 8px rgba(18,32,32,.2));
}
.ub-page .bruns-logo { height: 34px; width: auto; display: block; }
.ub-page .brand-mark { height: 58px; width: auto; margin: 24px 0 6px; display: block; }

/* ============ Form ============ */
.ub-page .form-note { margin-top: 26px; padding: 16px 20px; background: var(--forest-wash); border: 1px solid var(--green-border); font-family: var(--f-ui) !important; font-size: var(--fs-body-sm); font-weight: 600; color: var(--green); line-height: 1.55; }
.ub-page .form-trust-item { display: flex; gap: 10px; align-items: center; font-size: var(--fs-body-sm); color: var(--muted); margin-top: 10px; }
.ub-page .pform { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
.ub-page .fsec-title { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 12px; padding: 24px 0 14px; }
.ub-page .fsec-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.ub-page .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ub-page .ffield label { display: block; font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.ub-page .ffield input, .ub-page .ffield select, .ub-page .ffield textarea { width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--border); padding: 13px 15px; color: var(--white); font-size: var(--fs-body); outline: none; transition: var(--trans); }
.ub-page .ffield input:focus, .ub-page .ffield select:focus, .ub-page .ffield textarea:focus { border-color: var(--green); background: rgba(61,122,23,.04); }
.ub-page .ffield textarea { resize: vertical; min-height: 100px; }
.ub-page .fsubmit { margin-top: 24px; }
.ub-page .fsubmit .btn { width: 100%; justify-content: center; }
.ub-page .fdisclaimer { font-size: var(--fs-label-sm); color: var(--faint); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ============ Insights / news ============ */
.ub-page .ins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.ub-page .ins-card { background: var(--black); border: 1px solid var(--border); padding: 36px 30px; transition: background var(--trans); }
.ub-page .ins-card:hover { background: var(--dark); }
.ub-page .ins-cat { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.ub-page .ins-title { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600 !important; line-height: 1.25; color: var(--white); margin-bottom: 12px; text-transform: none !important; letter-spacing: 0; }
.ub-page .ins-excerpt { font-size: var(--fs-body-sm); color: var(--muted); line-height: 1.65; }
.ub-page .ins-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.ub-page .ins-read { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.ub-page .ins-date { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); color: var(--faint); }

/* ============ Facts strip (reused across pages) ============ */
.ub-page .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 2rem 0; }
.ub-page .fact { background: var(--black); border: 1px solid var(--border); border-top: 3px solid var(--green); padding: 24px 24px 22px; position: relative; transition: transform var(--trans), box-shadow var(--trans); }
.ub-page .fact:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.35); z-index: 2; }
.ub-page .fact .k { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green2); display: block; margin-bottom: 10px; }
.ub-page .fact .v { font-size: var(--fs-body); font-weight: 600; color: var(--white); line-height: 1.5; }

/* ============ Final CTA ============ */
.ub-page .final-cta { background: var(--deep); text-align: center; padding: 84px 0; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.ub-page .fcta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(61,122,23,.055) 0%, transparent 70%); }
.ub-page .fcta-inner { position: relative; z-index: 2; }
.ub-page .fcta-h { font-size: clamp(2.4rem, 5.5vw, 5.5rem); margin: 14px 0 26px; }
.ub-page .fcta-h em { font-style: normal; color: var(--green); font-weight: 300 !important; }
.ub-page .fcta-sub { font-size: var(--fs-body-lg); color: var(--muted); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.ub-page .fcta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  :root { --section: 60px; }
  .ub-page .final-cta { padding: 68px 0; }
  .ub-page .grid4 { grid-template-columns: repeat(2, 1fr); }
  .ub-page .grid3 { grid-template-columns: 1fr 1fr; }
  .ub-page .pos-grid, .ub-page .pos-grid.pos-grid-rev { grid-template-columns: 1fr; gap: 44px; }
  .ub-page .why-grid, .ub-page .maint-grid, .ub-page .form-layout { grid-template-columns: 1fr !important; gap: 44px; }
  .ub-page .port-item { grid-column: span 6 !important; }
}
@media (max-width: 700px) {
  :root {
    --section: 48px;
    /* Slightly compress the scale on small screens so labels don't dominate body copy */
    --fs-label-sm: 0.8125rem;
    --fs-label: 0.875rem;
    --fs-body-sm: 0.9375rem;
    --fs-body: 1rem;
    --fs-body-lg: 1.0625rem;
  }
  .ub-page .wrap, .ub-page .wrap-sm { padding: 0 20px; }
  .ub-page .grid4, .ub-page .grid3 { grid-template-columns: 1fr; }
  .ub-page .port-item { grid-column: span 12 !important; }
  .ub-page .frow { grid-template-columns: 1fr; }
  .ub-page .mstat-grid, .ub-page .cmp-grid { grid-template-columns: 1fr; }
  .ub-page .hero-ctas, .ub-page .fcta-btns { flex-direction: column; }
  .ub-page .adv { gap: 16px; }
  .ub-page .adv-num { width: 56px; font-size: clamp(1.9rem, 9vw, 2.25rem); }
  .ub-page .svc-strip { justify-content: center; text-align: center; }
  .ub-page .brand-mark { height: 42px; }
}


/* ============ Light-surface section variant (hybrid test — Inversión) ============
   Hero and final-cta stay dark for drama; dense content sections switch to a light,
   warm-neutral surface where the green accent reads richer and body copy is easier
   to hold a long read on. Apply with class="section light" (or "light alt" for the
   second surface tone, for rhythm between stacked light sections). */
.ub-page .light { background: var(--light-bg); color: var(--light-ink); }
.ub-page .light.alt { background: var(--light-panel); }
.ub-page .light h1, .ub-page .light h2, .ub-page .light h3, .ub-page .light h4 { color: var(--light-ink); }
.ub-page .light .sec-sub, .ub-page .light .pos-right p { color: var(--light-muted); }
.ub-page .light .pos-left-quote { color: var(--light-ink); }
.ub-page .light .pos-left-quote em { color: var(--forest); }
.ub-page .light .pos-callout { background: var(--forest-wash); border-color: var(--green-border); }
.ub-page .light .pos-callout p { color: var(--forest); }
.ub-page .light .sec-title, .ub-page .light .hero-h1 { color: var(--light-ink); }
.ub-page .light .sec-title em, .ub-page .light h2 em, .ub-page .light h3 em { color: var(--forest); }
.ub-page .light .svc-name { color: var(--light-ink); }
.ub-page .light .svc-sub { color: var(--light-muted); }
.ub-page .light .svc-sep { background: var(--light-border); }
.ub-page .light .bruns-badge-name { color: var(--light-ink); }
.ub-page .light .bruns-badge-lbl { color: var(--forest); }
.ub-page .light .svc-strip { border-color: var(--light-border); }
.ub-page .light p, .ub-page .light span, .ub-page .light li { color: inherit; }
.ub-page .light .ins-title { color: var(--light-ink); }
.ub-page .light .ins-excerpt { color: var(--light-muted); }
.ub-page .light .grid3 > *, .ub-page .light .grid4 > * { background: #fff; }
.ub-page .light .ins-card { background: #fff; }
.ub-page .light .ins-footer { border-color: var(--light-border); }
.ub-page .light .mstat, .ub-page .light .cmp { background: #fff; }
.ub-page .light .mstat-lbl { color: var(--forest); }
.ub-page .light .cmp-item { color: var(--light-muted); }
.ub-page .light .maint-pt-desc { color: var(--light-muted); }
.ub-page .light .maint-pt-title { color: var(--light-ink); }
.ub-page .light .maint-pt { border-color: var(--light-border); }
.ub-page .light .ffield input, .ub-page .light .ffield select, .ub-page .light .ffield textarea {
  background: #fff; border-color: var(--light-border); color: var(--light-ink);
}
.ub-page .light .ffield label { color: var(--light-muted); }
.ub-page .light .fsec-title::after { background: var(--light-border); }
.ub-page .light .form-note { color: var(--forest); }
.ub-page .light .fdisclaimer { color: var(--light-muted); }
.ub-page .light .f-btn { border-color: var(--light-border); color: var(--light-muted); }
.ub-page .light .port-filters { border-color: var(--light-border); }
.ub-page .light .port-tag { border-color: rgba(18,32,32,.25); color: var(--light-ink); }

/* Full audit pass: every remaining selector that defaults to --white/--muted/--faint
   (dark-theme text colors) and can actually appear inside a .light section. */
.ub-page .light .adv-title { color: var(--light-ink); }
.ub-page .light .adv-desc { color: var(--light-muted); }
.ub-page .light .big-stat { color: var(--light-ink); }
.ub-page .light .big-stat span { color: var(--forest); }
.ub-page .light .big-stat-lbl { color: var(--forest); }
.ub-page .light .op-badge-sub { color: var(--light-muted); }
.ub-page .light .op-badge-title { color: var(--forest); }
.ub-page .light .op-badge { background: var(--forest-wash); border-color: var(--green-border); }
.ub-page .light .sol-bullet { color: var(--light-muted); }
.ub-page .light table.tl th { color: var(--light-muted); border-color: var(--light-border); }
.ub-page .light table.tl td { color: var(--light-muted); border-color: var(--light-border); }
.ub-page .light table.tl td:first-child { color: var(--light-ink); }
.ub-page .light .form-trust-item { color: var(--light-muted); }
.ub-page .light .ins-date { color: var(--light-muted); }
.ub-page .light .adv, .ub-page .light .maint-pt { border-color: var(--light-border); }
.ub-page .light .eyebrow { color: var(--forest); }
.ub-page .light .eyebrow::before { background: var(--forest); }

.ub-page .light .sol-card, .ub-page .light .svc-card,
.ub-page .light .factor, .ub-page .light .step {
  background: #fff; border-color: var(--light-border);
}
.ub-page .light .mstat, .ub-page .light .cmp, .ub-page .light .ins-card {
  border-color: var(--light-border);
}
.ub-page .light .fact {
  background: #fff; border-right-color: var(--light-border); border-bottom-color: var(--light-border); border-left-color: var(--light-border);
}
.ub-page .light .sol-title, .ub-page .light .svc-title,
.ub-page .light .step-title, .ub-page .light .fact .v { color: var(--light-ink); }
.ub-page .light .step-title { color: var(--forest); }
.ub-page .light .sol-desc, .ub-page .light .svc-desc,
.ub-page .light .step-desc { color: var(--light-muted); }
.ub-page .light .fact .k { color: var(--forest); }
.ub-page .light .fact:hover { box-shadow: 0 14px 28px rgba(18,32,32,.14); }

.ub-page .light .warn-box { background: rgba(178,58,44,.06); border-color: rgba(178,58,44,.22); }
.ub-page .light .warn-box h5 { color: #B23A2C; }
.ub-page .light .warn-list li { color: var(--light-muted); }
.ub-page .light .warn-list li::before { color: #B23A2C; }

.ub-page .light .btn-outline { border-color: rgba(18,22,15,.3); color: var(--light-ink); }
.ub-page .light .btn-outline:hover { background: rgba(61,122,23,.08); border-color: var(--green); color: var(--forest); box-shadow: none; }
.ub-page .light .btn-ghost { color: var(--forest); }

/* ============ FAQ accordion (native <details>, no JS needed) ============ */
.ub-page .faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--light-border); border: 1px solid var(--light-border); margin-top: 2rem; }
.ub-page .faq-item { background: #fff; }
.ub-page .faq-item summary {
  font-family: var(--f-ui) !important; font-weight: 700; font-size: 1.05rem;
  color: var(--light-ink); padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.ub-page .faq-item summary::-webkit-details-marker { display: none; }
.ub-page .faq-item summary::after {
  content: '+'; font-family: var(--f-display); font-size: 1.6rem; color: var(--green);
  flex-shrink: 0; transition: transform .25s ease;
}
.ub-page .faq-item[open] summary::after { transform: rotate(45deg); }
.ub-page .faq-item .faq-a { padding: 0 26px 24px; color: var(--light-muted); font-size: var(--fs-body-sm); line-height: 1.65; max-width: 72ch; }
.ub-page .faq-item[open] summary { border-bottom: 1px solid var(--light-border); }
.ub-page .faq-item .faq-a p { margin: 0 0 12px; }
.ub-page .faq-item .faq-a p:last-child { margin-bottom: 0; }
.ub-page .faq-item .faq-a .sol-bullets { margin: 4px 0 14px; }
.ub-page .faq-item .faq-a .pos-callout p { margin: 0; }

/* ============ Two-path fork (investor/developer vs. existing operator) ============ */
.ub-page .grid2-fork { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2.5rem; }
.ub-page .fork-card { background: var(--black); padding: 0; border: 1px solid var(--border); overflow: hidden; }
.ub-page .fork-card-img { aspect-ratio: 2 / 1; overflow: hidden; }
.ub-page .fork-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ub-page .fork-card-body { padding: 44px 38px; }
.ub-page .fork-card .tag { font-family: var(--f-ui) !important; font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-faint); display: inline-block; padding: .45em 1em; margin-bottom: 1.2rem; }
.ub-page .fork-card h3 { font-size: 2.1rem; margin-bottom: .8rem; }
.ub-page .fork-card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; max-width: 40ch; }
.ub-page .fork-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.ub-page .fork-links a { font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: .03em; color: var(--white); border: 1px solid var(--border); padding: .6em 1.1em; border-radius: 4px; display: inline-flex; align-items: center; gap: 6px; }
.ub-page .fork-links a:hover { color: var(--green); border-color: var(--green); background: var(--forest-wash); }
@media (max-width: 700px) { .ub-page .grid2-fork { grid-template-columns: 1fr; } }

.ub-page .light .fork-card { background: #fff; border-color: var(--light-border); }
.ub-page .light .fork-card h3 { color: var(--light-ink); }
.ub-page .light .fork-card p { color: var(--light-muted); }
.ub-page .light .fork-links a { color: var(--light-ink); border-color: var(--light-border); }
.ub-page .light .fork-links a:hover { color: var(--forest); border-color: var(--green); background: rgba(61,122,23,.08); }

/* ============ Sticky quote tab (site-wide, injected via wp_footer — lives outside .ub-page) ============ */
.ub-sticky-quote {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; -webkit-writing-mode: vertical-rl;
  background: var(--green); color: #fff; text-decoration: none;
  font-family: var(--f-ui), sans-serif; font-weight: 800; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 20px 11px; z-index: 9999; border-radius: 5px 0 0 5px;
  box-shadow: -2px 0 14px rgba(0,0,0,.22);
  transition: background .25s ease, padding-right .25s ease;
}
.ub-sticky-quote:hover { background: var(--green2, var(--green)); padding-right: 15px; }
@media (max-width: 700px) { .ub-sticky-quote { font-size: .78rem; padding: 16px 9px; } }

/* ============ Project map ============ */
.ub-page .ub-map { height: 560px; width: 100%; border-radius: 6px; overflow: hidden; margin-top: 2rem; border: 1px solid var(--light-border); }
/* Tint the stock OSM basemap toward the brand green instead of leaving it default-orange/cream —
   a real, one-line differentiator so this doesn't read as an off-the-shelf Leaflet map. */
.ub-page .ub-map .leaflet-tile-pane { filter: sepia(.35) hue-rotate(55deg) saturate(1.6) brightness(.92) contrast(1.05); }
.ub-page .ub-map .leaflet-popup-content-wrapper { border-radius: 4px; }
.ub-page .ub-map .leaflet-popup-content { margin: 14px 16px; font-family: var(--f-ui), sans-serif; min-width: 200px; }
.ub-map-pop strong { display: block; font-size: 1rem; color: var(--forest); margin-bottom: 2px; }
.ub-map-pop > span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--light-muted); margin-bottom: 10px; }
.ub-map-proj { font-size: .85rem; color: var(--light-ink); padding: 5px 0; border-top: 1px solid var(--light-border); line-height: 1.4; }
.ub-map-proj:first-of-type { border-top: none; }
.ub-map-proj b { color: var(--forest); }
.ub-page .ub-map-list { max-height: 220px; overflow-y: auto; }
@media (max-width: 700px) { .ub-page .ub-map { height: 420px; } }

/* ============ Collapsible table ============ */
.ub-page table.tl tr.tl-extra { display: none; }
.ub-page table.tl tr.tl-extra.tl-show { display: table-row; }


/* ============ Site chrome (v3: own header/footer, no parent theme) ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--f-body); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--green); color: var(--white); font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
:focus-visible { outline: 2px solid var(--green2); outline-offset: 3px; }

.ub-header { position: sticky; top: 0; z-index: 1000; background: var(--black); border-bottom: 1px solid var(--border); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .ub-header { background: rgba(14,18,11,.93); -webkit-backdrop-filter: saturate(140%) blur(22px); backdrop-filter: saturate(140%) blur(22px); border-bottom: 1px solid rgba(255,255,255,.08); }
}
.admin-bar .ub-header { top: 32px; }
.ub-header-in { max-width: 1760px; margin: 0 auto; padding: 10px 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ub-logo { display: flex; align-items: center; flex-shrink: 0; }
.ub-logo img { display: block; height: 56px; width: auto; max-width: 260px; filter: none; }
.ub-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.ub-nav a { position: relative; display: block; padding: 10px 0; font-family: var(--f-body); font-size: 1rem; color: var(--white); text-decoration: none; transition: color .2s ease; }
.ub-nav a:hover { color: var(--green2); }
.ub-nav .current-menu-item > a, .ub-nav .current_page_item > a, .ub-nav .current-menu-ancestor > a, .ub-nav .current_page_ancestor > a { color: var(--green2); }
.ub-nav .current-menu-item > a::after, .ub-nav .current_page_item > a::after, .ub-nav .current-menu-ancestor > a::after, .ub-nav .current_page_ancestor > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); }
.ub-nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: var(--green); color: var(--white); cursor: pointer; }
.ub-nav-toggle span, .ub-nav-toggle span::before, .ub-nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s ease; }
.ub-nav-toggle span::before { position: absolute; top: -6px; }
.ub-nav-toggle span::after { position: absolute; top: 6px; }
.ub-nav-open .ub-nav-toggle span { background: transparent; }
.ub-nav-open .ub-nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.ub-nav-open .ub-nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) {
  .ub-header-in { padding: 10px 20px; }
  .ub-logo img { height: 42px; }
  .ub-nav-toggle { display: inline-flex; }
  .ub-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--border); }
  .ub-nav-open .ub-nav { display: block; }
  .ub-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .ub-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .ub-nav .current-menu-item > a::after, .ub-nav .current_page_item > a::after { display: none; }
}

.ub-footer { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 100% 0%, rgba(143,195,31,.18), transparent 60%), linear-gradient(160deg, #24560F 0%, #1F4A0D 55%, #173A0A 100%); color: rgba(255,255,255,.82); font-size: var(--fs-body-sm); }
/* Brand motif: a large bowling ball with its three finger holes, cropped at the corner */
.ub-footer::after { content: ''; position: absolute; right: -140px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 38% 30%, rgba(23,58,10,.9) 0 26px, transparent 27px), radial-gradient(circle at 54% 26%, rgba(23,58,10,.9) 0 26px, transparent 27px), radial-gradient(circle at 46% 44%, rgba(23,58,10,.9) 0 30px, transparent 31px), radial-gradient(circle at 35% 30%, rgba(143,195,31,.22), rgba(61,122,23,.12) 60%, rgba(61,122,23,.05)); }
.ub-footer-in { position: relative; z-index: 1; max-width: 1760px; margin: 0 auto; padding: 80px 52px 56px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.ub-footer h2 { margin: 0 0 18px; font-family: var(--f-ui); font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green2); }
.ub-footer-logo img { display: block; height: 64px; width: auto; filter: none; }
.ub-footer-about { margin: 20px 0 0; max-width: 42ch; line-height: 1.65; }
.ub-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ub-footer-list .k { display: block; font-family: var(--f-ui); font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.ub-footer a { color: #fff; text-decoration: none; }
.ub-footer a:hover { color: var(--green2); text-decoration: underline; text-underline-offset: 3px; }
.ub-footer-bottom { position: relative; z-index: 1; background: rgba(0,0,0,.22); }
.ub-footer-bottom p { max-width: 1760px; margin: 0 auto; padding: 22px 52px; font-size: .95rem; color: rgba(255,255,255,.62); }
@media (max-width: 900px) {
  .ub-footer-in { grid-template-columns: 1fr; gap: 36px; padding: 56px 20px 36px; }
  .ub-footer::after { width: 320px; height: 320px; right: -110px; bottom: -120px; opacity: .7; }
  .ub-footer-bottom p { padding: 20px; }
}

/* Blog posts (Noticias) rendered by single.php */
.ub-post { max-width: 760px; margin: 0 auto; padding: 72px 20px 96px; }
.ub-post h1 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; }
.ub-post .ub-post-meta { font-family: var(--f-ui); font-size: var(--fs-label-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--green2); margin-bottom: 32px; }
.ub-post .entry { font-size: var(--fs-body); line-height: 1.75; color: rgba(242,242,242,.85); }
.ub-post .entry a { color: var(--green2); }
.ub-post .entry img { max-width: 100%; height: auto; }

/* Page-level overflow guard (Astra used to clip this); wide tables scroll inside their own box */
.ub-page { overflow-x: clip; }
.ub-page .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ============ Product detail pages (2026-11-11) ============
   .ub-hero.dp = photo hero with a left-weighted dark overlay so text reads over any product photo.
   .prod-card = a product shown by its real photo instead of a generic icon. */
.ub-page .ub-hero.dp { min-height: 64vh; }
.ub-page .ub-hero.dp .hero-photo::after { background: linear-gradient(90deg, rgba(18,22,15,.94) 0%, rgba(18,22,15,.78) 40%, rgba(18,22,15,.2) 100%), linear-gradient(to top, rgba(18,22,15,.85) 0%, transparent 45%); }
.ub-page .ub-hero.dp .hero-desc { max-width: 58ch; }
.ub-page .subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ub-page .subnav a { padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: 1rem; background: rgba(18,22,15,.45); }
.ub-page .subnav a:hover { border-color: var(--green2); color: var(--green2); }
.ub-page [id] { scroll-margin-top: 90px; }
.ub-page .split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: center; }
.ub-page .split.rev > :first-child { order: 2; }
.ub-page .split-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ub-page .split-img figcaption { margin-top: 8px; font-size: .9rem; color: var(--light-muted); }
.ub-page .prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
/* Column count follows the number of cards, so a row never ends with one orphan card */
.ub-page .prod-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.ub-page .prod-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.ub-page .prod-card { background: #fff; border: 1px solid var(--light-border); display: flex; flex-direction: column; overflow: hidden; }
.ub-page .prod-card .pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #F2F4F3; }
.ub-page .prod-card .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ub-page .prod-card:hover .pc-img img { transform: scale(1.04); }
.ub-page .prod-card .pc-img.contain img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.ub-page .prod-card .pc-body { padding: 20px 22px 24px; }
.ub-page .prod-card h3 { font-size: 1.375rem; color: var(--light-ink); line-height: 1.05; }
.ub-page .prod-card p { margin: 8px 0 0; font-size: var(--fs-body-sm); color: var(--light-muted); line-height: 1.55; }
.ub-page .credit { margin-top: 2rem; font-size: .9rem; color: var(--light-muted); }
@media (max-width: 900px) {
  .ub-page .split { grid-template-columns: 1fr; gap: 28px; }
  .ub-page .prod-grid, .ub-page .prod-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  .ub-page .split.rev > :first-child { order: 0; }
  .ub-page .ub-hero.dp .hero-photo::after { background: linear-gradient(to top, rgba(18,22,15,.95) 0%, rgba(18,22,15,.75) 55%, rgba(18,22,15,.4) 100%); }
}
@media (prefers-reduced-motion: reduce) { .ub-page .prod-card .pc-img img { transition: none; } }
@media (max-width: 560px) { .ub-page .prod-grid, .ub-page .prod-grid:has(> :nth-child(2):last-child), .ub-page .prod-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }
/* Comparison table (e.g., Max Life vs wood pins) */
.ub-page table.cmp { width: 100%; border-collapse: collapse; background: #fff; font-size: var(--fs-body-sm); }
.ub-page table.cmp th, .ub-page table.cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--light-border); color: var(--light-ink); line-height: 1.45; }
.ub-page table.cmp thead th { font-family: var(--f-ui) !important; text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-label-sm); background: var(--light-ink); color: #fff; }
.ub-page table.cmp thead th:nth-child(2) { background: var(--green); }
.ub-page table.cmp tbody th { font-weight: 600; width: 26%; }
.ub-page table.cmp td:nth-child(2) { background: rgba(61,122,23,.06); font-weight: 600; }

/* ============ Machine explorer (.ubx) ============ */
.ub-page .ubx-sec { background: radial-gradient(900px 600px at 20% 30%, rgba(61,122,23,.22), transparent 60%), var(--black); }
.ub-page .ubx-sec .sec-title, .ub-page .ubx-sec h2 { color: #fff; }
.ub-page .ubx-sec .prose { color: rgba(242,242,242,.8); }
.ub-page .ubx { margin-top: 2rem; }
.ub-page .ubx-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.ub-page .ubx-tabs button { font-family: var(--f-ui); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem; padding: 12px 22px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.25); cursor: pointer; }
.ub-page .ubx-tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); }
.ub-page .ubx-m { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: start; }
.ub-page .ubx-m[hidden] { display: none; }
.ub-page .ubx-stage { position: relative; background: radial-gradient(circle at 50% 45%, #F4F7F2 0%, #D9E2D4 80%); aspect-ratio: 1; overflow: hidden; }
.ub-page .ubx-stage.dark { background: #0d100b; }
.ub-page .ubx-stage > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ub-page .ubx-dot { position: absolute; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); padding: 0; z-index: 2; }
.ub-page .ubx-dot span { font-family: var(--f-display) !important; font-weight: 700; font-size: 1.05rem; }
.ub-page .ubx-dot::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(143,195,31,.7); animation: ubxPulse 2.2s ease-out infinite; }
.ub-page .ubx-dot[aria-pressed="true"] { background: var(--green2); color: var(--ink, #12160F); transform: translate(-50%,-50%) scale(1.15); }
.ub-page .ubx-dot[aria-pressed="true"] span { color: #12160F; }
@keyframes ubxPulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ub-page .ubx-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
.ub-page .ubx-list button { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 8px 12px; font-size: .95rem; cursor: pointer; font-family: var(--f-body); }
.ub-page .ubx-list button span { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ub-page .ubx-list button[aria-pressed="true"] { border-color: var(--green2); color: var(--green2); }
.ub-page .ubx-panel { grid-column: 2; grid-row: 1 / span 2; background: #fff; color: var(--light-ink); border-top: 4px solid var(--green2); }
.ub-page .ubx-part figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #EEF1EE; }
.ub-page .ubx-part figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ub-page .ubx-part figure.contain img { object-fit: contain; padding: 6%; }
.ub-page .ubx-txt { padding: 22px 24px 8px; }
.ub-page .ubx-txt h3 { font-size: 1.75rem; color: var(--light-ink); line-height: 1; }
.ub-page .ubx-sub { margin: 6px 0 0 !important; color: var(--green) !important; font-weight: 600; font-size: 1rem !important; }
.ub-page .ubx-txt p { margin: 12px 0 0; font-size: var(--fs-body-sm); color: var(--light-muted); line-height: 1.6; }
.ub-page .ubx-tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ub-page .ubx-tags li { font-size: .85rem; padding: 4px 10px; background: rgba(61,122,23,.1); color: var(--forest); font-weight: 600; }
.ub-page .ubx-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 18px; background: var(--green); color: #fff !important; font-family: var(--f-ui); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
.ub-page .ubx-wa:hover { background: var(--forest); }
.ub-page .ubx-nav { display: flex; align-items: center; gap: 12px; padding: 14px 24px 22px; }
.ub-page .ubx-step { width: 40px; height: 40px; border: 1px solid var(--light-border); background: #fff; font-size: 1.4rem; cursor: pointer; color: var(--light-ink); }
.ub-page .ubx-step:hover { border-color: var(--green); color: var(--green); }
.ub-page .ubx-count { font-family: var(--f-display) !important; font-weight: 700; color: var(--light-ink); letter-spacing: .05em; }
/* No-JS fallback: every part stacked, no markers/nav */
.ub-page .ubx:not(.ubx-on) .ubx-part + .ubx-part { border-top: 1px solid var(--light-border); }
.ub-page .ubx-note { margin-top: 18px; color: rgba(242,242,242,.75); font-size: 1rem; }
.ub-page .ubx-note b { color: var(--green2); }
@media (max-width: 900px) {
  .ub-page .ubx-m { grid-template-columns: 1fr; }
  .ub-page .ubx-panel { grid-column: 1; grid-row: auto; }
  .ub-page .ubx-dot { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .ub-page .ubx-dot::before { animation: none; opacity: .6; } }

/* Floating WhatsApp button (mobile only); replaces the vertical quote tab on small screens */
.ub-wa-fab { display: none; }
@media (max-width: 900px) {
  .ub-wa-fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
  .ub-wa-fab svg { width: 30px; height: 30px; }
  .ub-sticky-quote { display: none !important; }
}

/* Contact form states (story S07) */
.ub-page .ub-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ub-page .fconsent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: var(--fs-body-sm); color: var(--light-ink); line-height: 1.5; cursor: pointer; }
.ub-page .fconsent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.ub-page .form-ok, .ub-page .form-err { padding: 18px 20px; margin-bottom: 20px; font-size: var(--fs-body-sm); line-height: 1.55; }
.ub-page .form-ok { background: rgba(61,122,23,.1); border-left: 4px solid var(--green); color: var(--light-ink); }
.ub-page .form-err { background: rgba(255,96,64,.1); border-left: 4px solid var(--orange); color: var(--light-ink); }
.ub-page .pform select, .ub-page .pform input, .ub-page .pform textarea { min-height: 46px; }
.ub-page .prod-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
/* Guides */
.ub-page .lane-diagram { margin: 2rem 0 0; background: #fff; border: 1px solid var(--light-border); padding: 16px; }
.ub-page .lane-diagram svg { width: 100%; height: auto; display: block; }
.ub-page .lane-diagram figcaption { margin-top: 8px; font-size: .9rem; color: var(--light-muted); }
.ub-page .steps-simple { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ub-page .steps-simple li { background: #fff; border-top: 4px solid var(--green); padding: 22px; }
.ub-page .steps-simple b { display: block; font-family: var(--f-display); font-size: 1.4rem; text-transform: uppercase; color: var(--light-ink); }
.ub-page .steps-simple span { display: block; margin-top: 8px; color: var(--light-muted); font-size: var(--fs-body-sm); line-height: 1.55; }
@media (max-width: 900px) { .ub-page .steps-simple { grid-template-columns: 1fr 1fr; } .ub-page .lane-diagram { overflow-x: auto; } .ub-page .lane-diagram svg { min-width: 640px; } }
@media (max-width: 560px) { .ub-page .steps-simple { grid-template-columns: 1fr; } }
.ub-page .ubx-part figure.contain { background: #EEF3EB; }

/* ============ Header dropdowns (pages with several sections) ============ */
.ub-nav .menu-item-has-children { position: relative; }
.ub-nav .menu-item-has-children > a { padding-right: 16px; }
.ub-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .2s ease; }
.ub-nav .sub-menu { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; position: absolute; top: 100%; left: 50%; min-width: 300px; transform: translate(-50%, 8px); background: #161B12; border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--green2); box-shadow: 0 18px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; z-index: 1001; }
.ub-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ub-nav .menu-item-has-children:hover > .sub-menu, .ub-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); transition: opacity .18s ease, transform .18s ease; }
.ub-nav .menu-item-has-children:hover > a::before, .ub-nav .menu-item-has-children:focus-within > a::before { transform: rotate(-135deg); margin-top: -2px; }
.ub-nav .sub-menu a { padding: 9px 12px; font-size: .97rem; color: #fff; border-left: 2px solid transparent; }
.ub-nav .sub-menu a small { display: block; margin-top: 2px; font-size: .82rem; color: rgba(242,242,242,.6); font-family: var(--f-body); line-height: 1.35; }
.ub-nav .sub-menu a:hover, .ub-nav .sub-menu a:focus-visible { background: rgba(143,195,31,.1); border-left-color: var(--green2); color: var(--green2); }
.ub-nav .sub-menu a::after { display: none !important; }
.ub-nav .sub-menu .current-menu-item > a { color: var(--green2); }
/* Productos y Equipos has 9 items: two columns */
.ub-nav .sub-menu:has(> li:nth-child(7)) { grid-template-columns: repeat(2, minmax(250px, 1fr)); min-width: 560px; }
.ub-nav .sub-menu:has(> li:nth-child(7)):has(.ub-sub-thumb) { grid-template-columns: repeat(2, minmax(330px, 1fr)); min-width: 700px; }
.ub-sub-toggle { display: none; }
@media (max-width: 1100px) {
  .ub-nav .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .ub-nav .menu-item-has-children > a { padding-right: 0; }
  .ub-nav .menu-item-has-children > a::before { display: none; }
  .ub-sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--white); cursor: pointer; }
  .ub-sub-toggle span { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s ease; }
  .ub-sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); margin-top: 4px; }
  .ub-nav .sub-menu, .ub-nav .sub-menu:has(> li:nth-child(7)) { grid-column: 1 / -1; position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; border-left: 2px solid var(--green2); background: transparent; padding: 4px 0 8px 14px; margin: 0; transition: none; }
  .ub-nav .sub-menu.open { display: grid !important; }
  .ub-nav .sub-menu, .ub-nav .menu-item-has-children:hover > .sub-menu, .ub-nav .menu-item-has-children:focus-within > .sub-menu { transform: none !important; left: auto; }
  .ub-nav .menu-item-has-children:hover > .sub-menu:not(.open), .ub-nav .menu-item-has-children:focus-within > .sub-menu:not(.open) { display: none; }
  .ub-nav .sub-menu a { border-bottom: 0; padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) { .ub-nav .sub-menu, .ub-nav .menu-item-has-children > a::before { transition: none; } }

/* Product dropdown: thumbnails */
.ub-nav .sub-menu a:has(.ub-sub-thumb) { display: flex; align-items: center; gap: 12px; }
.ub-nav .ub-sub-thumb { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); transition: transform .2s ease, border-color .2s ease; }
.ub-nav .ub-sub-txt { min-width: 0; }
.ub-nav .sub-menu a:hover .ub-sub-thumb, .ub-nav .sub-menu a:focus-visible .ub-sub-thumb { transform: scale(1.06); border-color: var(--green2); }
.ub-nav .sub-menu { background: rgba(18,23,14,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (max-width: 1100px) { .ub-nav .ub-sub-thumb { width: 36px; height: 36px; } .ub-nav { background: #12160F !important; max-height: calc(100vh - 70px); overflow-y: auto; } .ub-nav .sub-menu:has(> li:nth-child(7)):has(.ub-sub-thumb) { min-width: 0; grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ub-nav .ub-sub-thumb { transition: none; } }

/* Closing CTA with a background photo: <section class="final-cta has-photo"><img class="fcta-photo" …> */
.ub-page .final-cta.has-photo { background: var(--black); }
.ub-page .final-cta .fcta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; display: block; }
.ub-page .final-cta.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(18,22,15,.72) 0%, rgba(18,22,15,.9) 100%); }
.ub-page .final-cta.has-photo .fcta-glow { display: none; }
.ub-page .final-cta.has-photo .fcta-h em { color: var(--green2); }
.ub-page .sol-bullet:has(> .ico-inline)::before { display: none; }
.ub-page .sol-bullet > .ico-inline { margin: .15em 0 0; color: var(--green); flex-shrink: 0; }

/* Footer social icons */
.ub-footer .ub-social { display: flex; gap: 10px; margin-top: 8px; }
.ub-footer .ub-social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ub-footer .ub-social a:hover, .ub-footer .ub-social a:focus-visible { background: var(--green2); border-color: var(--green2); color: #12160F; text-decoration: none; }
.ub-footer .ub-social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ub-footer .ub-social svg { width: 20px; height: 20px; display: block; }
@media (prefers-reduced-motion: reduce) { .ub-footer .ub-social a { transition: none; } }

/* "Lo que incluye" cards with a photo (project pages + portafolio) */
.ub-page .pjx-grid .svc-card { padding: 0 0 24px; }
.ub-page .pjx-grid .svc-card > *:not(.pjx-img) { margin-left: 22px; margin-right: 22px; }
.ub-page .pjx-img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 16px; background: #12160F; }
.ub-page .pjx-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ub-page .pjx-grid .svc-card:hover .pjx-img img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .ub-page .pjx-img img { transition: none; } }

/* Contact form submits to WhatsApp */
.ub-page .btn-wa-submit { display: inline-flex; align-items: center; gap: 10px; background: #25D366; border-color: #25D366; color: #0B2E17; }
.ub-page .btn-wa-submit:hover, .ub-page .btn-wa-submit:focus-visible { background: #1EBE5A; border-color: #1EBE5A; color: #0B2E17; }
.ub-page .btn-wa-submit svg { flex: none; }

/* ============ Condensed layout (2026-11-14): same content, less empty space ============ */
/* Cards and fact boxes: tighter padding */
.ub-page .svc-card, .ub-page .factor, .ub-page .sol-card { padding: 24px 22px; }
.ub-page .fact { padding: 18px 20px 16px; }
.ub-page .fact .k { margin-bottom: 6px; }
.ub-page .facts { gap: 14px; margin: 1.5rem 0; }
.ub-page .card-icon { width: 32px; height: 32px; margin-bottom: 10px; }
.ub-page .step { padding: 20px 18px; }
.ub-page .fork-card-body { padding: 28px 26px; }
.ub-page .fork-card h3 { font-size: 1.75rem; }
/* Product photos: wider, shorter */
.ub-page .prod-card .pc-img { aspect-ratio: 16 / 10; }
.ub-page .prod-card .pc-body { padding: 16px 18px 18px; }
/* Icon cards: icon on the left, text on the right */
.ub-page .sol-card:has(> :is(.card-icon, .card-icon-sm):first-child), .ub-page .svc-card:has(> :is(.card-icon, .card-icon-sm):first-child) { display: grid; grid-template-columns: 36px minmax(0,1fr); grid-auto-rows: auto; column-gap: 14px; row-gap: 0; align-content: start; padding: 18px 20px; }
.ub-page .sol-card:has(> :is(.card-icon, .card-icon-sm):first-child) > :is(.card-icon, .card-icon-sm), .ub-page .svc-card:has(> :is(.card-icon, .card-icon-sm):first-child) > :is(.card-icon, .card-icon-sm) { width: 32px; height: 32px; margin: 2px 0 0; grid-row: 1 / span 2; align-self: start; }
.ub-page .sol-card:has(> :is(.card-icon, .card-icon-sm):first-child) > :not(.card-icon):not(.card-icon-sm), .ub-page .svc-card:has(> :is(.card-icon, .card-icon-sm):first-child) > :not(.card-icon):not(.card-icon-sm) { grid-column: 2; }
.ub-page .sol-card:has(> :is(.card-icon, .card-icon-sm):first-child) .sol-title, .ub-page .svc-card:has(> :is(.card-icon, .card-icon-sm):first-child) .svc-title { margin-bottom: 4px; }
/* FAQ rows */
.ub-page .faq-item summary { padding-top: 14px; padding-bottom: 14px; }
.ub-page .faq-list { margin-top: 1.25rem; }
/* Section headers sit closer to their content */
.ub-page .sec-hdr { margin-bottom: 28px; }
/* Title beside content for short sections */
.ub-page .sec-inline { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 48px; align-items: center; }
.ub-page .sec-inline .sec-hdr { margin-bottom: 0; }
.ub-page .sec-inline .sec-sub { margin-top: 0; max-width: 60ch; }
@media (max-width: 900px) { .ub-page .sec-inline { grid-template-columns: 1fr; gap: 20px; } }
/* Side-by-side photos keep a landscape shape (no tall crops) */
.ub-page .split-img img { aspect-ratio: 16 / 10 !important; height: auto !important; }
.ub-page :is(.sol-card, .svc-card):has(> :is(.card-icon, .card-icon-sm):first-child) :is(.sol-desc, .svc-desc) { margin-bottom: 0; }

/* Footer guides list */
.ub-footer .ub-footer-guides-h { margin-top: 26px; }
.ub-footer .ub-footer-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ub-footer .ub-footer-guides a { color: #fff; }

/* ---- Project-duration timeline (Home + Inversión), 2026-11-14. HTML from tools/timeline_html.py ---- */
.ubtl { --tl-ink:#12160F; --tl-sub:#3F4B4B; --tl-line:rgba(18,32,32,.14); margin-top:32px; }
.ubtl-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.ubtl-tabs input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.ubtl-tabs label { display:flex; flex-direction:column; gap:2px; min-width:220px; padding:12px 18px; border:1px solid var(--tl-line); background:#fff; cursor:pointer; transition:border-color .2s, background .2s; }
.ubtl-tabs label span { font-family:var(--f-body); font-size:.95rem; color:var(--tl-sub); line-height:1.2; }
.ubtl-tabs label b { font-family:var(--f-display); font-weight:700; font-size:1.75rem; line-height:1.05; color:var(--tl-ink); text-transform:uppercase; }
.ubtl-tabs label:hover { border-color:var(--green); }
.ubtl-tabs input:checked + label { background:var(--black); border-color:var(--black); }
.ubtl-tabs input:checked + label span { color:rgba(242,242,242,.75); }
.ubtl-tabs input:checked + label b { color:#8FC31F; }
.ubtl-tabs input:focus-visible + label { outline:3px solid #8FC31F; outline-offset:3px; }
.ubtl-pane.ubtl-n { display:none; }
.ubtl:has(.ubtl-rn:checked) .ubtl-e { display:none; }
.ubtl:has(.ubtl-rn:checked) .ubtl-n { display:block; }
.ubtl-cap { margin:0 0 12px !important; font-size:.98rem !important; color:var(--tl-sub) !important; max-width:none; }
.ubtl-chart { background:#fff; border:1px solid var(--tl-line); padding:14px 20px 6px; }
.ubtl-row { display:grid; grid-template-columns:minmax(0,460px) minmax(0,1fr); column-gap:20px; align-items:center; padding:5px 0; border-bottom:1px solid var(--tl-line); }
@media (max-width:1100px) { .ubtl-row { grid-template-columns:minmax(0,320px) minmax(0,1fr); } }
.ubtl-row.ubtl-axis { border-bottom:0; padding:2px 0 8px; }
.ubtl-lbl { display:flex; gap:10px; align-items:flex-start; min-width:0; }
.ubtl-num { flex:none; min-width:24px; padding:0 4px; height:24px; display:grid; place-items:center; background:var(--green); color:#fff !important; font-family:var(--f-display); font-weight:700; font-size:.95rem; line-height:1; margin-top:1px; }
.ubtl-lbl b { display:block; font-family:var(--f-body); font-weight:600; font-size:1rem; line-height:1.25; color:var(--tl-ink); }
.ubtl-lbl small { display:block; font-size:.84rem; line-height:1.3; color:var(--tl-sub); }
.ubtl-track { position:relative; height:22px; background:repeating-linear-gradient(90deg, var(--tl-line) 0 1px, transparent 1px 12.5%); }
.ubtl-track i { position:absolute; top:3px; bottom:3px; display:block; }
.ubtl-s, .ubtl-legend .ubtl-s { background:var(--green); }
.ubtl-x, .ubtl-legend .ubtl-x { background:repeating-linear-gradient(135deg, rgba(61,122,23,.55) 0 4px, rgba(61,122,23,.18) 4px 8px); }
.ubtl-w, .ubtl-legend .ubtl-w { background:repeating-linear-gradient(135deg, var(--black) 0 4px, #3a4334 4px 8px); }
.ubtl-open .ubtl-track { height:40px; }
.ubtl-open .ubtl-track i { top:3px; bottom:auto; height:16px; }
.ubtl-track em { position:absolute; top:22px; text-align:right; font-style:normal; font-size:.82rem; font-weight:600; color:var(--tl-ink); white-space:nowrap; }
.ubtl-num + span { min-width:0; }
.ubtl-ticks { position:relative; height:20px; }
.ubtl-ticks span { position:absolute; top:0; transform:translateX(-50%); font-size:.8rem; color:var(--tl-sub); }
.ubtl-ticks span:first-child { transform:none; }
.ubtl-ticks span.u { right:0; left:auto !important; transform:none; top:18px; font-size:.75rem; }
.ubtl-ticks span:nth-last-child(2) { transform:translateX(-100%); }
.ubtl-legend { display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:12px; font-size:.85rem; color:var(--tl-sub); }
.ubtl-legend span { display:flex; align-items:center; gap:8px; }
.ubtl-legend i { width:22px; height:12px; display:block; }
@media (max-width:760px) {
  .ubtl-tabs label { min-width:0; flex:1 1 0; padding:10px 12px; }
  .ubtl-tabs label b { font-size:1.35rem; }
  .ubtl-chart { padding:10px 12px 4px; }
  .ubtl-row { grid-template-columns:1fr; row-gap:6px; padding:8px 0; }
  .ubtl-lbl small { display:none; }
  .ubtl-row.ubtl-axis .ubtl-lbl { display:none; }
  .ubtl-ticks span.u { display:none; }
}
/* timeline v2: contractor works + first-payment marker (Juan's real schedule) */
.ubtl-c, .ubtl-legend .ubtl-c { background:#E9DCCB; box-shadow:inset 0 0 0 1px #C9B497; }
.ubtl-track .ubtl-payl { position:absolute; top:-8px; bottom:-9px; width:0; border-left:2px dashed var(--green); z-index:1; }
.ubtl-ticks span.p { top:18px; font-size:.75rem; font-weight:600; color:var(--green); transform:none; }
.ubtl-row.ubtl-axis { padding-bottom:14px; }
.ubtl-track em { background:#fff; padding:0 0 0 4px; z-index:2; }

/* ---- Epicenter measurements (Duckpin & Epicenter + Medidas), 2026-11-14. HTML from tools/epicenter_html.py ---- */
.epx-bars { margin-top: 28px; display: grid; gap: 12px; }
.epx-bar { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 16px; align-items: center; }
.epx-bl b { display: block; font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--light-ink); line-height: 1.2; }
.ub-page .epx-bl span { display: block; font-size: .9rem; color: var(--light-muted) !important; }
.epx-bar.epi .epx-bl b { color: var(--green); }
.epx-bt { display: flex; height: 30px; min-width: 0; }
.epx-bt i, .epx-key i { display: block; }
.epx-bt i.mq, .epx-key i.mq { background: var(--black); }
.epx-bt i.ln, .epx-key i.ln { background: linear-gradient(90deg, #EFD8AA, #DDB57A); position: relative; }
.epx-bt i.ap, .epx-key i.ap { background: #C9D6BD; }
.epx-bt i.ln em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .85rem; font-weight: 600; color: #5A3714; white-space: nowrap; }
.epx-key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 4px; font-size: .85rem; color: var(--light-muted); }
.epx-key span { display: flex; align-items: center; gap: 8px; }
.epx-key i { width: 22px; height: 12px; }
.epx-detail { margin: 36px 0 0; }
.epx-tabs { margin-bottom: 12px; }
.epx-draw { background: #fff; border: 1px solid var(--light-border); padding: 14px 16px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.epx-pane.epx-p13 { display: none; }
.epx-detail:has(.epx-r13:checked) .epx-p9 { display: none; }
.epx-detail:has(.epx-r13:checked) .epx-p13 { display: block; }
.epx-svg { display: block; width: 100%; height: auto; min-width: 720px; font-family: 'Barlow', sans-serif; }
.epx-svg .wall { fill: #B9BFB6; }
.epx-svg .floor { stroke: #12160F; stroke-width: 2; }
.epx-svg .lane { fill: #DDB57A; }
.epx-svg .lane.ext { fill: #DDB57A; opacity: .45; }
.epx-svg .leg { stroke: #8A7A5A; stroke-width: 1.5; }
.epx-svg .ps { fill: #1C2113; }
.epx-svg .ps2 { fill: #3D7A17; }
.epx-svg .rail { fill: none; stroke: #5C6868; stroke-width: 2; }
.epx-svg .psl { fill: #8FC31F; font-size: 13px; font-weight: 600; text-anchor: middle; }
.epx-svg .pin { fill: #fff; stroke: #9a9a9a; stroke-width: .8; }
.epx-svg .mask { fill: #2A2F25; }
.epx-svg .mask2 { fill: #2A2F25; opacity: .85; }
.epx-svg .foul { stroke: #C8102E; stroke-width: 2.5; }
.epx-svg .fl { fill: #C8102E; font-size: 12px; text-anchor: end; }
.epx-svg .ret { fill: #5C6868; }
.epx-svg .d line { stroke: #12160F; stroke-width: 1; }
.epx-svg .d text { fill: #12160F; font-size: 13px; text-anchor: middle; }
.epx-svg .d.v text { text-anchor: start; }
.epx-svg .d.tot line { stroke: #3D7A17; stroke-width: 2; }
.epx-svg .d.tot text { fill: #3D7A17; font-size: 15px; font-weight: 700; }
.epx-svg .d.soft line { stroke: #8a948a; stroke-dasharray: 4 3; }
.epx-svg .d.soft text { fill: #5C6868; font-size: 12px; }
.epx-detail figcaption { margin-top: 8px; font-size: .9rem; color: var(--light-muted); }
.ub-page .epx-tbl { margin-top: 0; }
.ub-page .epx-tbl td { white-space: normal; }
@media (max-width: 760px) {
  .epx-bar { grid-template-columns: 1fr; gap: 6px; }
  .epx-bt { height: 24px; }
  .epx-bt i.ln em { font-size: .72rem; }
}
@media (min-width: 761px) { .epx-detail figcaption .mob { display: none; } }
/* "Envíanos el plano" banner with a real layout (Medidas), 2026-11-14 */
.ub-page .fcta-plan .fcta-inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; text-align: left; }
.ub-page .fcta-plan .fcta-sub { margin: 0 0 28px; }
.ub-page .fcta-plan .fcta-btns { justify-content: flex-start; }
.ub-page .fcta-planfig { margin: 0; }
.ub-page .fcta-planfig .plan-card { background: #fff; padding: 10px; }
.ub-page .fcta-planfig img { display: block; width: 100%; height: auto !important; }
.ub-page .fcta-planfig figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .ub-page .fcta-plan .fcta-inner { grid-template-columns: minmax(0,1fr); gap: 28px; } }
/* downloads + StringPin proof note, 2026-11-14 */
.ub-page .dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ub-page .btn.dl::before { content: ''; width: 14px; height: 14px; margin-right: 10px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.ub-page .epx-proof { margin-top: 28px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px; align-items: center; background: var(--black); padding: 14px; }
.ub-page .epx-proof img { display: block; width: 100%; height: auto !important; aspect-ratio: 4/3; object-fit: cover; }
.ub-page .epx-proof p { margin: 0; color: rgba(242,242,242,.82) !important; font-size: 1rem; line-height: 1.55; }
.ub-page .epx-proof b { color: #8FC31F; }
.ub-page .epx-proof a { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .ub-page .epx-proof { grid-template-columns: 1fr; } }
/* single Max Life pin on black (Mantenimiento #pines), 2026-11-14 */
.ub-page .split-img.pin { background: #000; }
.ub-page .split-img.pin img { aspect-ratio: 4/3 !important; object-fit: contain !important; }
/* explorer: key parts (e.g., Pro Lane 7/16" panel + lifetime warranty), 2026-11-14 */
.ub-page .ubx-dot.key { background: #FF6040; width: 46px; height: 46px; }
.ub-page .ubx-dot.key::before { border-color: rgba(255,96,64,.75); }
.ub-page .ubx-dot.key[aria-pressed="true"] { background: #fff; }
.ub-page .ubx-dot.key[aria-pressed="true"] span { color: #C2401F; }
.ub-page .ubx-list button.key { border-color: rgba(255,96,64,.7); }
.ub-page .ubx-list button.key span { background: #FF6040; }
.ub-page .ubx-list button.key[aria-pressed="true"] { border-color: #FF6040; color: #FF8A70; }
.ub-page .ubx-badge { display: inline-block; margin-bottom: 8px; padding: 4px 10px; background: #FF6040; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.ub-page .ubx-part figure.ubx-sealfig { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2A3320 0%, #12160F 75%) !important; aspect-ratio: 16/10; margin: 0; }
.ub-page .ubx-seal { width: 52%; max-width: 230px; aspect-ratio: 1; border-radius: 50%; border: 3px solid #FF6040; box-shadow: inset 0 0 0 8px #12160F, inset 0 0 0 10px rgba(255,96,64,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; }
.ub-page .ubx-seal b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; color: #fff; text-transform: uppercase; }
.ub-page .ubx-seal span { margin-top: 8px; font-size: .78rem; line-height: 1.3; color: #FF8A70 !important; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Noticias: full-HTML news article (.ubn) ---------- */
.ub-page.ubn .hero-h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.ub-page .ubn-facts { margin: 0 0 3rem; }
.ub-page .ubn-body { max-width: 720px; margin: 0 auto; color: var(--light-ink); }
.ub-page .ubn-body p, .ub-page .ubn-body li { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1.25rem; }
.ub-page .ubn-body .ubn-lead { font-size: 1.25rem; line-height: 1.65; }
.ub-page .ubn-body h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: 1; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 2.75rem 0 1rem; }
.ub-page .ubn-body a:not(.btn) { color: #2f6b12; text-decoration: underline; text-underline-offset: 3px; }
.ub-page .ubn-list { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.ub-page .ubn-list li { margin-bottom: .35rem; }
.ub-page .ubn-fig { margin: 2rem 0; }
.ub-page .ubn-fig img { width: 100%; height: auto; display: block; }
.ub-page .ubn-fig figcaption { font-size: .875rem; color: #5b6156; margin-top: .6rem; }
.ub-page .ubn-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2rem 0; }
.ub-page .ubn-gal .ubn-fig { margin: 0; }
.ub-page .ubn-gal img { aspect-ratio: 4/3; object-fit: cover; }
.ub-page .ubn-ally img { max-width: 480px; border: 1px solid rgba(18,22,15,.12); }
.ub-page .ubn-more { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.5rem 0 1.5rem; }
.ub-page .ubn-back { font-size: .95rem !important; }
@media (max-width: 600px) { .ub-page .ubn-gal { grid-template-columns: 1fr; } }

/* Noticias list: featured card with photo, linked to its article */
.ub-page .ins-card.feat { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.ub-page .ins-card.feat .ins-img { min-height: 260px; }
.ub-page .ins-card.feat .ins-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ub-page .ins-card.feat .ins-txt { padding: 36px 34px; align-self: center; }
.ub-page .ins-card.feat:hover .ins-read, .ub-page .ins-card.feat:focus-visible .ins-read { text-decoration: underline; }
@media (max-width: 760px) { .ub-page .ins-card.feat { grid-template-columns: 1fr; } .ub-page .ins-card.feat .ins-img { aspect-ratio: 16/10; min-height: 0; } }
@media (min-width: 761px) { .ub-page.ubn .ub-hero.dp .hero-photo::after { background: linear-gradient(90deg, rgba(18,22,15,.95) 0%, rgba(18,22,15,.86) 55%, rgba(18,22,15,.5) 100%), linear-gradient(to top, rgba(18,22,15,.85) 0%, transparent 45%); } }

/* Medidas: regulation 2-lane layout (tools/lane_layout_html.py) */
.ub-page .ubl { margin: 0 0 2rem; background: #fff; border: 1px solid var(--light-border); padding: 16px; }
.ub-page .ubl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ub-page .ubl-svg { width: 100%; height: auto; display: block; }
.ub-page .ubl .lbl { font-family: var(--f-ui); fill: #12160F; letter-spacing: .02em; }
.ub-page .ubl .lbl.cap { text-transform: uppercase; font-size: 16px; }
.ub-page .ubl .lbl.sm { font-size: 13px; }
.ub-page .ubl figcaption { font-size: .95rem; color: var(--light-muted); margin-top: 12px; line-height: 1.55; }
.ub-page .ubl figcaption a { color: #2f6b12; text-decoration: underline; }
@media (max-width: 900px) { .ub-page .ubl-svg { min-width: 1040px; } .ub-page .ubl { padding: 10px; } }
/* Epicenter 2-lane layout tabs (tools/epicenter_layout.py) share the .ubl drawing styles */
.ub-page .epl .lbl { font-family: var(--f-ui); fill: #12160F; letter-spacing: .02em; }
.ub-page .epl .lbl.cap { text-transform: uppercase; font-size: 16px; }
.ub-page .epl .lbl.sm { font-size: 13px; }
.ub-page .epl figcaption { font-size: .95rem; color: var(--light-muted); margin-top: 10px; line-height: 1.55; }

/* Real project photos inside product sections (2026-11-16) */
.ub-page .ub-real { margin: 2rem 0 0; }
.ub-page .ub-real img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.ub-page .ub-real figcaption, .ub-page .ub-real-row figcaption { font-size: .9rem; color: var(--light-muted); margin-top: .5rem; }
.ub-page .ub-real-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 2rem 0; }
.ub-page .ub-real-row figure { margin: 0; }
.ub-page .ub-real-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 760px) { .ub-page .ub-real-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ub-page .ub-real img { aspect-ratio: 16 / 10; } }

/* ---- Make option selectors obviously clickable (Juan 2026-11-16): instruction line, radio circles,
   a one-time nudge on unselected options. Applies to .ubtl-tabs (timelines, Epicenter),
   .ubx-tabs (explorers) and .lnp-tabs (Pistas personalization). ---- */
.ub-page .tab-hint { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-family:var(--f-ui) !important; font-weight:600; font-size:1.02rem; letter-spacing:.02em; color:var(--forest,#2F5E12) !important; }
.ub-page .ubx-sec .tab-hint, .ub-page .dark .tab-hint { color:#8FC31F !important; }
.ub-page .tab-hint svg { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; animation:ubTap 1.4s ease-in-out .6s 3; }
@keyframes ubTap { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
/* radio circle on the big option cards */
.ubtl-tabs label { position:relative; padding-right:52px; }
.ubtl-tabs label::after { content:''; position:absolute; right:18px; top:50%; width:20px; height:20px; margin-top:-10px; border-radius:50%; border:2px solid #9AA39A; background:#fff; box-sizing:border-box; transition:border-color .2s; }
.ubtl-tabs label:hover::after { border-color:var(--green); }
.ubtl-tabs input:checked + label::after { border-color:#8FC31F; background:radial-gradient(circle,#8FC31F 0 4px,transparent 5px); background-color:var(--black); }
/* radio circle on button tabs */
.ub-page .ubx-tabs button, .ub-page .lnp-tabs button { display:inline-flex; align-items:center; gap:10px; }
.ub-page .ubx-tabs button::before, .ub-page .lnp-tabs button::before { content:''; width:14px; height:14px; flex:none; border-radius:50%; border:2px solid currentColor; opacity:.65; box-sizing:border-box; }
.ub-page .ubx-tabs button[aria-selected="true"]::before, .ub-page .lnp-tabs button[aria-selected="true"]::before { opacity:1; background:radial-gradient(circle,currentColor 0 3px,transparent 4px); }
.ub-page .ubx-tabs button:not([aria-selected="true"]):hover { border-color:#8FC31F; }
.ub-page .lnp-tabs button:not([aria-selected="true"]):hover { border-color:var(--green); }
/* one-time nudge on the options the visitor hasn't opened */
.ubtl-tabs input:not(:checked) + label, .ub-page .ubx-tabs button[aria-selected="false"], .ub-page .lnp-tabs button[aria-selected="false"] { animation:ubNudge 1.3s ease-out 1.2s 2; }
@keyframes ubNudge { 0% { box-shadow:0 0 0 0 rgba(143,195,31,.65); } 100% { box-shadow:0 0 0 10px rgba(143,195,31,0); } }
@media (prefers-reduced-motion: reduce) { .ub-page .tab-hint svg, .ubtl-tabs label, .ub-page .ubx-tabs button, .ub-page .lnp-tabs button { animation:none !important; } }
.ub-page .split-img.mx-real img { aspect-ratio: 4 / 5 !important; object-position: 4% 60%; }
@media (max-width: 900px) { .ub-page .split-img.mx-real img { aspect-ratio: 16 / 10 !important; } }

/* Proyectos hero: the "6 premios" stat is a link that filters the gallery to the award winners */
.ub-page a.hstat-link { display: block; text-decoration: none; color: inherit; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.ub-page a.hstat-link:hover, .ub-page a.hstat-link:focus-visible { border-color: var(--orange); background: rgba(255,96,64,.1); }
.ub-page a.hstat-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.ub-page .hstat-go { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-family: var(--f-ui) !important; font-size: var(--fs-label-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange) !important; }
.ub-page .hstat-go svg { width: 14px; height: 14px; }
.ub-page a.hstat-link:hover .hstat-go { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Light-section tabs (.ub-ltabs), same affordance as .ubx-tabs: radio dot, nudge, tab hint ---- */
.ub-page .ub-ltabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.ub-page .ub-ltabs button { display:inline-flex; align-items:center; gap:10px; font-family:var(--f-ui); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:1rem; padding:11px 18px; background:#fff; color:var(--light-ink); border:1px solid rgba(18,32,32,.2); cursor:pointer; }
.ub-page .ub-ltabs button::before { content:''; width:14px; height:14px; flex:none; border-radius:50%; border:2px solid currentColor; opacity:.6; box-sizing:border-box; }
.ub-page .ub-ltabs button[aria-selected="true"] { background:var(--green); border-color:var(--green); color:#fff; }
.ub-page .ub-ltabs button[aria-selected="true"]::before { opacity:1; background:radial-gradient(circle,currentColor 0 3px,transparent 4px); }
.ub-page .ub-ltabs button:not([aria-selected="true"]):hover { border-color:var(--green); }
.ub-page .ub-ltabs button[aria-selected="false"] { animation:ubNudge 1.3s ease-out 1.2s 2; }
.ub-page .ub-ltabs button:focus-visible { outline:3px solid var(--green2); outline-offset:2px; }
.ub-page .ub-lpanel[hidden] { display:none !important; }
@media (prefers-reduced-motion: reduce) { .ub-page .ub-ltabs button { animation:none !important; } }

/* Accesorios · Muros LED: text beside the photo, compact horizontal cards (2026-11-16 space pass) */
.ub-page #muros-led .mlx-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:40px; align-items:stretch; }
.ub-page #muros-led .mlx-txt .facts { grid-template-columns:1fr !important; gap:0; margin-top:1.2rem; }
.ub-page #muros-led .mlx-txt .fact { padding:10px 0; border:0; border-top:1px solid var(--light-border); background:none; display:grid; grid-template-columns:110px 1fr; gap:12px; align-items:baseline; }
.ub-page #muros-led .mlx-top .ub-real { margin:0; display:flex; flex-direction:column; }
.ub-page #muros-led .mlx-top .ub-real img { flex:1; height:100% !important; min-height:0; object-fit:cover; }
.ub-page #muros-led .mlx-cards { margin-top:1.6rem; gap:14px; }
.ub-page #muros-led .mlx-cards .prod-card { display:grid; grid-template-columns:130px minmax(0,1fr); }
.ub-page #muros-led .mlx-cards .pc-img { aspect-ratio:auto !important; height:100%; min-height:110px; }
.ub-page #muros-led .mlx-cards .pc-img img { height:100% !important; }
.ub-page #muros-led .mlx-cards .pc-body { padding:12px 14px; }
.ub-page #muros-led .mlx-cards .pc-body h3 { font-size:1.08rem; margin:0 0 4px; }
.ub-page #muros-led .mlx-cards .pc-body p { font-size:.88rem; line-height:1.45; margin:0; }
@media (max-width:1000px) { .ub-page #muros-led .mlx-cards { grid-template-columns:1fr !important; } }
@media (max-width:900px) { .ub-page #muros-led .mlx-top { grid-template-columns:1fr; gap:20px; } .ub-page #muros-led .mlx-top .ub-real img { height:auto !important; aspect-ratio:16/10; } }

/* Paradoras · comparison: product cards folded into the table header, tighter rows (2026-11-16 space pass) */
.ub-page #compara table.cmp th, .ub-page #compara table.cmp td { padding:9px 14px; }
.ub-page #compara table.cmp thead th { padding:12px 14px; vertical-align:bottom; }
.ub-page #compara .cmp-prod { display:flex; gap:14px; align-items:center; color:#fff !important; text-decoration:none; text-transform:none; letter-spacing:0; }
.ub-page #compara .cmp-prod img { width:96px; height:72px; object-fit:cover; flex:none; background:#fff; }
.ub-page #compara .cmp-prod b { display:block; font-family:var(--f-display) !important; font-size:1.5rem; line-height:1; text-transform:uppercase; }
.ub-page #compara .cmp-prod small { display:block; font-family:var(--f-body) !important; font-size:.85rem; font-weight:400; line-height:1.35; margin-top:4px; color:rgba(255,255,255,.85); }
.ub-page #compara .cmp-prod em { display:inline-block; margin-top:6px; font-style:normal; font-family:var(--f-ui) !important; font-weight:700; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; color:#8FC31F; }
.ub-page #compara thead th:nth-child(2) .cmp-prod em { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.ub-page #compara .cmp-prod:hover em { text-decoration:underline; text-underline-offset:3px; }
@media (max-width:760px) { .ub-page #compara .cmp-prod { flex-direction:column; align-items:flex-start; gap:8px; } .ub-page #compara .cmp-prod img { width:100%; height:70px; } }

/* .ub-go: visible "open this" cue on any clickable card (2026-11-16). Basic visitors must see at a glance that a card opens more info. */
.ub-page .ub-go { display:inline-flex; align-items:center; gap:10px; margin-top:10px; font-family:var(--f-ui); font-weight:700; font-size:.95rem; letter-spacing:.02em; color:var(--forest) !important; white-space:nowrap; }
.ub-page .ub-go i { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--green); color:#fff; flex:none; transition:transform .2s ease, background .2s ease; }
.ub-page .ub-go svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.ub-page a:hover .ub-go, .ub-page a:focus-visible .ub-go { text-decoration:underline; text-underline-offset:4px; }
.ub-page a:hover .ub-go i, .ub-page a:focus-visible .ub-go i { transform:translateX(4px); background:var(--forest); }
.ub-page .ub-go.on-dark { color:#8FC31F !important; }
.ub-page a:hover .ub-go.on-dark i { background:#8FC31F; color:#12160F; }
.ub-page .ub-go.sm { font-size:.85rem; gap:8px; margin-top:6px; } .ub-page .ub-go.sm i { width:24px; height:24px; } .ub-page .ub-go.sm svg { width:13px; height:13px; }
.ub-page .prod-card .pc-body { display:flex; flex-direction:column; flex:1; } .ub-page .prod-card .pc-body .ub-go { margin-top:auto; padding-top:10px; }
.ub-page .prod-card:hover, .ub-page .prod-card:focus-visible { box-shadow:0 12px 26px rgba(18,32,32,.14); }
@media (prefers-reduced-motion:reduce) { .ub-page .ub-go i { transition:none; } }

/* ===== Shared from Inversión (moved 2026-11-16, used on Inversión + Home) ===== */
/* Proceso: story timeline (merged 9 etapas + Gantt, 2026-11-16) */
.ubjr-lede { margin:6px 0 0 !important; color:var(--light-muted) !important; max-width:62ch; }
.ubjr.ubtl { margin-top:18px; }
.ubjr-cap { margin:0 0 4px !important; color:var(--light-muted) !important; font-size:1rem !important; }
.ubjr-cap b { color:var(--light-ink); font-family:var(--f-ui); }
.ubjr-steps { list-style:none; margin:40px 0 0 !important; padding:0 !important; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; position:relative; }
.ubjr-steps::before { content:""; position:absolute; left:15px; right:15px; top:15px; height:2px; background:var(--green); opacity:.35; }
.ubjr-st { position:relative; display:flex; flex-direction:column; margin:0 !important; padding:0 !important; }
.ubjr-st::before { content:none !important; }
.ubjr-node { position:relative; display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.ubjr-node .n { flex:none; width:32px; height:32px; border-radius:50%; background:var(--green); color:#fff !important; display:grid; place-items:center; font-family:var(--f-display); font-weight:700; font-size:1.05rem; box-shadow:0 0 0 4px var(--ubjr-bg, var(--light-panel)); }
.ubjr-node .t { font-family:var(--f-ui); font-weight:700; font-size:.9rem; color:var(--forest); background:var(--ubjr-bg, var(--light-panel)); padding-right:6px; }
.ubjr-par { position:absolute; top:-30px; left:0; width:calc(200% + 14px); height:12px; border:2px dashed rgba(61,122,23,.55); border-bottom:0; text-align:center; }
.ubjr-par { font-family:var(--f-ui); font-size:.8rem; font-weight:700; color:var(--forest); line-height:1; }
.ubjr-when { display:none; font-family:var(--f-ui); font-weight:700; font-size:.85rem; color:var(--forest); margin-bottom:2px; }
.ubjr-last .ubjr-when { color:#8FC31F; }
.ubjr-ph { position:relative; margin:0; aspect-ratio:4/3; overflow:hidden; background:#cfd3d3; }
.ubjr-ph img { width:100%; height:100%; object-fit:cover; display:block; }
.ubjr-ph.plan { background:#fff; } .ubjr-ph.plan img { object-fit:contain; padding:8px; }
.ubjr-ph.prod { background:#12160F; } .ubjr-ph.prod img { object-position:50% 50%; }
.ubjr-ph figcaption { position:absolute; left:0; right:0; bottom:0; padding:18px 10px 6px; font-size:.75rem; line-height:1.25; color:#fff !important; background:linear-gradient(transparent, rgba(18,22,15,.82)); }
.ubjr-ph.plan figcaption { color:var(--light-muted) !important; background:none; padding-bottom:4px; }
.ubjr-tx { flex:1; display:flex; flex-direction:column; background:#fff; padding:14px 14px 12px; border:1px solid var(--light-border); border-top:0; }
.ub-page .ubjr-tx h4 { font-family:var(--f-display); text-transform:uppercase; font-size:1.2rem; line-height:1.1; color:var(--light-ink); margin:0 0 6px; }
.ub-page .ubjr-tx p { font-size:.93rem; line-height:1.45; color:var(--light-muted); margin:0 0 10px; }
.ub-page .ubjr-tx .ubjr-meta { margin:auto 0 0; display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; font-size:.78rem; }
.ubjr-who { display:inline-block; padding:3px 8px; font-family:var(--f-ui); font-weight:700; background:rgba(61,122,23,.12); color:var(--forest); }
.ubjr-who.ct { background:#E9DCCB; color:#5a4630; }
.ub-page .ubjr-who.bw { background:#12160F; color:#fff !important; }
.ubjr-stg { color:var(--light-muted); }
.ubjr-last .ubjr-tx { background:#12160F; border-color:#12160F; }
.ub-page .ubjr-last .ubjr-tx h4 { color:#8FC31F; }
.ub-page .ubjr-last .ubjr-tx p { color:rgba(242,242,242,.85); }
.ubjr-last .ubjr-who { background:#8FC31F; color:#12160F; }
.ubjr-last .ubjr-stg { color:rgba(242,242,242,.7); }
.ubjr-last .ubjr-node .n { background:#12160F; }
.ubjr-foot { display:flex; flex-wrap:wrap; gap:10px 24px; align-items:flex-start; justify-content:space-between; margin-top:16px; }
.ub-page .ubjr-foot > p { margin:0; flex:1 1 420px; font-size:.9rem; color:var(--light-muted); line-height:1.5; }
.ubjr-more { flex:1 1 100%; }
.ubjr-more summary { display:inline-flex; align-items:center; gap:8px; cursor:pointer; list-style:none; padding:10px 16px; border:1px solid var(--forest); color:var(--forest); font-family:var(--f-ui); font-weight:700; font-size:.95rem; }
.ubjr-more summary::-webkit-details-marker { display:none; }
.ubjr-more summary::after { content:""; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
.ubjr-more[open] summary::after { transform:rotate(-135deg) translateY(-2px); }
.ubjr-more summary:hover { background:var(--forest); color:#fff; }
.ubjr-more summary:focus-visible { outline:3px solid var(--green); outline-offset:2px; }
.ubjr-more .ubtl-chart { margin-top:14px; }
@media (max-width:1100px) {
  .ubjr-steps { grid-template-columns:1fr; gap:10px; margin-top:16px !important; }
  .ubjr-steps::before { left:15px; right:auto; top:16px; bottom:16px; width:2px; height:auto; }
  .ubjr-par { display:none; }
  .ubjr-st { display:grid; grid-template-columns:32px minmax(0,150px) minmax(0,1fr); column-gap:12px; }
  .ubjr-node { grid-column:1; grid-row:1 / span 2; flex-direction:column; align-items:flex-start; margin:0; }
  .ubjr-node .t { display:none; }
  .ubjr-ph { grid-column:2; aspect-ratio:auto; min-height:110px; }
  .ubjr-tx { grid-column:3; border-top:1px solid var(--light-border); border-left:0; }
  .ubjr-when { display:block; }
}
@media (max-width:600px) {
  .ubjr-st { grid-template-columns:32px minmax(0,1fr); }
  .ubjr-ph { grid-column:2; aspect-ratio:21/9; min-height:0; }
  .ubjr-ph.plan img { padding:4px 4px 18px; }
  .ubjr-tx { padding:10px 12px; }
  .ub-page .ubjr-tx p { margin-bottom:8px; }
  .ubjr-tx { grid-column:2; border-top:0; border-left:1px solid var(--light-border); }
  .ubjr-node { grid-row:1 / span 2; }
}

/* Caso de negocio, graphic (2026-11-16) */
.bc-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:end; }
.bc-top .sec-hdr { margin-bottom:0; }
.bc-world { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ub-page .bc-k { grid-column:1/-1; font-family:var(--f-ui); font-weight:700; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; color:var(--forest); }
.bc-wf { display:flex; gap:12px; align-items:center; background:#fff; padding:12px 14px; border-top:3px solid var(--green); }
.bc-wf svg { flex:none; width:34px; height:34px; color:var(--green); }
.ub-page .bc-wf p { margin:0; font-size:.88rem; line-height:1.3; color:var(--light-muted); }
.bc-wf b { display:block; font-family:var(--f-display); font-size:1.6rem; line-height:1; color:var(--light-ink); margin-bottom:2px; }
.bc-card { margin:22px 0 0; background:#fff; border:1px solid var(--light-border); padding:20px 24px 18px; }
.ub-page .bc-title { margin:0 0 6px; font-family:var(--f-display) !important; font-weight:700 !important; text-transform:uppercase; font-size:1.35rem; color:var(--light-ink); }
.bc-tl { position:relative; padding-top:62px; }
.bc-call { position:absolute; top:0; display:flex; gap:10px; align-items:flex-end; }
.bc-call i { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; flex:none; }
.bc-call i svg { width:22px; height:22px; }
.bc-call span { font-size:.9rem; line-height:1.2; color:var(--light-muted); }
.bc-call b { display:block; font-family:var(--f-display); font-size:1.7rem; line-height:1; color:var(--light-ink); }
.bc-pay { left:0; } .bc-pay i { background:#8FC31F; color:#12160F; }
.bc-life { right:0; text-align:right; } .bc-life i { background:#12160F; color:#8FC31F; }
.bc-bar { display:flex; height:40px; }
.bc-bar .a { flex:0 0 5.7%; background:var(--green); }
.bc-bar .x { flex:0 0 5.7%; background:repeating-linear-gradient(135deg, var(--green) 0 6px, #8FC31F 6px 12px); }
.bc-bar .b { flex:1; display:flex; align-items:center; justify-content:center; padding:0 12px; background:linear-gradient(90deg, var(--forest), #12160F); }
.bc-bar em { font-style:normal; font-family:var(--f-ui); font-weight:700; font-size:.92rem; color:#fff; text-align:center; line-height:1.2; }
.bc-ticks { position:relative; height:22px; border-top:2px solid var(--light-ink); margin-top:4px; }
.bc-ticks span { position:absolute; top:4px; transform:translateX(-50%); font-size:.8rem; color:var(--light-muted); white-space:nowrap; }
.bc-ticks span:first-child { transform:none; } .bc-ticks span:last-child { transform:translateX(-100%); }
.ub-page .bc-card figcaption { margin:6px 0 0; font-size:.85rem; color:var(--light-muted); }
.bc-why { list-style:none; margin:16px 0 0 !important; padding:16px 0 0 !important; border-top:1px solid var(--light-border); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.bc-why li { display:flex; gap:12px; align-items:flex-start; margin:0 !important; padding:0 !important; }
.bc-why li::before { content:none !important; }
.bc-why svg { flex:none; width:36px; height:36px; padding:7px; border-radius:50%; background:rgba(61,122,23,.12); color:var(--forest); }
.ub-page .bc-why span { font-size:.88rem; line-height:1.35; color:var(--light-muted); }
.bc-why b { display:block; font-family:var(--f-ui); font-size:1rem; color:var(--light-ink); }
.ub-page .bc-proj { margin-top:14px; padding:14px 20px; }
.ub-page .bc-proj p { font-size:.95rem; line-height:1.5; }
@media (max-width:1000px) {
  .bc-top { grid-template-columns:1fr; gap:16px; }
  .bc-why { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .bc-card { padding:16px 14px; }
  .bc-wf { flex-direction:column; align-items:flex-start; gap:6px; padding:10px 12px; } .bc-wf b { font-size:1.35rem; }
  .bc-call b { font-size:1.35rem; } .bc-call i { width:32px; height:32px; } .bc-call i svg { width:18px; height:18px; }
  .bc-call span { font-size:.8rem; }
  .bc-tl { padding-top:0; display:flex; flex-wrap:wrap; justify-content:space-between; row-gap:10px; }
  .bc-call { position:static; } .bc-life { margin-left:auto; } .bc-bar, .bc-ticks { flex:1 1 100%; }
  .bc-ticks { margin-top:-6px; }
  .bc-bar { height:auto; min-height:34px; }
  .bc-bar em { font-size:.78rem; padding:6px 0; }
  .bc-ticks span:nth-child(4), .bc-ticks span:nth-child(6) { display:none; }
  .bc-why { grid-template-columns:1fr; gap:10px; }
}

/* ============ Button visibility pass (2026-11-16) ============
   Juan: every button must be obvious to a basic visitor. Secondary buttons were a thin grey
   outline that read as a label. Now: 2px borders, tinted fill, bolder text, and an arrow on
   every button that does not already carry an icon. */
.ub-page .btn { border-width:2px; font-weight:700; }
.ub-page .btn:not(:has(svg)):not(:has(.arrow)):not(.dl)::after {
  content:""; flex:none; width:16px; height:16px; background:currentColor; transition:transform .2s ease;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ub-page .btn:hover::after, .ub-page .btn:focus-visible::after { transform:translateX(4px); }
.ub-page .btn:focus-visible { outline:3px solid var(--green2); outline-offset:3px; }
/* secondary on dark backgrounds */
.ub-page .btn-outline { background:rgba(143,195,31,.12); border-color:var(--green2); color:#fff; }
.ub-page .btn-outline:hover { background:var(--green2); border-color:var(--green2); color:#12160F; }
/* secondary on light backgrounds */
.ub-page .light .btn-outline, .hx .btn-ink, .ub-page .btn-ink { background:rgba(61,122,23,.09); border-color:var(--green); color:var(--forest); }
.ub-page .light .btn-outline:hover, .hx .btn-ink:hover, .ub-page .btn-ink:hover { background:var(--green); border-color:var(--green); color:#fff; box-shadow:0 8px 20px rgba(61,122,23,.25); }
/* dark panels inside light sections keep the dark-background style */
.ub-page .light .crp .btn-outline, .ub-page .light .ivx-price .btn-outline, .ub-page .light .bec-price .btn-outline { background:rgba(143,195,31,.12) !important; border-color:var(--green2) !important; color:#fff !important; }
.ub-page .light .crp .btn-outline:hover { background:var(--green2) !important; color:#12160F !important; }
.ub-page .btn-glass { border-color:rgba(143,195,31,.7); }
.ub-page .btn-ghost { text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:2px; }
@media (prefers-reduced-motion:reduce) { .ub-page .btn::after { transition:none; } }
.ub-page .btn.dl::after { content:""; flex:none; width:18px; height:18px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ============ Site search (2026-11-16) ============ */
.ub-search-btn { order:3; display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 14px; background:rgba(143,195,31,.14); border:2px solid var(--green2); color:#fff; font-family:var(--f-ui); font-weight:700; font-size:.95rem; letter-spacing:.04em; cursor:pointer; transition:background .2s, color .2s; }
.ub-search-btn svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; }
.ub-search-btn:hover, .ub-search-btn:focus-visible { background:var(--green2); color:#12160F; }
.ub-search-btn:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.ub-nav { order:2; }
.ub-nav-toggle { order:4; }
@media (max-width:1300px) and (min-width:1101px) { .ub-nav ul { gap:20px; } .ub-header-in { padding-left:32px; padding-right:32px; } }
@media (max-width:1100px) { .ub-search-btn { margin-left:auto; height:46px; } }
@media (max-width:420px) { .ub-search-btn span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); } .ub-search-btn { width:46px; justify-content:center; padding:0; } }
.ubs-open, .ubs-open body { overflow:hidden; }
.ubs { position:fixed; inset:0; z-index:5000; display:none; }
.ubs.on { display:block; }
.ubs-back { position:absolute; inset:0; background:rgba(10,13,8,.72); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.ubs-box { position:relative; max-width:760px; margin:8vh auto 0; background:#fff; box-shadow:0 30px 80px rgba(0,0,0,.45); display:flex; flex-direction:column; max-height:80vh; border-top:5px solid var(--green2); }
.ubs-top { display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid rgba(18,32,32,.12); }
.ubs-top > svg { flex:none; width:24px; height:24px; fill:none; stroke:#3D7A17; stroke-width:2.4; stroke-linecap:round; }
.ubs-top input { flex:1; min-width:0; border:0; outline:0; font-family:var(--f-body); font-size:1.2rem; color:#12160F; padding:8px 0; background:transparent; }
.ubs-top input::placeholder { color:#7A8585; }
.ubs-x { flex:none; border:2px solid rgba(18,32,32,.2); background:#fff; padding:6px 12px; font-family:var(--f-ui); font-weight:700; font-size:.85rem; cursor:pointer; color:#12160F; }
.ubs-x:hover { border-color:#3D7A17; }
.ubs-list { overflow-y:auto; padding:8px 8px 4px; }
.ubs-h { margin:10px 10px 6px; font-family:var(--f-ui); font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:#1F4A0D; }
.ubs-r { display:flex; gap:12px; align-items:flex-start; padding:10px; text-decoration:none; color:#12160F; border-left:3px solid transparent; }
.ubs-r svg { flex:none; width:22px; height:22px; margin-top:2px; fill:none; stroke:#3D7A17; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ubs-r span { min-width:0; display:flex; flex-direction:column; gap:2px; }
.ubs-r em { font-style:normal; font-size:.75rem; font-weight:700; color:#3D7A17; text-transform:uppercase; letter-spacing:.04em; }
.ubs-r b { font-family:var(--f-ui); font-size:1.02rem; line-height:1.25; }
.ubs-r small { font-size:.86rem; line-height:1.4; color:#3F4B4B; }
.ubs-r mark { background:rgba(143,195,31,.35); color:inherit; padding:0 1px; }
.ubs-r:hover, .ubs-r.on, .ubs-r:focus-visible { background:rgba(61,122,23,.08); border-left-color:#3D7A17; outline:none; }
.ubs-chips { display:flex; flex-wrap:wrap; gap:8px; padding:4px 10px 10px; }
.ubs-chip { border:2px solid #3D7A17; background:rgba(61,122,23,.08); color:#1F4A0D; font-family:var(--f-ui); font-weight:700; font-size:.88rem; padding:6px 12px; cursor:pointer; }
.ubs-chip:hover { background:#3D7A17; color:#fff; }
.ubs-empty { margin:4px 10px 10px; font-size:.9rem; color:#3F4B4B; }
.ubs-none { display:flex; flex-direction:column; gap:8px; align-items:flex-start; padding:14px 10px; color:#3F4B4B; }
.ubs-none b { color:#12160F; font-family:var(--f-ui); }
.ubs-none .btn { padding:12px 18px; }
.ubs-foot { margin:0; padding:10px 16px; border-top:1px solid rgba(18,32,32,.12); font-size:.8rem; color:#5A6666; }
@media (max-width:760px) { .ubs-box { margin:0; max-height:100vh; height:100%; } .ubs-top input { font-size:1.05rem; } }
@media (prefers-reduced-motion:reduce) { .ub-search-btn { transition:none; } }
