:root {
  --uma-navy: #0b3a67;
  --uma-blue: #125d9c;
  --uma-green: #0d9f78;
  --uma-ink: #102335;
  --uma-muted: #5c6b78;
  --uma-line: #dfe8ef;
  --uma-soft: #f3f7fa;
  --uma-white: #fff;
  --uma-shadow: 0 14px 34px rgba(11, 58, 103, .12);
}

.uma-app-shell, .uma-app-shell * { box-sizing: border-box; }
.uma-app-shell { max-width: 1180px; margin: 0 auto; padding: 18px 16px 108px; color: var(--uma-ink); font-family: inherit; }
.uma-app-shell a { text-decoration: none; }

.uma-app-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 34px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #082e54, #0b4f82 62%, #0d9f78); box-shadow: var(--uma-shadow); }
.uma-app-hero::after { content: ''; position: absolute; width: 260px; height: 260px; right: -105px; top: -130px; border: 42px solid rgba(255,255,255,.09); border-radius: 50%; }
.uma-app-hero__brand { position: relative; z-index: 1; width: 98px; height: 98px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 24px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.uma-app-hero__brand span { font-size: 29px; font-weight: 900; letter-spacing: 1px; }
.uma-app-hero__brand small { font-size: 10px; opacity: .9; }
.uma-app-hero__copy, .uma-app-hero__actions { position: relative; z-index: 1; }
.uma-app-hero h1 { margin: 2px 0 8px; color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; }
.uma-app-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.55; }
.uma-app-hero .uma-eyebrow { color: #8ff0d3; font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.uma-app-hero__actions { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.uma-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 800; line-height: 1; }
.uma-button--light { color: var(--uma-navy); background: #fff; }
.uma-button--outline { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.08); }

.uma-app-search { position: relative; z-index: 3; width: min(820px, calc(100% - 40px)); display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; margin: -20px auto 32px; padding: 9px 9px 9px 18px; border: 1px solid var(--uma-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(15, 45, 70, .12); }
.uma-app-search__icon { width: 24px; height: 24px; color: var(--uma-blue); }
.uma-app-search__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.uma-app-search input { min-width: 0; height: 44px; padding: 0 6px; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; color: var(--uma-ink); font-size: 16px; }
.uma-app-search button { height: 44px; padding: 0 22px; border: 0; border-radius: 12px; color: #fff; background: var(--uma-navy); font-weight: 800; cursor: pointer; }

.uma-app-section { padding: 20px 0 34px; }
.uma-app-section--soft { margin: 8px -16px 0; padding: 30px 16px 38px; border-radius: 28px; background: var(--uma-soft); }
.uma-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.uma-section-heading span { display: block; margin-bottom: 3px; color: var(--uma-green); font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.uma-section-heading h2 { margin: 0; color: var(--uma-ink); font-size: clamp(23px, 3vw, 32px); }
.uma-section-heading > a { color: var(--uma-blue); font-weight: 800; }

.uma-primary-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.uma-primary-grid .uma-product-card:first-child { grid-column: span 3; }
.uma-primary-grid .uma-product-card:nth-child(2) { grid-column: span 3; }
.uma-primary-grid .uma-product-card:nth-child(n+3) { grid-column: span 2; }
.uma-secondary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.uma-product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--uma-line); border-radius: 22px; color: var(--uma-ink); background: #fff; box-shadow: 0 8px 24px rgba(20, 55, 80, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.uma-product-card:hover { transform: translateY(-4px); border-color: #bcd2e2; box-shadow: var(--uma-shadow); }
.uma-product-card__visual { position: relative; min-height: 148px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--uma-navy), var(--uma-blue)); background-position: center; background-size: cover; }
.uma-product-card__visual.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,22,39,.64), rgba(3,22,39,.06)); }
.uma-product-card__svg { width: 66px; height: 66px; opacity: .94; }
.uma-product-card__svg svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.uma-product-card__badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; color: #063c2d; background: #b8f4e1; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.uma-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.uma-product-card__body strong { color: var(--uma-ink); font-size: 19px; line-height: 1.25; }
.uma-product-card__body small { display: block; margin-top: 7px; color: var(--uma-muted); font-size: 13px; line-height: 1.52; }
.uma-product-card__link { margin-top: auto; padding-top: 15px; color: var(--uma-blue); font-size: 13px; font-weight: 900; }
.uma-product-card--secondary .uma-product-card__visual { min-height: 118px; background: linear-gradient(135deg, #174b72, #10866c); }
.uma-product-card--secondary .uma-product-card__svg { width: 52px; height: 52px; }
.uma-product-card--secondary .uma-product-card__body strong { font-size: 17px; }

.uma-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uma-result-card { min-width: 0; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; padding: 11px; border: 1px solid var(--uma-line); border-radius: 17px; color: var(--uma-ink); background: #fff; }
.uma-result-card img, .uma-result-card__placeholder { width: 92px; height: 78px; display: flex; align-items: center; justify-content: center; border-radius: 12px; object-fit: cover; background: var(--uma-soft); }
.uma-result-card__placeholder svg { width: 38px; height: 38px; fill: none; stroke: var(--uma-blue); stroke-width: 2.2; }
.uma-result-card strong { display: block; font-size: 15px; line-height: 1.3; }
.uma-result-card small { display: block; margin-top: 5px; color: var(--uma-muted); font-size: 12px; line-height: 1.35; }
.uma-empty { padding: 26px; border: 1px dashed #b8cbd9; border-radius: 18px; text-align: center; background: #fff; }
.uma-empty strong, .uma-empty span { display: block; }
.uma-empty span { margin-top: 6px; color: var(--uma-muted); }

.uma-contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin-top: 28px; padding: 30px; border-radius: 24px; color: #fff; background: #102c43; }
.uma-contact-panel span { color: #82e8ca; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.uma-contact-panel h2 { margin: 4px 0 7px; color: #fff; font-size: 26px; }
.uma-contact-panel p { margin: 0; color: rgba(255,255,255,.72); }
.uma-contact-panel__actions { display: flex; gap: 10px; }
.uma-contact-panel__actions a { padding: 12px 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; color: #fff; font-weight: 800; }
.uma-contact-panel__actions a:last-child { border-color: var(--uma-green); background: var(--uma-green); }

.uma-app-nav { position: fixed; z-index: 9998; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); width: min(620px, calc(100% - 22px)); display: none; grid-template-columns: repeat(4, 1fr); padding: 7px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 14px 40px rgba(4,27,45,.25); backdrop-filter: blur(12px); transform: translateX(-50%); }
.uma-app-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: #385165; font-size: 10px; font-weight: 800; }
.uma-app-nav a span { color: var(--uma-blue); font-size: 20px; line-height: 1; }

.uma-install-banner { position: fixed; z-index: 99999; left: 16px; bottom: 82px; display: flex; align-items: center; overflow: hidden; max-width: calc(100% - 32px); border: 1px solid #d5e2eb; border-radius: 16px; background: #fff; box-shadow: 0 16px 42px rgba(6, 37, 62, .22); opacity: 0; transform: translateY(14px); transition: .25s ease; }
.uma-install-banner.is-visible { opacity: 1; transform: translateY(0); }
.uma-install-banner__main { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; padding: 9px 7px 9px 10px; border: 0; color: var(--uma-ink); background: transparent; text-align: left; cursor: pointer; }
.uma-install-banner__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--uma-navy), var(--uma-green)); font-size: 12px; font-weight: 900; }
.uma-install-banner strong, .uma-install-banner small { display: block; }
.uma-install-banner strong { font-size: 13px; }
.uma-install-banner small { margin-top: 2px; color: var(--uma-muted); font-size: 11px; }
.uma-install-banner__close { align-self: stretch; width: 38px; border: 0; color: #6c7d89; background: #f4f7f9; font-size: 22px; cursor: pointer; }
.uma-pwa-toast { position: fixed; z-index: 100000; left: 50%; bottom: 25px; max-width: min(460px, calc(100% - 32px)); padding: 13px 17px; border-radius: 12px; color: #fff; background: #102c43; box-shadow: 0 14px 36px rgba(0,0,0,.24); opacity: 0; transform: translate(-50%, 12px); transition: .25s ease; text-align: center; font-size: 13px; }
.uma-pwa-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .uma-app-hero { grid-template-columns: auto 1fr; }
  .uma-app-hero__actions { grid-column: 1 / -1; flex-direction: row; }
  .uma-primary-grid { grid-template-columns: repeat(2, 1fr); }
  .uma-primary-grid .uma-product-card:first-child, .uma-primary-grid .uma-product-card:nth-child(2), .uma-primary-grid .uma-product-card:nth-child(n+3) { grid-column: span 1; }
  .uma-primary-grid .uma-product-card:first-child { grid-column: span 2; }
  .uma-secondary-grid { grid-template-columns: repeat(2, 1fr); }
  .uma-results-grid { grid-template-columns: repeat(2, 1fr); }
  .uma-contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .uma-app-shell { padding: 8px 11px 105px; }
  .uma-app-hero { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px 30px; border-radius: 22px; text-align: left; }
  .uma-app-hero__brand { width: 74px; height: 74px; border-radius: 18px; }
  .uma-app-hero__brand span { font-size: 24px; }
  .uma-app-hero h1 { font-size: 31px; }
  .uma-app-hero p { font-size: 14px; }
  .uma-app-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .uma-app-search { width: calc(100% - 22px); grid-template-columns: 24px 1fr; margin: -16px auto 24px; padding: 7px 12px; }
  .uma-app-search button { grid-column: 1 / -1; width: 100%; }
  .uma-app-section { padding: 15px 0 26px; }
  .uma-app-section--soft { margin-left: -11px; margin-right: -11px; padding-left: 11px; padding-right: 11px; border-radius: 22px; }
  .uma-primary-grid, .uma-secondary-grid, .uma-results-grid { grid-template-columns: 1fr; gap: 13px; }
  .uma-primary-grid .uma-product-card:first-child { grid-column: span 1; }
  .uma-product-card { display: grid; grid-template-columns: 124px 1fr; min-height: 145px; border-radius: 18px; }
  .uma-product-card__visual, .uma-product-card--secondary .uma-product-card__visual { min-height: 100%; }
  .uma-product-card__svg, .uma-product-card--secondary .uma-product-card__svg { width: 48px; height: 48px; }
  .uma-product-card__body { padding: 15px; }
  .uma-product-card__body strong, .uma-product-card--secondary .uma-product-card__body strong { font-size: 16px; }
  .uma-product-card__body small { font-size: 12px; }
  .uma-product-card__link { padding-top: 9px; }
  .uma-result-card { grid-template-columns: 78px 1fr; }
  .uma-result-card img, .uma-result-card__placeholder { width: 78px; height: 68px; }
  .uma-contact-panel { padding: 23px 19px; border-radius: 20px; }
  .uma-contact-panel h2 { font-size: 22px; }
  .uma-contact-panel__actions { flex-direction: column; }
  .uma-contact-panel__actions a { text-align: center; }
  .uma-app-nav { display: grid; }
  .uma-section-heading { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .uma-product-card, .uma-install-banner, .uma-pwa-toast { transition: none; }
}

/* Lead Generation Edition */
.uma-contact-panel__actions button,
.uma-app-nav button {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.uma-contact-panel__actions button {
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--uma-green);
  font-weight: 800;
}
.uma-app-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  color: #385165;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}
.uma-app-nav button span { color: var(--uma-blue); font-size: 20px; line-height: 1; }

html.uma-lead-open,
html.uma-lead-open body { overflow: hidden !important; }

.uma-lead-bar,
.uma-lead-bar * ,
.uma-lead-modal,
.uma-lead-modal *,
.uma-thanks,
.uma-thanks * { box-sizing: border-box; }

.uma-lead-bar {
  position: fixed;
  z-index: 99980;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, auto));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(5,37,62,.28);
}
.uma-lead-bar > a,
.uma-lead-bar > button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.24);
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.15;
}
.uma-lead-bar > :last-child { border-right: 0; }
.uma-lead-bar span { font-size: 20px; line-height: 1; }
.uma-lead-bar strong { color: inherit; font-size: inherit; }
.uma-lead-bar__call { background: #0b3a67; }
.uma-lead-bar__callback { background: #0b3a67; }
.uma-lead-bar__whatsapp { background: #087f5b; }
.uma-lead-bar__quote { background: #d95f02; }
.uma-lead-bar [hidden] { display: none !important; }

.uma-lead-modal {
  position: fixed;
  z-index: 100200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  transition: opacity .22s ease;
}
.uma-lead-modal[hidden] { display: none !important; }
.uma-lead-modal.is-open { opacity: 1; }
.uma-lead-modal__backdrop { position: absolute; inset: 0; background: rgba(2,20,35,.72); backdrop-filter: blur(4px); }
.uma-lead-dialog {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: min(850px, calc(100vh - 28px));
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  transform: translateY(16px) scale(.985);
  transition: transform .22s ease;
}
.uma-lead-modal.is-open .uma-lead-dialog { transform: translateY(0) scale(1); }
.uma-lead-dialog__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.2);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.uma-lead-dialog__head {
  padding: 27px 58px 23px 27px;
  color: #fff;
  background: linear-gradient(125deg, #082e54, #0b4f82 64%, #0d9f78);
}
.uma-lead-dialog__head > span { color: #9ff0d6; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.uma-lead-dialog__head h2 { margin: 4px 0 6px; color: #fff; font-size: clamp(24px, 5vw, 33px); line-height: 1.12; }
.uma-lead-dialog__head p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; }
.uma-lead-form { padding: 24px 27px 27px; }
.uma-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uma-form-grid label { display: block; margin: 0; }
.uma-form-grid label > span { display: block; margin-bottom: 6px; color: #203547; font-size: 12px; font-weight: 800; }
.uma-form-grid input,
.uma-form-grid textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cbd9e3 !important;
  border-radius: 11px !important;
  outline: 0;
  color: #102335;
  background: #fff;
  box-shadow: none !important;
  font: inherit;
  font-size: 15px;
}
.uma-form-grid textarea { min-height: 82px; resize: vertical; }
.uma-form-grid input:focus,
.uma-form-grid textarea:focus { border-color: #125d9c !important; box-shadow: 0 0 0 3px rgba(18,93,156,.12) !important; }
.uma-form-grid__wide { grid-column: 1 / -1; }
.uma-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin: 16px 0 12px; color: #516371; font-size: 12px; line-height: 1.45; }
.uma-consent input { margin: 2px 0 0; }
.uma-consent a { color: #125d9c; text-decoration: underline; }
.uma-lead-submit {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(110deg, #d95f02, #f0821f);
  box-shadow: 0 9px 23px rgba(217,95,2,.23);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}
.uma-lead-submit:disabled { opacity: .65; cursor: wait; }
.uma-lead-form__message { min-height: 0; margin: 0 0 10px; padding: 0; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.uma-lead-form__message.is-error,
.uma-lead-form__message.is-success { padding: 10px 12px; }
.uma-lead-form__message.is-error { color: #842029; background: #f8d7da; }
.uma-lead-form__message.is-success { color: #0f5132; background: #d1e7dd; }
.uma-lead-form__alternative { margin: 11px 0 0; text-align: center; color: #647582; font-size: 12px; }
.uma-lead-form__alternative a { color: #0b3a67; font-weight: 800; }
.uma-hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.uma-thanks {
  width: min(760px, calc(100% - 28px));
  margin: 50px auto 110px;
  padding: 42px 32px;
  border: 1px solid #dce7ee;
  border-radius: 26px;
  text-align: center;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11,58,103,.13);
}
.uma-thanks__icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: #0d9f78; font-size: 40px; font-weight: 900; }
.uma-thanks .uma-eyebrow { margin: 0; color: #0d9f78; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.uma-thanks h1 { margin: 7px 0 10px; color: #102335; font-size: clamp(30px, 6vw, 46px); }
.uma-thanks > p:not(.uma-eyebrow) { max-width: 610px; margin: 0 auto; color: #5c6b78; font-size: 16px; line-height: 1.6; }
.uma-thanks__actions { display: flex; justify-content: center; gap: 12px; margin-top: 25px; }
.uma-thanks__actions a { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; color: #fff; text-decoration: none; background: #0b3a67; font-weight: 850; }
.uma-thanks__actions a:nth-child(2) { background: #087f5b; }
.uma-thanks__back { display: inline-block; margin-top: 20px; color: #125d9c; font-weight: 800; }

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .uma-lead-bar {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    border: 0;
    border-top: 1px solid rgba(255,255,255,.3);
    border-radius: 0;
  }
  .uma-lead-bar > a,
  .uma-lead-bar > button { min-width: 0; min-height: 64px; padding: 8px 4px; flex-direction: column; gap: 3px; font-size: 10px; }
  .uma-lead-bar span { font-size: 19px; }
  .uma-app-nav { bottom: 76px; }
  .uma-app-shell { padding-bottom: 178px; }
}

@media (max-width: 560px) {
  .uma-lead-modal { padding: 8px; align-items: end; }
  .uma-lead-dialog { max-height: calc(100vh - 8px); border-radius: 22px 22px 0 0; }
  .uma-lead-dialog__head { padding: 22px 50px 18px 19px; }
  .uma-lead-form { padding: 18px 18px 22px; }
  .uma-form-grid { grid-template-columns: 1fr; gap: 11px; }
  .uma-form-grid__wide { grid-column: 1; }
  .uma-thanks { margin-top: 18px; padding: 32px 20px; }
  .uma-thanks__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .uma-lead-modal,
  .uma-lead-dialog { transition: none; }
}

/* Version 2.4: one-click enquiry consent notice */
.uma-consent--notice {
  display: block;
  margin: 14px 0 12px;
  color: #516371;
  font-size: 12px;
  line-height: 1.5;
}
.uma-consent--notice a {
  color: #125d9c;
  text-decoration: underline;
}
