@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/territorio/jakarta-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --civic-ink: #101657;
  --civic-violet: #7300db;
  --civic-aqua: #00f4da;
  --civic-teal: #008675;
  --civic-text: #435063;
  --civic-font: "Plus Jakarta Sans", Arial, sans-serif;
  font-family: var(--civic-font);
}
.new-header {
  border: 0;
  background: #fff;
  box-shadow: 0 7px 24px #142b4c13;
}
.new-header .header-inner { max-width: 1135px; min-height: 91px; }
.new-header .brand img { width: clamp(167px, 17vw, 225px); }
.new-header .navigation { font-size: 13px; gap: clamp(13px, 1.65vw, 23px); color: var(--civic-ink); }
.new-header .navigation a:hover { color: var(--civic-violet); }
.new-header .header-cta, .civic-button {
  background: var(--civic-violet);
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 10px 24px #7914ca24;
  font-size: 13px;
  line-height: 1.45;
  min-height: 48px;
  padding: 0 22px;
}
.new-header .header-cta:hover, .civic-button:hover { background: #5200a9; }
.civic-hero {
  position: relative;
  overflow: hidden;
  --civic-hero-height: clamp(600px, 52vw, 740px);
}
.civic-slide {
  background: #14056a;
  overflow: hidden;
  min-height: var(--civic-hero-height);
}
.civic-slide-inner {
  max-width: 1135px;
  min-height: var(--civic-hero-height);
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 35px;
  padding: 36px 0 96px;
}
.civic-slide--people { background: linear-gradient(118deg, #100044 0%, #250095 53%, #1239dc 100%); }
.civic-copy { position: relative; z-index: 2; }
.civic-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--civic-aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.45;
  margin: 0 0 18px;
}
.civic-kicker > span { height: 8px; width: 8px; background: var(--civic-aqua); border-radius: 50%; flex: 0 0 auto; }
.civic-copy h1, .civic-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.45vw, 76px);
  font-weight: 800;
  letter-spacing: -.064em;
  line-height: .99;
  text-wrap: balance;
}
.civic-copy h1::after, .civic-copy h2::after {
  content: "";
  display: block;
  margin: 22px 0 27px;
  width: min(69%, 360px);
  height: 9px;
  border-radius: 66% 32% 54% 40%;
  background: var(--civic-aqua);
  transform: rotate(-1.2deg);
  clip-path: polygon(0 27%, 20% 10%, 40% 15%, 54% 3%, 78% 22%, 100% 47%, 92% 78%, 75% 81%, 54% 100%, 31% 75%, 7% 72%);
}
.civic-copy em { display: block; color: var(--civic-aqua); font-style: normal; }
.civic-copy > p:not(.civic-kicker) { max-width: 475px; margin: 0 0 25px; color: #fff; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.civic-copy .civic-button { background: var(--civic-aqua); color: #180849; box-shadow: 0 10px 26px #08052c54; }
.civic-copy .civic-button:hover { background: #00cfb9; }
.civic-art {
  width: calc(100% + clamp(20px, 8vw, 125px));
  min-width: 0;
  aspect-ratio: 1.075;
  position: relative;
  isolation: isolate;
}
.portrait-city {
  position: absolute;
  inset: 3% -18% 2% 26%;
  background: linear-gradient(126deg, #00f1ded4, #007affd9), url("assets/territorio/ciudad.webp") center 56% / cover;
  border-radius: 58% 0 0 57%;
}
.portrait-ring {
  position: absolute;
  inset: 1% 9% 1% -1%;
  border: clamp(32px, 7.4vw, 118px) solid #e500ec;
  border-right-color: #4312f9;
  border-bottom-color: #bc00ef;
  border-radius: 50%;
  transform: rotate(-19deg);
  box-shadow: 0 12px 54px #7f21bc22;
}
.civic-portrait > img {
  position: absolute;
  top: 11%;
  left: 12%;
  width: 76%;
  height: 83%;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 49% 51% 49% 51% / 49% 48% 52% 51%;
  border: 1px solid #ffffffd1;
}
.portrait-petal {
  position: absolute;
  top: 3%;
  right: 6%;
  width: 27%;
  height: 20%;
  border-radius: 60% 52% 60% 35%;
  background: #22f3b3;
  opacity: .82;
  transform: rotate(28deg);
  mix-blend-mode: screen;
}
.civic-float {
  position: absolute;
  display: flex;
  gap: 11px;
  align-items: center;
  bottom: 13%;
  left: 1%;
  padding: 12px 16px 12px 12px;
  border: 1px solid #ffffffcc;
  border-radius: 16px;
  background: #190650;
  box-shadow: 0 12px 34px #10165760;
  color: #fff;
  transform: rotate(-4deg);
  font-size: 13px;
}
.civic-float small { color: #fff; display: block; margin-top: 3px; font-size: 11px; }
.civic-float-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--civic-aqua); color: #170447; font-size: 23px; }
.civic-slide--government { background: linear-gradient(115deg, #061133 12%, #0035c3 100%); }
.civic-slide--government .civic-copy :is(h2,p) { color: #fff; }
.civic-slide--government .civic-copy em { color: #57f8e3; }
.civic-slide--government .civic-copy .civic-kicker { color: #8efff4; }
.civic-slide--government .civic-copy > p:not(.civic-kicker) { color: #e3eaff; }
.civic-skyline > img, .civic-territory-art > img:first-child { position: absolute; width: 100%; height: 100%; object-fit: cover; border-radius: 50% 0 0 50%; }
.skyline-ring { position: absolute; inset: 0 -10% 0 0; border: clamp(20px, 5vw, 75px) solid #ad38eea1; border-right-color: transparent; border-top-color: #39e9f3b8; border-radius: 50%; transform: rotate(-15deg); mix-blend-mode: screen; }
.civic-slide--territory { background: linear-gradient(120deg, #05193d 12%, #00675f 100%); }
.civic-territory-art { background: #14175d; border-radius: 52% 0 0 52%; }
.civic-territory-art > img:first-child { opacity: .65; object-position: center 70%; }
.civic-territory-art .territory-art-overlay { position: absolute; inset: 6% 4%; width: 88%; height: 87%; object-fit: contain; }
.civic-pagination {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 100px;
  background: #170447;
  box-shadow: 0 3px 18px #10165768;
}
.civic-pagination button { border: 0; background: transparent; padding: 0; display: grid; place-items: center; width: 33px; height: 33px; }
.civic-pagination button::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #fff; }
.civic-pagination button[aria-pressed="true"]::before { border-color: var(--civic-aqua); background: var(--civic-aqua); }
.municipal-band { background: #0539ba; color: #fff; border: 0; }
.municipal-band strong { color: #fff; }
.civic-pathways { padding: 72px 0; text-align: center; }
.civic-pathways h2, .citizen-copy h2, .colony-copy h2 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -.055em; color: var(--civic-ink); margin: 0 0 17px; font-weight: 800; }
.civic-pathways > p:not(.new-kicker) { color: var(--civic-text); margin: 0 auto; max-width: 600px; line-height: 1.65; }
.civic-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1020px; margin: 35px auto 0; text-align: left; }
.civic-path { border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; color: #fff; background: #6100bd; }
.civic-path--gov { background: #0636bc; }
.civic-path > img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.civic-path--people > img { object-position: center 26%; }
.civic-path--gov > img { object-position: center 67%; }
.civic-path > span { display: grid; gap: 5px; padding: 20px 25px 24px; }
.civic-path small { font-size: 10px; font-weight: 800; letter-spacing: .13em; color: var(--civic-aqua); }
.civic-path strong { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.045em; }
.civic-path b { margin-left: 6px; }
.civic-path:hover b { color: #6df9e2; }
.priority-section { border-top: 1px solid #efeaf6; }
.priority-heading h2, .catastro-copy h2 { color: var(--civic-ink); }
.priority-heading h2 em, .catastro-copy h2 em { color: var(--civic-violet); }
.new-kicker { color: #6a1eb0; font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.6; margin: 0 0 18px; }
.priority-card { background: #6100bd; color: #fff; }
.priority-card:nth-child(2) { background: #073ac5; }
.priority-card:nth-child(3) { background: #00cbbb; color: #141650; }
.priority-card :is(h3,p,.priority-number,.feature-link) { color: inherit; }
.priority-card svg { stroke: var(--civic-aqua); }
.priority-card:nth-child(3) svg { stroke: #141650; }
.priority-card .feature-link { text-decoration: underline; text-underline-offset: 4px; }
.colony-section { padding: 83px 0; color: #fff; background: radial-gradient(ellipse at 79% 28%, #2c13cc, #0b0b55 68%); }
.colony-layout, .citizen-layout { display: grid; grid-template-columns: .81fr 1.19fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.colony-copy .civic-kicker, .citizen-copy .civic-kicker { color: #adfff3; }
.colony-copy h2, .citizen-copy h2 { color: #fff; }
.colony-copy p:not(.civic-kicker), .citizen-copy p:not(.civic-kicker) { color: #e7eeff; line-height: 1.67; font-size: 16px; }
.colony-controls { display: flex; flex-wrap: wrap; gap: 7px; margin: 21px 0 8px; }
.colony-controls button { border: 1px solid #b4eefa8f; background: #0e1952; color: #fff; border-radius: 30px; padding: 8px 12px; min-height: 39px; font-size: 12px; font-weight: 700; }
.colony-controls button[aria-pressed="true"] { border-color: #62f4da; background: #62f4da; color: #101657; }
.colony-copy .colony-description { min-height: 3.4em; margin-bottom: 0; font-size: 14px; }
.colony-map { --layer: #6ff9f5; position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 1.5; background: #131451; border: 1px solid #92dcf28c; border-radius: 24px; box-shadow: 0 24px 75px #04061f6b; }
.colony-map[data-layer="predios"] { --layer: #9cffb8; }
.colony-map[data-layer="inspecciones"] { --layer: #fca2ff; }
.colony-map > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.colony-map > img:first-child { opacity: .26; }
.colony-map .colony-overlay { object-fit: fill; opacity: .93; transition: filter .35s; }
.colony-map[data-layer="predios"] .colony-overlay { filter: hue-rotate(-70deg); }
.colony-map[data-layer="inspecciones"] .colony-overlay { filter: hue-rotate(84deg); }
.colony-features { position: absolute; inset: 0; width: 100%; height: 100%; }
.colony-features g { display: none; }
.colony-map[data-layer="predios"] .colony-parcels,
.colony-map[data-layer="inspecciones"] .colony-inspections { display: inline; }
.colony-map:is([data-layer="predios"], [data-layer="inspecciones"]) .colony-overlay { opacity: .49; }
.colony-legend, .colony-map figcaption { position: absolute; background: #101657e6; border: 1px solid #9edcff66; border-radius: 10px; padding: 8px 11px; font-size: 11px; color: #eef7ff; }
.colony-legend { display: flex; gap: 7px; align-items: center; top: 12px; right: 12px; }
.colony-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--layer); }
.colony-map figcaption { bottom: 12px; left: 12px; }
.catastro-feature { background: #073ac5; }
.catastro-copy :is(h2, ul, .feature-link), .catastro-copy > p:not(.new-kicker) { color: #fff; }
.catastro-copy h2 em, .catastro-copy .new-kicker { color: var(--civic-aqua); }
.catastro-copy .feature-link { text-decoration: underline; text-underline-offset: 4px; }
.citizen-story { color: #fff; padding: 77px 0; background: radial-gradient(ellipse at 85% 12%, #9a00e4, #390081 76%); overflow: hidden; }
.citizen-copy h2 em { color: #70f9e7; font-style: normal; }
.citizen-copy .civic-button { margin-top: 8px; background: var(--civic-aqua); color: #180849; }
.citizen-copy .civic-button:hover { background: #00cfb9; }
.photo-credits { padding-block: 14px; color: var(--civic-text); font-size: 12px; }
.photo-credits summary { cursor: pointer; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 950px) {
  .civic-slide-inner { gap: 22px; }
  .civic-hero { --civic-hero-height: 540px; }
  .new-header .navigation { gap: 13px; font-size: 12px; }
}
@media (max-width: 850px) {
  .new-header .header-inner { min-height: 71px; }
  .civic-slide-inner, .colony-layout, .citizen-layout { grid-template-columns: 1fr; }
  .civic-slide-inner { padding: 46px 0 74px; gap: 24px; }
  .civic-copy :is(h1,h2) { max-width: 640px; font-size: clamp(45px, 8.5vw, 70px); }
  .civic-art { width: min(100%, 620px); justify-self: center; }
  .civic-pagination { bottom: 19px; }
  .colony-section, .citizen-story { padding: 58px 0; }
}
@media (max-width: 560px) {
  .new-header .brand img { width: clamp(128px, 42vw, 179px); }
  .new-header .header-cta { min-height: 35px; padding-inline: 8px; font-size: 10px; }
  .civic-copy :is(h1,h2) { font-size: clamp(36px, 10vw, 55px); }
  .civic-copy :is(h1,h2)::after { margin: 14px 0 19px; }
  .civic-slide-inner { padding-top: 33px; }
  .civic-art { width: 100%; }
  .civic-float { padding: 8px; gap: 6px; font-size: 10px; }
  .civic-float small { font-size: 9px; }
  .civic-float-icon { width: 26px; height: 26px; font-size: 17px; }
  .civic-pathways { padding: 44px 0; }
  .civic-path-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .civic-path { border-radius: 22px; }
  .civic-path > span { padding: 18px 21px; }
  .colony-map { aspect-ratio: 1.2; }
}
@media (prefers-reduced-motion: no-preference) {
  .civic-slide:not([hidden]) .civic-art { animation: civic-reveal .45s ease-out both; }
  @keyframes civic-reveal { from { opacity: .55; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .colony-map .colony-overlay { transition: none; }
}

.service-portfolio {
  padding: clamp(44px, 6vw, 86px) 0;
  background: radial-gradient(ellipse at 86% 10%, #310092, #100540 65%);
  color: #fff;
}
.service-portfolio-kicker {
  margin: 0 0 12px;
  color: var(--civic-aqua);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}
.service-portfolio h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(33px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.service-portfolio-intro {
  max-width: 68ch;
  margin: 16px 0 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1.65;
}
.service-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-portfolio-grid a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #6500bb;
  color: #fff;
}
.service-portfolio-grid a:nth-child(4n + 2) { background: #093cce; }
.service-portfolio-grid a:nth-child(4n + 3) { background: #00685a; }
.service-portfolio-grid a:nth-child(4n + 4) { background: #940057; }
.service-portfolio-grid a:hover { border-color: #fff; }
.service-portfolio-grid a:focus-visible,
.service-portfolio-catalog:focus-visible {
  outline: 3px solid var(--civic-aqua);
  outline-offset: 3px;
}
.service-portfolio-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 28%;
}
.service-portfolio-card-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px;
  padding: 18px 20px 20px;
}
.service-portfolio-card-copy::after {
  grid-area: 1 / 2;
  content: "↗" / "";
  font-size: 19px;
  line-height: 1;
}
.service-portfolio-card-copy strong {
  grid-column: 1;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.25;
}
.service-portfolio-card-copy span {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.55;
}
.service-portfolio-catalog {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 11px 17px;
  border-radius: 100px;
  background: var(--civic-aqua);
  color: #11084a;
  font-size: 14px;
  font-weight: 800;
}
.service-portfolio-catalog:hover { background: #fff; }
@media (max-width: 1020px) {
  .service-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .service-portfolio-grid { grid-template-columns: minmax(0, 1fr); }
}

.catalog-section {
  border: 0;
  background: radial-gradient(ellipse at 83% 3%, #310b9b, #120541 58%);
  color: #fff;
}
.catalog-section .section-heading :is(h2, p) { color: #fff; }
.catalog-section .section-heading :is(.eyebrow, h2 span) { color: var(--civic-aqua); }
.catalog-section .catalog-filters {
  border-color: #514b88;
  border-radius: 16px;
  background: #211259;
  color: #fff;
}
.catalog-section .filter-heading h3,
.catalog-section .line-filters button,
.catalog-section .line-filters button b,
.catalog-section .filter-toggle { color: #fff; }
.catalog-section .filter-toggle { background: #4626a3; border-color: #8274be; }
.catalog-section .line-filters button i { width: 9px; height: 9px; border: 1px solid #fff; }
.catalog-section .line-filters button:hover { background: #412583; }
.catalog-section .line-filters button[aria-pressed="true"] {
  border-color: var(--civic-aqua);
  background: var(--civic-aqua);
  color: #170749;
}
.catalog-section .line-filters button[aria-pressed="true"] b { color: inherit; }
.catalog-section :is(.catalog-status, .catalog-note) { color: #fff; }
.catalog-section .catalog-status strong,
.catalog-section #catalogCount { color: var(--civic-aqua); }
.catalog-section .clear-filters,
.catalog-section .pagination button { border-color: #7e68c7; background: #352178; color: #fff; }
.catalog-section .pagination button[aria-current="page"] {
  border-color: var(--civic-aqua);
  background: var(--civic-aqua);
  color: #170749;
}
.catalog-section .empty-result { color: #170749; }
.catalog-section :is(button, input):focus-visible {
  outline: 3px solid var(--civic-aqua);
  outline-offset: 3px;
}
.catalog-section .solution-card {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 1px solid #ffffff50;
  border-radius: 16px;
  background: var(--line-color);
  color: #fff;
}
.solution-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
}
[data-solution-code="GI-07"] .solution-card-image { object-position: center 66%; }
[data-solution-code="GI-21"] .solution-card-image { object-position: center 56%; }
.solution-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.catalog-section .solution-card-top { align-items: center; color: #fff; }
.catalog-section .solution-card-top > span {
  padding: 4px 7px;
  background: #fff;
  color: var(--line-color);
  font-size: 10px;
}
.catalog-section .solution-card-top small { font-size: 10px; }
.catalog-section .solution-card h3 {
  min-height: 0;
  margin: 12px 0 8px;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 800;
  line-height: 1.22;
}
.catalog-section .solution-card h3 button { color: #fff; }
.catalog-section .solution-card h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.solution-card-body > p {
  margin: 0 0 13px;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}
.catalog-section .solution-areas {
  margin-bottom: 13px;
  color: #fff;
  font-size: 10px;
}
.catalog-section .solution-card-actions {
  flex-wrap: wrap;
  border-color: #ffffff60;
  padding-top: 10px;
}
.catalog-section .detail-button {
  min-height: 36px;
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-section .add-button {
  min-height: 36px;
  border-color: #fff;
  background: #fff;
  color: var(--line-color);
  font-size: 12px;
  font-weight: 800;
}
.catalog-section .add-button[aria-pressed="true"] {
  border-color: var(--civic-aqua);
  background: var(--civic-aqua);
  color: #170749;
}

.contact-panel h3 {
  margin: 12px 0;
  color: var(--civic-ink);
  font-size: 24px;
}
.contact-details {
  display: grid;
  gap: 12px;
  color: var(--civic-text);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}
.contact-details a {
  justify-self: start;
  color: #2348ad;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.contact-details .contact-number {
  font-size: 22px;
  font-weight: 800;
}
