:root {
  --navy: #08265b;
  --blue: #1264ce;
  --cyan: #067f9f;
  --ink: #142b4c;
  --muted: #4d6479;
  --paper: #f2f7fb;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.new-header .header-inner { min-height: 84px; }
.new-header .brand img { width: 237px; max-height: none; }
.new-header .navigation { font-size: 14px; font-weight: 600; gap: clamp(14px, 2vw, 32px); }
.new-header .navigation a { white-space: nowrap; }
.button.primary { background: #1264ce; box-shadow: none; }
.button.primary:hover { background: #094b9f; }
.new-header .header-cta, .priority-next .button {
  min-height: 48px;
  padding: 0 20px;
  font-size: 13px;
  border-radius: 100px;
  white-space: nowrap;
}
.observa-demo { position: relative; min-width: 0; margin: 0; isolation: isolate; }
.observa-demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -13% -18% 1% -3%;
  border: clamp(20px, 4vw, 62px) solid #2397e855;
  border-bottom-color: #5ce5ff55;
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
}
.demo-visual { position: relative; padding: 0 1% 7% 12%; }
.demo-board {
  overflow: hidden;
  background: #fff;
  color: #142b4c;
  border-radius: 15px;
  border: 1px solid #dcf6ff;
  box-shadow: 0 24px 60px #061a495e;
}
.demo-board-top { display: flex; align-items: center; gap: 8px; padding: 13px 13px 12px; font-size: clamp(8px, 1vw, 12px); white-space: nowrap; }
.demo-board-top strong span, .demo-phone-name b { color: #1264ce; }
.demo-mark { color: #1264ce; }
.demo-workspace { margin-left: auto; font-size: .85em; color: #4d6479; }
.demo-map { position: relative; aspect-ratio: 640 / 350; background: #e1eef0; }
.demo-map img { width: 100%; height: 100%; }
.demo-map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  background: #fff;
  color: #142b4c;
  font-size: 9px;
  line-height: 1.25;
  text-decoration: underline;
}
.demo-map-label { position: absolute; top: 8%; left: 7%; padding: 5px 7px; border-radius: 4px; background: #fff; color: #426078; font-size: 8px; font-weight: 700; }
.demo-pin {
  position: absolute;
  top: 38%;
  left: 59%;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1672d9;
  transition: background .25s ease;
  box-shadow: 0 0 0 9px #1672d936;
  animation: marker-signal 2.6s ease-out infinite;
}
.demo-pin[data-status="assigned"] { background: #a45807; box-shadow: 0 0 0 9px #e68f4048; }
.demo-pin[data-status="closed"] { background: #087b57; box-shadow: 0 0 0 9px #087b573e; animation: none; }
@keyframes marker-signal { 50% { transform: scale(1.2); } }
.demo-map-status {
  position: absolute;
  bottom: 9%;
  right: 6%;
  background: #fff;
  box-shadow: 0 8px 24px #132b4b24;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  padding: clamp(8px, 1.1vw, 15px);
  font-size: clamp(9px, 1.05vw, 14px);
}
.demo-map-status span { color: #1264ce; font-size: .81em; font-weight: 700; }
.demo-map-status small { color: #4d6479; }
.demo-phone {
  position: absolute;
  bottom: 0;
  left: 1%;
  width: 32%;
  min-width: 105px;
  color: #142b4c;
  background: #fff;
  padding: clamp(10px, 1.3vw, 18px) clamp(7px, 1vw, 14px) clamp(11px, 1.3vw, 19px);
  border: 4px solid #142d58;
  border-radius: clamp(16px, 2vw, 25px);
  box-shadow: 0 11px 26px #071a455e;
  display: grid;
  gap: 5px;
  line-height: 1.2;
}
.demo-phone-notch { position: absolute; top: 4px; left: 38%; width: 24%; height: 3px; border-radius: 3px; background: #142d58; }
.demo-phone-name, .demo-phone-kicker { font-weight: 800; font-size: clamp(6px, .78vw, 10px); white-space: nowrap; }
.demo-phone-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 33%; border-radius: 7px; }
.demo-phone-kicker, .demo-phone small { color: #4d6479; }
.demo-phone strong { font-size: clamp(8px, 1.04vw, 14px); }
.demo-phone small { font-size: clamp(6px, .78vw, 10px); }
.demo-phone-status { justify-self: start; padding: 4px 6px; border-radius: 4px; font-size: clamp(7px, .82vw, 10px); font-weight: 750; color: #064a7c; background: #e1f4ff; }
.demo-controls { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.demo-controls button { border: 1px solid #aacff08a; color: #fff; border-radius: 30px; min-height: 38px; background: #092452; padding: 0 11px; font-size: 11px; font-weight: 700; }
.demo-controls button[aria-pressed="true"] { color: #092452; background: #baf2ff; border-color: #baf2ff; }
.observa-demo figcaption { margin-top: 9px; font-size: 11px; color: #d1e5fc; }
.municipal-band { background: #eff7fd; border-bottom: 1px solid #dfebf4; color: #385570; }
.municipal-band .shell { display: flex; justify-content: space-between; gap: 12px 28px; padding-block: 22px; font-size: 13px; flex-wrap: wrap; }
.municipal-band strong { color: var(--navy); }
.priority-section { padding-block: 76px; }
.priority-heading { max-width: 800px; }
.priority-heading h2, .catastro-copy h2 {
  color: #0b2b55;
  font-size: clamp(33px, 4vw, 57px);
  letter-spacing: -.048em;
  line-height: 1.02;
  margin: 0 0 15px;
}
.priority-heading h2 em, .catastro-copy h2 em { color: #1264ce; font-style: normal; }
.priority-heading > p:last-child, .catastro-copy > p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 30px 22px; }
.priority-card { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; min-width: 0; border-radius: 18px; background: #eef7fc; }
.priority-card:nth-child(2) { background: #eaf0fc; }
.priority-card:nth-child(3) { background: #eaf7f5; }
.priority-number { color: #385570; font-weight: 750; font-size: 10px; letter-spacing: .08em; }
.priority-card svg { width: 35px; height: 35px; margin-top: 20px; fill: none; stroke: #1264ce; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.priority-card h3 { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.12; letter-spacing: -.035em; margin: 12px 0 6px; color: #0b2b55; }
.priority-card p, .priority-next p { color: #3f5870; font-size: 14px; line-height: 1.6; }
.feature-link { color: #0c55a7; background: none; border: 0; padding: 10px 0; font-size: 13px; font-weight: 750; text-align: left; }
.feature-link:hover { text-decoration: underline; }
.priority-card .feature-link { margin-top: auto; }
.priority-next { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.priority-next p { max-width: 570px; }
.catastro-feature { background: #eff7fb; padding-block: 65px; }
.catastro-layout { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(25px, 6vw, 84px); align-items: center; }
.catastro-photo { min-width: 0; }
.catastro-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 24px; }
.catastro-copy .new-kicker { color: #08619c; font-size: 11px; }
.catastro-copy ul { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 20px; color: #385570; font-size: 14px; line-height: 1.5; }
@media (max-width: 1050px) {
  .new-header .brand img { width: 185px; }
  .new-header .navigation { font-size: 12px; }
}
@media (max-width: 850px) {
  .new-header .header-inner { min-height: 72px; }
  .new-header .header-cta { order: 2; }
  .new-header .menu-toggle { order: 3; }
  .observa-demo { width: min(100%, 630px); margin-inline: auto; }
  .demo-visual { padding-left: 12%; }
  .demo-phone { font-size: 12px; }
  .priority-card { padding: 17px; }
}
@media (max-width: 620px) {
  .new-header .brand img { width: clamp(122px, 41vw, 181px); }
  .new-header .header-cta { font-size: 10px; min-height: 34px; padding-inline: 8px; }
  .priority-next .button { white-space: normal; text-align: center; }
  .municipal-band .shell { gap: 8px 16px; font-size: 11px; padding-block: 15px; }
  .priority-section, .catastro-feature { padding-block: 45px; }
  .priority-grid, .catastro-layout { grid-template-columns: 1fr; }
  .priority-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-pin { animation: none; transition: none; }
}
