:root {
  --blue: #11589f;
  --blue-dark: #062a55;
  --blue-mid: #0b77c5;
  --cyan: #00a6d6;
  --green: #058f61;
  --green-dark: #056343;
  --yellow: #f4c62f;
  --orange: #f28a22;
  --paper: #ffffff;
  --soft: #eef7ff;
  --ink: #17324d;
  --muted: #617384;
  --line: #dbe7ed;
  --shadow: 0 22px 60px rgba(9, 40, 79, 0.14);
  --radius: 30px;
  --radius-soft: 42px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 8px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-bottom: 1px solid rgba(219, 231, 237, 0.9);
  box-shadow: 0 20px 42px rgba(6, 42, 85, 0.28);
  backdrop-filter: blur(18px);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(180deg, rgba(6, 42, 85, 0.18), transparent);
  pointer-events: none;
}

.brand img {
  display: block;
  width: 118px;
  height: auto;
}

.menu {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.45vw, 22px);
  font-weight: 800;
  color: var(--blue-dark);
}

.menu a {
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu .menu-intranet {
  margin-left: clamp(12px, 2vw, 28px);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: #1d8f70;
  box-shadow: 0 10px 22px rgba(29, 143, 112, 0.22);
}

.menu .menu-intranet::after {
  display: none;
}

.menu .menu-intranet:hover {
  background: #f4c62f;
  color: var(--blue-dark);
}

.portal-link,
.btn,
.see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.portal-link,
.btn.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(17, 88, 159, 0.24);
}

.topbar-side {
  position: relative;
  display: grid;
  justify-items: end;
  align-items: center;
  gap: 0;
}

.topbar-socials {
  position: absolute;
  right: 18px;
  top: -12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding-right: 0;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(17, 88, 159, 0.14);
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(6, 42, 85, 0.1);
  font-size: 0.73rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.topbar-social svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.topbar-social:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(17, 88, 159, 0.22);
}

.portal-logo {
  position: relative;
  z-index: 4;
  width: clamp(260px, 24vw, 350px);
  min-height: 104px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(36px);
  transition: transform 0.28s ease;
}

.portal-logo::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 4px;
  height: 20px;
  border-radius: 999px;
  background: rgba(6, 42, 85, 0.22);
  filter: blur(13px);
  z-index: -1;
  transition: background 0.8s ease, box-shadow 0.8s ease, filter 0.8s ease, opacity 0.8s ease;
}

.portal-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(6, 42, 85, 0.18));
}

.portal-link-prompt {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 220px;
  max-width: 220px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  color: #fff;
  background:
    linear-gradient(135deg, #ff4e12, #ff7a00 58%, #ff3d00);
  box-shadow:
    0 18px 34px rgba(255, 92, 22, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.92);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.portal-link-prompt::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: #ff4c10;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.portal-logo.is-campaign-active {
  animation: portalCampaignPulse 0.9s ease 0s 3;
}

.portal-logo.is-campaign-active::after {
  background: rgba(255, 82, 22, 0.42);
  box-shadow: 0 0 0 14px rgba(255, 102, 32, 0.14);
  filter: blur(15px);
}

.portal-logo.is-campaign-active .portal-link-prompt {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.entry-spotlight {
  --spotlight-shift-x: 0px;
  --spotlight-shift-y: 0px;
  position: fixed;
  top: 108px;
  left: clamp(14px, 3vw, 34px);
  z-index: 35;
  width: min(388px, calc(100vw - 32px));
  pointer-events: none;
}

.entry-spotlight-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
  overflow: hidden;
  border-radius: 34px 16px 36px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22) 0 10%, transparent 10.5%),
    radial-gradient(circle at 88% 24%, rgba(255, 189, 92, 0.28) 0 14%, transparent 14.5%),
    linear-gradient(140deg, #ff4b0f 0%, #ff6f00 44%, #f74d16 100%);
  box-shadow:
    0 26px 58px rgba(108, 28, 2, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(-54px, 0, 0) scale(0.9);
  transition:
    opacity 0.42s ease,
    transform 0.88s cubic-bezier(0.19, 1, 0.22, 1);
}

.entry-spotlight-card::before,
.entry-spotlight-card::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.entry-spotlight-card::before {
  top: -72px;
  left: -54px;
  width: 180px;
  height: 180px;
  border: 26px solid rgba(255, 76, 16, 0.88);
  border-radius: 50%;
}

.entry-spotlight-card::after {
  right: 18px;
  bottom: -20px;
  width: 92px;
  height: 92px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: rgba(255, 121, 0, 0.82);
}

.entry-spotlight.is-visible .entry-spotlight-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.entry-spotlight.is-midway .entry-spotlight-card {
  opacity: 1;
  transform:
    translate3d(var(--spotlight-mid-x), var(--spotlight-mid-y), 0)
    scale(0.92)
    rotate(4deg);
  transition: transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-spotlight.is-traveling .entry-spotlight-card {
  opacity: 0;
  transform:
    translate3d(var(--spotlight-shift-x), var(--spotlight-shift-y), 0)
    scale(0.3)
    rotate(-11deg);
  transition:
    opacity 1.45s ease,
    transform 1.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.entry-spotlight-kicker {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: -6px 0 2px -18px;
  padding: 10px 18px 10px 22px;
  border-radius: 14px 999px 999px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0b77c5, #11589f 58%, #062a55);
  box-shadow:
    0 14px 28px rgba(6, 42, 85, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-6deg);
  transform-origin: left center;
}

.entry-spotlight-card strong {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  font-size: clamp(1.34rem, 2.15vw, 1.82rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.entry-spotlight-card p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 700;
}

.entry-spotlight-card b {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  color: #ff4c10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(108, 28, 2, 0.16);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.1;
}

@keyframes portalCampaignPulse {
  0%,
  100% {
    transform: translateY(36px) scale(1);
    filter: saturate(1);
  }
  50% {
    transform: translateY(32px) scale(1.04);
    filter: saturate(1.15);
  }
}

.btn.light {
  color: var(--blue-dark);
  background: #fff;
}

.btn.danger {
  color: #fff;
  background: linear-gradient(135deg, #d53c4b, #ab2130);
  box-shadow: 0 14px 28px rgba(171, 33, 48, 0.24);
}

.text-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 950;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  padding: 72px clamp(20px, 5vw, 72px) 54px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(244, 198, 47, 0.42) 0 6%, transparent 6.4%),
    radial-gradient(circle at 90% 74%, rgba(0, 166, 214, 0.58) 0 12%, transparent 12.5%),
    radial-gradient(circle at 18% 78%, rgba(120, 210, 244, 0.26) 0 13%, transparent 13.4%),
    linear-gradient(128deg, #062a55 0%, #0b64ad 54%, #057ba7 100%);
  border-bottom-left-radius: 7vw;
  border-bottom-right-radius: 18vw;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 14% auto auto 48%;
  width: 520px;
  aspect-ratio: 1;
  border: 44px solid rgba(255, 255, 255, 0.12);
  border-radius: 45% 55% 70% 30% / 35% 44% 56% 65%;
  animation: floatBlob 9s ease-in-out infinite;
}

.hero .btn.primary {
  background: #bcecff;
  color: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(0, 166, 214, 0.22);
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -120px;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background: url("assets/escudo 370x370.png") center / contain no-repeat;
  opacity: 0.16;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  opacity: 0.82;
  animation: drift 11s ease-in-out infinite;
}

.hero-orbit-one {
  left: 7vw;
  top: 24vh;
  width: 82px;
  height: 82px;
  background: #78d2f4;
}

.hero-orbit-two {
  left: 45vw;
  bottom: 16vh;
  width: 38px;
  height: 38px;
  background: #79d4f2;
  animation-delay: -3s;
}

.hero-copy,
.hero-feature {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: block;
}

.hero-message {
  min-height: 238px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .kicker,
.portal-section .kicker,
.agenda .kicker,
.tourism .kicker {
  color: #c6f4db;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
  color: #9fe7ff;
}

.hero-word-soft {
  display: block;
  margin-top: 0.08em;
  color: #ffffff;
  font-size: 0.72em;
  line-height: 1.08;
}

.hero-message h1 {
  min-height: 2.35em;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: clamp(1.85rem, 3.5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.hero-message > p:last-child {
  min-height: 3.1em;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-feature {
  position: relative;
  min-height: 425px;
}

.float-card {
  position: absolute;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 34px 22px 42px 24px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 70px rgba(2, 24, 52, 0.34),
    0 12px 22px rgba(0, 129, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  transition: transform 0.68s ease, opacity 0.68s ease;
}

a.float-card {
  color: inherit;
  text-decoration: none;
}

.hero-feature.is-switching .float-card {
  opacity: 0;
  transform: translateX(92px) rotate(0deg);
}

.float-card span {
  width: fit-content;
  color: var(--blue-dark);
  background: #bcecff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 999px;
}

.float-card strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.float-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.float-card-main {
  left: 0;
  top: 34px;
  width: min(100%, 390px);
  min-height: 276px;
  transform: rotate(-3deg);
}

.float-card-image {
  right: 0;
  top: -16px;
  width: 338px;
  height: 285px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 40px 76px rgba(2, 24, 52, 0.38),
    0 16px 28px rgba(0, 129, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transform: rotate(3deg);
}

.float-card-image[href] {
  cursor: pointer;
}

.float-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: translateZ(0);
}

.float-card-image img[src$=".svg"] {
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(135deg, #e8f5ff, #ffffff);
}

.float-card-image img[src$="casa-municipal-tierras-logo.png"] {
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.float-card-image img[src$="casa-municipal-tierras-logo-v2.svg"] {
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.float-card-image img[src$="casa-municipal-tierras-logo-relieve.png"] {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}

.float-card-image img[src$="san-vicente-emprende-logo.png"] {
  object-fit: contain;
  padding: 2px;
  background: #f4f0ec;
}

.float-card-image img[src$="san-vicente-emprende-logo-relieve.png"] {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.float-card-image img[src$="san-vicente-emprende-mobile.jpg"] {
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.float-card-image img[src$="app-municipal-mi-san-vicente.png"] {
  object-fit: contain;
  object-position: center bottom;
  padding: 6px 6px 0;
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
}

.float-card-image img[src$="app-municipal-mobile.jpg"] {
  object-fit: contain;
  object-position: center bottom;
  padding: 6px 6px 0;
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
}

.float-card-image img[src$="tasas-online-descuentos-pastel-final-ajustada.png"] {
  object-fit: cover;
  object-position: center;
}

.float-card-image img[src$="pagatasasonline_v5_hero.jpg"],
.float-card-image img[src$="tasas-online-mobile-v2.jpg"] {
  object-fit: cover;
  object-position: center;
}

.float-card-image img[src$="tramites-mi-san-vicente-hero.jpg"] {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #0d6faf, #f6fbff 72%);
}

.hero-feature-rates {
  min-height: 425px;
}

.hero-feature-rates .float-card-main {
  top: 38px;
  width: 300px;
  min-height: 220px;
  padding: 18px;
  transform: rotate(-2.2deg);
  z-index: 1;
}

.hero-feature-rates .float-card-main strong {
  font-size: 1.18rem;
}

.hero-feature-rates .float-card-main p {
  font-size: 0.95rem;
}

.hero-feature-rates .float-card-image {
  right: -10px;
  top: 8px;
  width: min(100%, 388px);
  height: 290px;
  border-radius: 24px 18px 30px 20px;
  transform: rotate(1.6deg);
  z-index: 2;
  pointer-events: none;
}

.hero-feature-rates .float-card-small {
  right: 20px;
  bottom: 24px;
  width: 220px;
  min-height: 118px;
  padding: 18px;
  transform: rotate(-2.4deg);
  z-index: 3;
}

.hero-feature-rates .float-card-mini {
  display: none;
}

.hero-feature-tramites {
  min-height: 425px;
}

.hero-feature-tramites .float-card-main {
  top: 38px;
  width: 300px;
  min-height: 220px;
  padding: 18px;
  transform: rotate(-2.2deg);
  z-index: 1;
}

.hero-feature-tramites .float-card-main strong {
  font-size: 1.18rem;
}

.hero-feature-tramites .float-card-main p {
  font-size: 0.95rem;
}

.hero-feature-tramites .float-card-image {
  right: -10px;
  top: 8px;
  width: min(100%, 388px);
  height: 290px;
  border-radius: 24px 18px 30px 20px;
  transform: rotate(1.6deg);
  z-index: 2;
}

.hero-feature-tramites .float-card-small {
  right: 20px;
  bottom: 24px;
  width: 220px;
  min-height: 118px;
  padding: 18px;
  transform: rotate(-2.4deg);
  z-index: 3;
}

.hero-feature-tramites .float-card-mini {
  display: none;
}

.float-card-small {
  right: 0;
  bottom: 38px;
  width: 245px;
  min-height: 142px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 28px 58px rgba(2, 24, 52, 0.3),
    0 10px 20px rgba(0, 129, 184, 0.14);
  transform: rotate(-2deg);
}

.float-card-small.has-logo {
  align-content: center;
  padding: 14px;
  background: #fff;
}

.float-card-mini.has-logo {
  align-content: center;
  padding: 12px;
  background: #fff;
}

.float-card-logo {
  width: 100%;
  height: 112px;
  display: block;
  object-fit: contain;
}

.float-card-mini .float-card-logo {
  height: 96px;
}

.float-card-logo[hidden] {
  display: none;
}

.float-card-small strong,
.float-card-mini strong {
  color: var(--blue-dark);
}

.float-card-small span,
.float-card-mini span {
  color: #fff;
  background: var(--blue);
}

.float-card-mini {
  left: 230px;
  bottom: 0;
  width: 205px;
  min-height: 126px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 24px 50px rgba(2, 24, 52, 0.28),
    0 9px 18px rgba(0, 129, 184, 0.13);
  transform: rotate(3deg);
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-dots button {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transform: rotate(-1deg);
}

.hero-dots button:nth-child(even) {
  transform: rotate(1.4deg);
}

.hero-dots button.active {
  background: #bcecff;
}

.quick-access {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -24px clamp(18px, 5vw, 72px) 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(-0.35deg);
}

.quick-access a {
  min-height: 104px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 22px;
  background: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-access a:hover {
  transform: translateY(-7px) rotate(1deg);
  background: #f5fbf8;
}

.quick-access a:nth-child(2) {
  background: #edf8ff;
}

.quick-access a:nth-child(3) {
  background: #e9f7ff;
}

.quick-access a:nth-child(4) {
  background: #e9fff4;
}

.quick-access span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.quick-access strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.section,
.portal-section,
.agenda,
.contact {
  padding: clamp(62px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title.inline {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.intro {
  padding-top: clamp(88px, 10vw, 140px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 18px;
}

.intro-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
  border-radius: 34px 20px 42px 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.intro-card:nth-child(2) {
  transform: translateY(24px) rotate(1deg);
}

.intro-card:nth-child(3) {
  transform: rotate(-1deg);
}

.digital-suite {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 14px;
  padding: clamp(42px, 5.8vw, 78px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 18%, rgba(188, 236, 255, 0.62) 0 8%, transparent 8.4%),
    radial-gradient(circle at 94% 82%, rgba(0, 166, 214, 0.34) 0 12%, transparent 12.5%),
    #fff;
}

.digital-card {
  position: relative;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 44px 24px 54px 26px;
  background: var(--soft);
  box-shadow: 0 18px 45px rgba(9, 40, 79, 0.09);
}

.digital-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 42% 58% 47% 53% / 56% 36% 64% 44%;
  background: rgba(255, 255, 255, 0.38);
}

.digital-card h2 {
  font-size: clamp(1.72rem, 2.6vw, 2.5rem);
}

.digital-card p {
  color: var(--muted);
  line-height: 1.42;
  margin-bottom: 0;
}

.digital-card.rates {
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(188, 236, 255, 0.72) 0 15%, transparent 15.4%),
    linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  transform: rotate(-1deg);
}

.digital-card.rates h2,
.digital-card.rates p {
  color: #fff;
}

.digital-card.rates .kicker {
  color: #d6ffe8;
}

.digital-card.rates .btn {
  width: fit-content;
  background: #bcecff;
  color: var(--blue-dark);
}

.digital-card.id-card {
  background: #e8f5ff;
  transform: translateY(20px) rotate(1.2deg);
}

.mi-card-logo {
  width: min(100%, 248px);
  margin: -6px 0 10px;
  display: block;
  filter: drop-shadow(0 14px 18px rgba(6, 42, 85, 0.12));
}

.digital-card.app-card {
  overflow: hidden;
  background: #eaf2ff;
  transform: rotate(-0.8deg);
}

.app-card-image {
  width: 160px;
  max-width: 52%;
  align-self: flex-end;
  margin: -10px -10px 2px 0;
  border-radius: 24px;
  filter: drop-shadow(0 18px 22px rgba(6, 42, 85, 0.16));
}

.floating-badge {
  position: absolute;
  right: 24px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 155, 100, 0.25);
}

.intro-card.big {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 420px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 63, 120, 0.9), rgba(0, 155, 100, 0.82)),
    #0b6e72;
}

.intro-card.big h3,
.intro-card.big p {
  color: #fff;
}

.intro-card.green {
  background: #e5f8ef;
}

.intro-card.yellow {
  background: #edf8ff;
}

.intro-card p,
.news p,
.tourism-copy p,
.portal-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.bubble {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 45% 55% 70% 30% / 35% 44% 56% 65%;
  background: rgba(188, 236, 255, 0.66);
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(188, 236, 255, 0.65) 0 8%, transparent 8.4%),
    linear-gradient(135deg, var(--blue-dark), #0b63a9);
  border-top-left-radius: 10vw;
  border-bottom-right-radius: 10vw;
}

.portal-section-logo {
  width: min(100%, 380px);
  margin: 0 0 20px -10px;
  display: block;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.18));
}

.portal-section h2,
.portal-section p {
  color: #fff;
}

.portal-dashboard {
  padding: 22px;
  border-radius: 46px 28px 52px 30px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
}

.dash-head span {
  opacity: 0.8;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-grid button {
  min-height: 108px;
  border: 0;
  border-radius: 24px 16px 28px 18px;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.services {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(22px, 3.8vw, 40px);
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 166, 214, 0.12), transparent 28%),
    linear-gradient(180deg, #eef7ff, #ffffff);
}

.services .section-title {
  max-width: none;
}

.services .section-title.inline > div {
  max-width: 760px;
}

.services .section-title.inline > div p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.56;
  font-weight: 500;
}

.management {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 166, 214, 0.24), transparent 24%),
    radial-gradient(circle at 88% 22%, rgba(66, 158, 118, 0.18), transparent 22%),
    linear-gradient(180deg, #d6e8f7 0%, #e8f2f8 44%, #eff6fa 100%);
  padding-top: clamp(24px, 3.6vw, 42px);
  padding-bottom: clamp(34px, 4.2vw, 58px);
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.management-grid a {
  position: relative;
  min-height: 236px;
  padding: 19px 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 88, 159, 0.22);
  border-radius: 30px 18px 36px 20px;
  background: linear-gradient(150deg, #ffffff 0%, #ebf6ff 100%);
  box-shadow:
    0 18px 34px rgba(9, 40, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.management-grid a::after,
.service-list a::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 166, 214, 0.12);
  transition: transform 0.24s ease;
}

.management-grid a:hover {
  transform: translateY(-7px) rotate(0.7deg);
  border-color: rgba(17, 88, 159, 0.38);
  box-shadow:
    0 24px 42px rgba(9, 40, 79, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.management-grid a:hover::after,
.service-list a:hover::after {
  transform: scale(1.16);
}

.area-icon,
.service-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(17, 88, 159, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
}

.area-icon {
  width: 112px;
  height: 70px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.area-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.management-card em {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(17, 88, 159, 0.16);
}

.management-grid strong,
.management-grid p,
.service-list strong,
.service-list small,
.service-area {
  position: relative;
  z-index: 1;
}

.management-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 1.12rem;
  line-height: 1.08;
}

.management-grid p {
  max-width: 94%;
  margin-bottom: 0;
  color: #4f6279;
  font-size: 0.92rem;
  line-height: 1.36;
}

.management-card-obras {
  background: linear-gradient(150deg, #ffffff 0%, #dff0ff 60%, #c9e7ff 100%);
}

.management-card-obras::after {
  background: rgba(17, 88, 159, 0.18);
}

.management-card-tierras {
  background: linear-gradient(150deg, #ffffff 0%, #e5f7ee 62%, #d1ecd8 100%);
}

.management-card-tierras::after {
  background: rgba(58, 112, 99, 0.2);
}

.management-card-educacion {
  background: linear-gradient(150deg, #ffffff 0%, #e2efff 60%, #cfe3ff 100%);
}

.management-card-educacion::after {
  background: rgba(105, 195, 237, 0.22);
}

.management-card-proteccion {
  background: linear-gradient(150deg, #ffffff 0%, #e0f3ef 62%, #cfe8e1 100%);
}

.management-card-proteccion::after {
  background: rgba(58, 112, 99, 0.21);
}

.management-card-salud {
  background: linear-gradient(150deg, #ffffff 0%, #e4f5eb 60%, #d0eadc 100%);
}

.management-card-salud::after {
  background: rgba(66, 158, 118, 0.2);
}

.management-card-cultura {
  background: linear-gradient(150deg, #ffffff 0%, #ffe8f3 60%, #f8d6e7 100%);
}

.management-card-cultura::after {
  background: rgba(236, 25, 127, 0.2);
}

.search {
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.search input,
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.contact textarea {
  padding-top: 14px;
  resize: vertical;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: stretch;
}

.service-hub-cards {
  margin: 10px 0 18px;
  padding: 0;
  background: transparent;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-list a,
.service-featured {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(219, 231, 237, 0.95);
  border-radius: 30px 18px 36px 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 40, 79, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-list a {
  min-height: 136px;
}

.service-featured {
  min-height: 100%;
  align-content: end;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(6, 42, 85, 0.96), rgba(17, 88, 159, 0.94)),
    linear-gradient(145deg, #ffffff, #eef8ff);
}

.service-featured::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px 14px 30px 16px;
  pointer-events: none;
}

.service-list a:hover,
.service-featured:hover {
  transform: translateY(-7px) rotate(0.6deg);
  border-color: rgba(17, 88, 159, 0.24);
  box-shadow: var(--shadow);
}

.service-list a.is-hidden {
  display: none;
}

.service-featured.is-hidden {
  display: none;
}

.service-area,
.news span {
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e7f3ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-list strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
  line-height: 1.12;
}

.service-list small,
.service-featured small {
  max-width: 92%;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

.service-featured .service-icon {
  width: 62px;
  height: 62px;
  color: var(--blue-dark);
  background: #fff;
}

.service-featured .service-area {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.service-featured strong {
  position: relative;
  z-index: 1;
  max-width: 420px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1;
}

.service-featured small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.service-featured em {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-style: normal;
  font-weight: 900;
}

.see-more {
  color: var(--blue);
  background: #e7f2f8;
}

.news-priority {
  position: relative;
  overflow: hidden;
}

.news-priority::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 110px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 44% 56% 62% 38% / 38% 45% 55% 62%;
  background: rgba(0, 166, 214, 0.14);
}

.news-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 18px;
}

.news-featured-stack {
  display: grid;
  grid-row: span 2;
  gap: 18px;
}

.news-main,
.news-card {
  overflow: hidden;
  border-radius: 36px 22px 42px 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(9, 40, 79, 0.08);
}

.news-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 251px;
}

.news-main > div:last-child,
.news-card {
  padding: 22px;
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-main h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.45rem);
}

.news-main p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-main a,
.news-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid #8bd8f4;
}

.news-main time,
.news-card time,
.detail-meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.news-card:hover {
  transform: translateY(-7px) rotate(0.8deg);
  box-shadow: var(--shadow);
}

.visual {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: #dbe7ed;
}

.visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.visual img[src$="nuevas-herramientas-educativas-destacada.jpeg"],
.news-page-hero img[src$="nuevas-herramientas-educativas-destacada.jpeg"] {
  object-fit: cover;
  object-position: center;
}

.visual img[src$="mantegazza-y-kicillof-inauguraron-la-ep-6.jpeg"],
.news-page-hero img[src$="mantegazza-y-kicillof-inauguraron-la-ep-6.jpeg"] {
  object-fit: cover;
  object-position: 58% 32%;
}

.news-main:hover .visual img,
.news-card:hover .visual img {
  transform: scale(1.04);
}

.news-area-back {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid #8bd8f4;
}

.news-area-intro {
  width: min(100% - clamp(32px, 6vw, 84px), 1180px);
  margin: 0 auto;
  padding: 30px 0 0;
}

.news-area-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}

.news-area-heading > div {
  min-width: 0;
  flex: 1 1 320px;
}

.news-area-heading img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.news-area-cta {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
}

.news-page.news-area-cta-visible .news-area-cta {
  display: inline-flex;
}

.news-area-heading .kicker {
  margin-bottom: 8px;
}

.news-area-heading h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.news-area-view .news-page-hero {
  padding-top: 28px;
  min-height: 420px;
}

.news-area-view .news-page-shell {
  padding-top: 20px;
}

.news-page-hero-copy h2 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.news-card .visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
  margin: -22px -22px 18px;
}

.agenda {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 42, 85, 0.98), rgba(17, 88, 159, 0.9)),
    var(--blue);
  overflow: hidden;
}

.agenda h2 {
  color: #fff;
}

.agenda-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
  animation: slowSlide 18s ease-in-out infinite alternate;
}

.agenda-track article {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.agenda time {
  color: #bcecff;
  font-size: 1.45rem;
  font-weight: 900;
}

.agenda span {
  opacity: 0.82;
}

.tourism {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 74% 24%, rgba(188, 236, 255, 0.35) 0 11%, transparent 11.4%),
    radial-gradient(circle at 12% 82%, rgba(5, 143, 97, 0.36), transparent 28%),
    linear-gradient(135deg, #05264e, #08739e 54%, #058f61);
}

.tourism-logo {
  width: clamp(132px, 15vw, 190px);
  margin: 0 0 18px;
  filter: drop-shadow(0 14px 20px rgba(2, 24, 52, 0.22));
}

.tourism h2,
.tourism p {
  color: #fff;
}

.tourism-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 74px);
  gap: 0;
  min-height: 444px;
  isolation: isolate;
  perspective: 1200px;
}

.tourism-mosaic a {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  background: #0b4d8f center / cover no-repeat;
  box-shadow: 0 26px 58px rgba(2, 24, 52, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  will-change: transform, opacity;
}

.tourism-mosaic a::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 24, 48, 0.08), rgba(4, 24, 48, 0.78)),
    linear-gradient(135deg, rgba(5, 143, 97, 0.2), rgba(6, 42, 85, 0.24));
}

.tourism-mosaic a:hover {
  transform: translateY(-7px) rotate(0.6deg);
  box-shadow: var(--shadow);
}

.tourism-mosaic strong,
.tourism-mosaic span {
  position: relative;
  z-index: 1;
}

.tourism-mosaic strong {
  font-size: 1.25rem;
  line-height: 1.05;
}

.tourism-mosaic span {
  max-width: 92%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.35;
}

.tourism-mosaic a:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1 / 6;
  z-index: 2;
  --final-transform: rotate(-1.4deg);
  --entry-transform: translateX(78px) translateY(24px) rotate(-5deg);
}

.tourism-mosaic a:nth-child(2) {
  grid-column: 6 / 12;
  grid-row: 1 / 4;
  z-index: 4;
  --final-transform: translateY(8px) rotate(1.8deg);
  --entry-transform: translateX(96px) translateY(38px) rotate(7deg);
}

.tourism-mosaic a:nth-child(3) {
  grid-column: 7 / 13;
  grid-row: 3 / 6;
  z-index: 5;
  --final-transform: translateY(-2px) rotate(-1.2deg);
  --entry-transform: translateX(-72px) translateY(54px) rotate(-6deg);
}

.tourism-mosaic a:nth-child(4) {
  grid-column: 2 / 7;
  grid-row: 5 / 7;
  z-index: 6;
  --final-transform: translateY(-6px) rotate(1.6deg);
  --entry-transform: translateX(-54px) translateY(80px) rotate(7deg);
}

.tourism-card.lagoon {
  background-image: url("assets/turismo/laguna-del-ojo.jpeg");
  background-position: center 50%;
}

.tourism-card.quinta {
  background-image: url("assets/turismo/quinta-17-octubre.jpeg");
  background-position: center 42%;
}

.tourism-card.station {
  background-image: url("assets/turismo/vieja-estacion.jpeg");
}

.tourism-card.routes {
  background-image: url("assets/turismo/circuitos-alojamiento.jpeg");
  background-position: center 48%;
}

.tourism .tourism-copy,
.tourism .tourism-card {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.82, 0.22, 1),
    box-shadow 0.24s ease;
}

.tourism .tourism-copy {
  transform: translateX(-48px);
}

.tourism .tourism-card:nth-child(1) {
  transform: var(--entry-transform);
}

.tourism .tourism-card:nth-child(2) {
  transform: var(--entry-transform);
  transition-delay: 0.08s;
}

.tourism .tourism-card:nth-child(3) {
  transform: var(--entry-transform);
  transition-delay: 0.16s;
}

.tourism .tourism-card:nth-child(4) {
  transform: var(--entry-transform);
  transition-delay: 0.24s;
}

.tourism.is-visible .tourism-copy {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

.tourism.is-visible .tourism-card {
  opacity: 1;
  transform: var(--final-transform);
}

.tourism.is-visible .tourism-mosaic a:hover {
  transform: translateY(-10px) rotate(0.6deg) scale(1.015);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .tourism .tourism-copy,
  .tourism .tourism-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.tourism-site {
  --tourism-teal: #009e9d;
  --tourism-mint: #7bdcb5;
  --tourism-leaf: #8dc63f;
  --tourism-sun: #f4c62f;
  --tourism-orange: #f28a22;
  --tourism-cream: #fff7df;
  --tourism-deep: #064e7b;
  --tourism-sea: #087d8f;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 8% 14%, rgba(244, 198, 47, 0.24), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(0, 158, 157, 0.28), transparent 24%),
    radial-gradient(circle at 80% 68%, rgba(242, 138, 34, 0.13), transparent 24%),
    linear-gradient(180deg, #eaf8fb 0%, #ffffff 38%, #f4fbdf 100%);
}

.tourism-hero,
.tourism-band,
.tourism-section {
  width: min(100% - clamp(32px, 6vw, 84px), 1180px);
  margin-inline: auto;
}

.tourism-hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 68px);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(56px, 6vw, 92px) max(clamp(32px, 6vw, 84px), calc((100vw - 1180px) / 2)) clamp(34px, 5vw, 70px);
  overflow: visible;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at 18% 20%, rgba(108, 149, 245, 0.36), transparent 28%),
    radial-gradient(circle at 10% 40%, rgba(77, 136, 207, 0.24), transparent 25%),
    radial-gradient(circle at 7% 18%, rgba(244, 198, 47, 0.2), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(0, 158, 157, 0.24), transparent 25%),
    radial-gradient(circle at 80% 78%, rgba(242, 138, 34, 0.13), transparent 22%),
    linear-gradient(135deg, rgba(230, 238, 255, 0.98), rgba(236, 250, 255, 0.88) 50%, rgba(247, 255, 244, 0.94));
}

.tourism-hero::before,
.tourism-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.tourism-hero::before {
  left: max(22px, calc((100vw - 1180px) / 2));
  top: 92px;
  width: clamp(260px, 31vw, 430px);
  height: clamp(260px, 31vw, 430px);
  background: rgba(108, 149, 245, 0.2);
  animation: slowFloat 12s ease-in-out infinite alternate;
}

.tourism-hero::after {
  right: 7%;
  bottom: 12%;
  width: 170px;
  height: 170px;
  background: rgba(242, 138, 34, 0.18);
  animation: slowFloat 15s ease-in-out infinite alternate-reverse;
}

.tourism-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  align-content: center;
}

.tourism-hero-logo {
  width: clamp(150px, 18vw, 220px);
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 16px 20px rgba(6, 42, 85, 0.16));
}

.tourism-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--blue-dark);
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 5.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  text-shadow: none;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.tourism-hero p {
  max-width: 620px;
  color: #45647d;
  font-size: 1.06rem;
  line-height: 1.62;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.tourism-hero-lead {
  margin: 0;
  color: var(--tourism-teal) !important;
  font-size: clamp(1.18rem, 1.8vw, 1.7rem) !important;
  font-weight: 900;
  line-height: 1.16 !important;
}

.tourism-hero.is-switching h1,
.tourism-hero.is-switching .tourism-hero-lead,
.tourism-hero.is-switching #tourismHeroText {
  opacity: 0;
  transform: translateY(14px);
}

.tourism-hero.is-switching .tourism-postcard {
  opacity: 0.28;
  transform: translateX(38px) rotate(0deg);
}

.tourism-hero-stack {
  position: relative;
  z-index: 2;
  min-height: 560px;
  perspective: 1200px;
}

.tourism-postcard {
  position: absolute;
  overflow: hidden;
  display: grid;
  align-content: end;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(6, 42, 85, 0.26);
  transform-origin: center;
  transition: opacity 0.42s ease, transform 0.42s ease;
  animation: postcardEntrance 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tourism-postcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tourism-postcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(5, 22, 45, 0.82)),
    linear-gradient(135deg, rgba(0, 168, 168, 0.18), rgba(244, 198, 47, 0.18));
}

.postcard-main::after {
  background:
    linear-gradient(180deg, rgba(7, 51, 104, 0.18) 0%, rgba(4, 24, 52, 0.86) 100%),
    linear-gradient(135deg, rgba(15, 115, 198, 0.48), rgba(49, 153, 222, 0.3) 52%, rgba(17, 88, 159, 0.42));
}

.tourism-postcard div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 22px;
  color: #fff;
}

.tourism-postcard span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(244, 198, 47, 0.24);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 900;
}

.tourism-postcard strong {
  max-width: 12ch;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.92;
}

.postcard-main {
  left: 0;
  top: 40px;
  width: 68%;
  height: 390px;
  transform: rotate(-2.4deg);
}

.postcard-side {
  right: 0;
  top: 0;
  width: 44%;
  height: 285px;
  transform: rotate(3.2deg);
  animation-delay: 0.14s;
}

.postcard-mini {
  right: 8%;
  bottom: 22px;
  width: 48%;
  height: 235px;
  transform: rotate(-1.5deg);
  animation-delay: 0.24s;
}

@keyframes postcardEntrance {
  from {
    opacity: 0;
    translate: 70px 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.tourism-subnav {
  position: sticky;
  top: 84px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100% - clamp(28px, 6vw, 84px), 980px);
  margin: -26px auto 34px;
  padding: 10px;
  border: 1px solid rgba(219, 231, 237, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 50px rgba(6, 42, 85, 0.12);
  backdrop-filter: blur(18px);
}

.tourism-subnav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-weight: 900;
}

.tourism-subnav a:hover {
  color: #fff;
  background: var(--green);
}

.tourism-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(52px, 8vw, 92px);
  padding: clamp(30px, 4vw, 48px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(244, 198, 47, 0.44), transparent 22%),
    radial-gradient(circle at 4% 90%, rgba(242, 138, 34, 0.3), transparent 26%),
    linear-gradient(135deg, #062a55, #00a8a8 52%, #8dc63f);
  box-shadow: 0 24px 62px rgba(6, 42, 85, 0.18);
}

.tourism-band h2,
.tourism-band p,
.tourism-band .kicker {
  color: #fff;
}

.tourism-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 0.98;
}

.tourism-band p {
  margin: 0;
  line-height: 1.62;
}

.tourism-section {
  margin-bottom: clamp(58px, 9vw, 104px);
}

.tourism-attractions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tourism-place {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: grid;
  align-content: end;
  border-radius: 26px;
  background: var(--blue-dark);
  box-shadow: 0 22px 54px rgba(6, 42, 85, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tourism-place:hover {
  transform: translateY(-8px) rotate(0.4deg);
  box-shadow: 0 30px 76px rgba(6, 42, 85, 0.24);
}

.tourism-place img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tourism-place:hover img {
  transform: scale(1.06);
}

.tourism-place::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 42, 85, 0.04), rgba(6, 42, 85, 0.84)),
    linear-gradient(135deg, rgba(5, 143, 97, 0.22), transparent 58%);
}

.tourism-place div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #fff;
}

.tourism-place span,
.tourism-service span,
.tourism-news-grid span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #073b53;
  background: var(--tourism-sun);
  font-size: 0.76rem;
  font-weight: 950;
}

.tourism-place h3,
.tourism-place p {
  margin: 0;
}

.tourism-place h3 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.02;
  text-shadow: 0 8px 20px rgba(4, 24, 48, 0.34);
}

.tourism-place p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  line-height: 1.45;
}

.place-feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 430px;
}

.place-feature h3 {
  max-width: 10ch;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.activity-section {
  padding: clamp(32px, 5vw, 58px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 8% 90%, rgba(244, 198, 47, 0.24), transparent 22%),
    radial-gradient(circle at 96% 8%, rgba(242, 138, 34, 0.16), transparent 22%),
    linear-gradient(135deg, #eef8ff, #fff7df 54%, #f7fff4);
}

.tourism-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tourism-activity-grid article,
.plan-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 231, 237, 0.9);
  box-shadow: 0 18px 44px rgba(6, 42, 85, 0.09);
}

.tourism-activity-grid span {
  color: var(--green);
  font-size: 2rem;
  font-weight: 950;
}

.tourism-activity-grid h3,
.tourism-activity-grid p,
.plan-grid p {
  margin: 0;
}

.tourism-activity-grid p,
.plan-grid p {
  color: var(--muted);
  line-height: 1.52;
}

.tourism-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.category-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: calc(clamp(58px, 9vw, 104px) * -0.55);
}

.tourism-category-panel {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 34px;
  border: 1px solid rgba(219, 231, 237, 0.9);
  box-shadow: 0 22px 54px rgba(6, 42, 85, 0.1);
}

.food-panel {
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 138, 34, 0.22), transparent 28%),
    linear-gradient(135deg, #ffffff, #fff7df);
}

.sleep-panel {
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 168, 168, 0.2), transparent 28%),
    linear-gradient(135deg, #ffffff, #eef8ff);
}

.tourism-category-panel h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.6rem, 2.7vw, 2.8rem);
  line-height: 0.96;
}

.tourism-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tourism-category-grid a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 231, 237, 0.95);
  font-size: 0.9rem;
  font-weight: 900;
}

.tourism-category-grid a:hover {
  color: #fff;
  background: var(--tourism-teal);
  border-color: var(--tourism-teal);
}

.tourism-service {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: grid;
  align-content: end;
  border-radius: 34px;
  color: #fff;
  box-shadow: 0 28px 68px rgba(6, 42, 85, 0.18);
}

.tourism-service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tourism-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 85, 0.03), rgba(6, 42, 85, 0.88));
}

.tourism-service div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
}

.tourism-service h2,
.tourism-service p {
  margin: 0;
  color: #fff;
}

.tourism-service h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.92;
}

.tourism-service p {
  max-width: 460px;
  line-height: 1.58;
}

.tourism-news-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tourism-news-grid article {
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px 14px 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(6, 42, 85, 0.1);
}

.tourism-news-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
}

.tourism-news-grid h3,
.tourism-news-grid p {
  margin: 0 8px;
}

.tourism-news-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.plan-section {
  padding: clamp(34px, 5vw, 58px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 198, 47, 0.26), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(141, 198, 63, 0.24), transparent 28%),
    linear-gradient(135deg, #062a55, #0f6fa7 56%, #00a8a8);
}

.plan-section .section-title h2,
.plan-section .section-title .kicker {
  color: #fff;
}

.plan-grid {
  grid-template-columns: repeat(4, 1fr);
}

.plan-grid article {
  min-height: 170px;
}

.plan-grid strong {
  color: var(--blue-dark);
  font-size: 1.12rem;
}

.tourism-directory {
  background:
    radial-gradient(circle at 5% 12%, rgba(244, 198, 47, 0.24), transparent 24%),
    radial-gradient(circle at 92% 4%, rgba(242, 138, 34, 0.16), transparent 22%),
    linear-gradient(180deg, #e9f8fb 0%, #fff 42%, #f4fbdf 100%);
}

.directory-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: min(100% - clamp(32px, 6vw, 84px), 1180px);
  min-height: 540px;
  margin: 0 auto clamp(30px, 5vw, 58px);
  padding: clamp(96px, 10vw, 130px) clamp(26px, 5vw, 56px) clamp(34px, 5vw, 58px);
  border-radius: 0 0 46px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(244, 198, 47, 0.28), transparent 26%),
    linear-gradient(135deg, var(--tourism-deep), var(--tourism-sea) 58%, #4f8e38);
  box-shadow: 0 28px 74px rgba(6, 42, 85, 0.22);
}

.directory-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% 34%;
  height: 320px;
  border-radius: 999px;
  background: rgba(244, 198, 47, 0.18);
  filter: blur(2px);
  transform: rotate(-8deg);
}

.directory-hero > div,
.directory-hero > img {
  position: relative;
  z-index: 1;
}

.directory-hero > div {
  display: grid;
  gap: 18px;
}

.directory-hero > img {
  width: 100%;
  height: clamp(320px, 42vw, 500px);
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 30px 74px rgba(3, 20, 42, 0.34);
  transform: rotate(2.2deg);
}

.directory-hero h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
}

.directory-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.62;
}

.directory-subnav {
  margin-top: -66px;
  margin-bottom: clamp(42px, 7vw, 76px);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.directory-card {
  overflow: hidden;
  display: grid;
  min-height: 420px;
  border-radius: 30px;
  color: inherit;
  background: #fff;
  box-shadow: 0 22px 58px rgba(6, 42, 85, 0.13);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.directory-card:hover {
  transform: translateY(-8px) rotate(0.3deg);
  box-shadow: 0 34px 78px rgba(6, 42, 85, 0.22);
}

.directory-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.directory-card div {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 22px;
}

.directory-card span,
.lodging-card span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #073b53;
  background: var(--tourism-sun);
  font-size: 0.76rem;
  font-weight: 950;
}

.directory-card h3,
.directory-card p {
  margin: 0;
}

.directory-card h3 {
  color: var(--blue-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
}

.directory-card p {
  color: var(--muted);
  line-height: 1.5;
}

.directory-card.featured {
  grid-column: span 2;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 340px;
}

.directory-card.featured img {
  height: 100%;
}

.directory-categories,
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.directory-categories article,
.lodging-card,
.lodging-note {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(219, 231, 237, 0.9);
  box-shadow: 0 18px 46px rgba(6, 42, 85, 0.1);
}

.directory-categories strong,
.lodging-card h3,
.lodging-note h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.24rem;
  line-height: 1.08;
}

.directory-categories span,
.lodging-card p,
.lodging-note p {
  color: var(--muted);
  line-height: 1.52;
}

.lodging-card {
  min-height: 250px;
  align-content: start;
  background:
    radial-gradient(circle at 92% 10%, rgba(244, 198, 47, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff, #eef8ff);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lodging-card:hover {
  transform: translateY(-8px) rotate(-0.2deg);
  box-shadow: 0 28px 68px rgba(6, 42, 85, 0.18);
}

.lodging-card.featured {
  background:
    radial-gradient(circle at 92% 10%, rgba(242, 138, 34, 0.22), transparent 26%),
    linear-gradient(135deg, #fff7df, #ffffff);
}

.lodging-card span {
  color: #fff;
  background: var(--tourism-sea);
  font-size: 1.1rem;
}

.lodging-note {
  grid-template-columns: 0.75fr 1fr;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 95% 20%, rgba(244, 198, 47, 0.32), transparent 24%),
    linear-gradient(135deg, var(--tourism-deep), var(--tourism-sea));
}

.lodging-note h2,
.lodging-note p,
.lodging-note .kicker {
  color: #fff;
}

.establishment-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: min(100% - clamp(32px, 6vw, 84px), 1180px);
  min-height: 560px;
  margin: 0 auto clamp(36px, 6vw, 70px);
  padding: clamp(96px, 10vw, 130px) clamp(26px, 5vw, 56px) clamp(34px, 5vw, 58px);
  border-radius: 0 0 46px 46px;
  background:
    radial-gradient(circle at 7% 18%, rgba(244, 198, 47, 0.26), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(0, 158, 157, 0.25), transparent 24%),
    linear-gradient(135deg, rgba(255, 247, 223, 0.9), rgba(236, 250, 255, 0.9) 54%, rgba(247, 255, 244, 0.94));
}

.establishment-hero > div {
  display: grid;
  gap: 18px;
}

.establishment-hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2.6rem, 5.8vw, 6.2rem);
  line-height: 0.9;
}

.establishment-hero p {
  margin: 0;
  max-width: 620px;
  color: #45647d;
  line-height: 1.62;
}

.establishment-hero > img {
  width: 100%;
  height: clamp(330px, 42vw, 500px);
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 30px 74px rgba(6, 42, 85, 0.22);
  transform: rotate(2deg);
}

.establishment-detail {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  align-items: stretch;
}

.establishment-info {
  display: grid;
  gap: 14px;
}

.establishment-info article {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(219, 231, 237, 0.9);
  box-shadow: 0 18px 46px rgba(6, 42, 85, 0.1);
}

.establishment-info span {
  color: var(--tourism-teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.establishment-info strong {
  color: var(--blue-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

.establishment-map {
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 58px rgba(6, 42, 85, 0.13);
}

.establishment-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.82, 0.22, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gov-open-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(8, 52, 92, 0.1);
  border-radius: 38px 24px 44px 26px;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 158, 157, 0.32) 0 11%, transparent 11.5%),
    radial-gradient(circle at 88% 12%, rgba(17, 88, 159, 0.36) 0 13%, transparent 13.5%),
    radial-gradient(circle at 84% 80%, rgba(5, 143, 97, 0.32) 0 14%, transparent 14.5%),
    linear-gradient(145deg, #c8e5fb 0%, #dbf0ff 34%, #d2ebe1 100%);
  box-shadow: 0 30px 62px rgba(9, 40, 79, 0.16);
  overflow: hidden;
}

.gov-open-shell::before,
.gov-open-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.gov-open-shell::before {
  inset: auto auto -74px -54px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(0, 158, 157, 0.22) 0%, rgba(0, 158, 157, 0) 70%);
}

.gov-open-shell::after {
  inset: -86px -42px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(17, 88, 159, 0.26) 0%, rgba(17, 88, 159, 0) 72%);
}

.gov-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gov-tab {
  min-height: 98px;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(10, 74, 124, 0.16);
  color: var(--blue-dark);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.74)),
    linear-gradient(180deg, #c8e4f8, #afd1eb);
  box-shadow: 0 20px 38px rgba(9, 40, 79, 0.16);
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.gov-tab::before,
.gov-tab::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.gov-tab::before {
  top: -26px;
  right: -18px;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.34);
}

.gov-tab::after {
  left: 16px;
  bottom: 14px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.22;
}

.gov-tab:nth-child(1) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, #9fcef3, #79b6e4);
}

.gov-tab:nth-child(2) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, #bce8de, #8fd0c0);
}

.gov-tab:nth-child(3) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, #c7e8d8, #9cccaf);
}

.gov-tab:nth-child(4) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, #b8dbf2, #8fc1e3);
}

.gov-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(9, 40, 79, 0.18);
}

.gov-tab.is-active {
  border-color: rgba(5, 143, 97, 0.34);
  color: #04284f;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 158, 157, 0.42) 0 14%, transparent 14.5%),
    linear-gradient(145deg, #bfe0f5, #9dcde7 42%, #a7d9c2 100%);
  box-shadow: 0 24px 46px rgba(9, 40, 79, 0.24);
}

.gov-panel {
  position: relative;
  z-index: 1;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(10, 74, 124, 0.16);
  border-radius: 34px 20px 42px 24px;
  background:
    radial-gradient(circle at 9% 14%, rgba(0, 158, 157, 0.24) 0 10%, transparent 10.5%),
    radial-gradient(circle at 92% 12%, rgba(20, 135, 205, 0.28) 0 12%, transparent 12.5%),
    radial-gradient(circle at 86% 82%, rgba(5, 143, 97, 0.2) 0 16%, transparent 16.5%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(228, 243, 248, 0.99));
  box-shadow: 0 32px 66px rgba(9, 40, 79, 0.18);
}

.gov-panel.is-switching {
  opacity: 0.55;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gov-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.gov-panel-copy {
  max-width: 760px;
  display: grid;
  gap: 8px;
}

.gov-panel-copy span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gov-panel-copy h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.gov-panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gov-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gov-panel-frame {
  width: 100%;
  min-height: 560px;
  border: 1px solid #d2e1e9;
  border-radius: 26px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.gov-licitations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gov-licitation-card,
.gov-economy-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(10, 74, 124, 0.14);
  border-radius: 28px 18px 34px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(218, 238, 240, 0.96));
  box-shadow: 0 22px 42px rgba(9, 40, 79, 0.14);
}

.gov-licitation-card span,
.gov-economy-card span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #8fcaef, #a8d9c0);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gov-licitation-card h4,
.gov-economy-card h4 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.3rem;
  line-height: 1.14;
}

.gov-licitation-meta {
  display: grid;
  gap: 8px;
}

.gov-licitation-meta strong,
.gov-economy-list a strong {
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.gov-licitation-meta small,
.gov-economy-list a small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.gov-economy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gov-economy-list {
  display: grid;
  gap: 10px;
}

.gov-economy-list a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #cfe0e7;
  border-radius: 18px;
  background: linear-gradient(180deg, #eef8fd, #dff0e8);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gov-economy-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 143, 97, 0.28);
  background: linear-gradient(180deg, #dfeffd, #cde9dd);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr minmax(300px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--soft);
}

.contact form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 22px;
  align-items: center;
  padding: 74px clamp(20px, 5vw, 72px) 28px;
  color: #fff;
  background: var(--blue-dark);
}

.useful-phones {
  position: relative;
  z-index: 2;
  height: 0;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 72px);
}

.useful-phones-pill {
  position: relative;
  isolation: isolate;
  width: min(100%, 1140px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(6, 42, 85, 0.98), rgba(10, 82, 141, 0.98) 52%, rgba(0, 166, 214, 0.96));
  box-shadow:
    0 28px 58px rgba(6, 42, 85, 0.28),
    0 14px 26px rgba(6, 42, 85, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.useful-phone-item {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 6px 4px;
}

.useful-phone-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 18px rgba(4, 24, 52, 0.24);
}

.useful-phone-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.useful-phone-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


.useful-phone-copy {
  display: grid;
  gap: 3px;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
}

.useful-phone-copy b {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 900;
}

.footer img {
  width: 74px;
  filter: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-mark {
  flex: 0 0 auto;
  width: 98px;
  min-height: 98px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 28px 18px 30px 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.footer-brand-copy,
.footer-contact,
.footer-meta {
  display: grid;
  gap: 4px;
}

.footer-brand-copy strong,
.footer-contact a,
.footer-contact span,
.footer-meta span {
  font-size: 0.96rem;
  line-height: 1.55;
}

.footer-brand-copy strong {
  font-size: 1.08rem;
}

.footer-brand-copy span,
.footer-contact span,
.footer-contact a,
.footer-meta span {
  opacity: 0.8;
}

.footer-contact {
  gap: 2px;
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-meta {
  justify-items: end;
  text-align: right;
}

.news-page,
.news-detail-page,
.admin-page,
.portal-page,
.intranet-page {
  background: var(--soft);
}

.program-hero,
.program-section,
.program-benefits,
.program-rules,
.form-hero,
.registry-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.program-hero {
  min-height: calc(100vh - 52px);
  padding: 82px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 410px);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  overflow: visible;
}

.program-hero-copy {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 48px 24px 56px 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(188, 236, 255, 0.62) 0 13%, transparent 13.5%),
    linear-gradient(135deg, var(--blue-dark), var(--blue), var(--cyan));
  box-shadow: var(--shadow);
  animation: programSlideLeft 0.92s cubic-bezier(0.19, 1, 0.22, 1) both;
  transform: translateY(-18px);
}

.program-logo {
  width: min(100%, 315px);
  margin: 0 0 16px -8px;
  filter: drop-shadow(0 14px 24px rgba(2, 24, 52, 0.2));
}

.program-hero h1,
.program-section h2,
.program-rules h2,
.form-hero h1 {
  color: var(--blue-dark);
}

.program-hero-copy h1 {
  max-width: 680px;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(2.15rem, 4.1vw, 4.45rem);
  line-height: 0.98;
}

.program-hero-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.56;
}

.program-sidecards {
  display: grid;
  gap: 16px;
}

.program-promo,
.program-callout {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 34px 18px 42px 22px;
  color: var(--blue-dark);
  background: #fff;
  box-shadow:
    0 34px 70px rgba(2, 24, 52, 0.22),
    0 12px 22px rgba(0, 129, 184, 0.13);
}

.program-promo {
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 232, 124, 0.9) 0 12%, transparent 12.5%),
    radial-gradient(circle at 12% 88%, rgba(214, 255, 232, 0.68) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #0081b8, #00a6d6 54%, #28c779);
  transform: rotate(-1.6deg);
  animation: programPromoIn 0.86s 0.14s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.program-promo span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #d6ffe8;
  font-weight: 900;
}

.program-promo strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.program-promo p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.program-promo b {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 18px 10px 22px 12px;
  color: var(--blue-dark);
  background: #ffdf6e;
  box-shadow: 0 12px 24px rgba(2, 24, 52, 0.2);
  font-size: 1.2rem;
  line-height: 1.1;
}

.program-callout {
  transform: rotate(2deg);
  animation: programCalloutIn 0.92s 0.24s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.program-callout span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.program-callout strong {
  font-size: 1.72rem;
  line-height: 1.05;
}

.program-callout .hero-actions {
  margin-top: 4px;
  flex-wrap: nowrap;
  gap: 10px;
}

.program-callout .btn {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.program-callout-campaign {
  position: relative;
  overflow: visible;
  animation: campaignCardPulse 1.35s ease-in-out infinite;
}

.program-callout-campaign::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 40px 22px 48px 26px;
  border: 2px solid rgba(255, 120, 32, 0.34);
  box-shadow:
    0 0 0 10px rgba(255, 121, 0, 0.08),
    0 22px 42px rgba(255, 121, 0, 0.14);
  pointer-events: none;
}

.program-callout-prompt {
  position: absolute;
  top: -18px;
  right: -10px;
  max-width: 214px;
  padding: 13px 18px;
  border-radius: 18px 18px 18px 6px;
  color: #fff;
  background: linear-gradient(135deg, #ff4e12, #ff7a00 58%, #ff3d00);
  box-shadow:
    0 18px 34px rgba(255, 92, 22, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
  animation: campaignPromptFloat 1.8s ease-in-out infinite;
}

.program-callout-prompt::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: #ff4c10;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@keyframes programSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) rotate(-1.2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-18px) rotate(0deg);
  }
}

@keyframes programPromoIn {
  from {
    opacity: 0;
    transform: translateX(90px) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(-1.6deg);
  }
}

@keyframes programCalloutIn {
  from {
    opacity: 0;
    transform: translateX(90px) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(2deg);
  }
}

@keyframes campaignCardPulse {
  0%,
  100% {
    transform: rotate(2deg) scale(1);
  }
  50% {
    transform: rotate(1.4deg) scale(1.02);
  }
}

@keyframes campaignPromptFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-hero-copy,
  .program-promo,
  .program-callout {
    animation: none;
  }
}

.program-section,
.program-rules {
  padding: 46px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.program-copy {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 32px 18px 38px 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(9, 40, 79, 0.08);
}

.program-copy p,
.rules-card li,
.registry-aside p,
.registry-aside li {
  color: var(--muted);
  line-height: 1.7;
}

.program-benefits {
  padding: 16px 0 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-benefits article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px 18px 36px 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(9, 40, 79, 0.08);
}

.program-benefits span {
  color: var(--cyan);
  font-weight: 950;
}

.program-benefits h3,
.rules-card h3,
.registry-aside h2 {
  color: var(--blue-dark);
}

.rules-card,
.registry-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px 20px 42px 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rules-card ul,
.registry-aside ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.form-hero {
  padding: 84px 0 30px;
}

.form-hero h1 {
  max-width: 860px;
  margin: 10px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.form-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.registry-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  padding: 20px 0 90px;
}

.activation-shell {
  padding-bottom: 58px;
}

.activation-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.activation-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid #dce9f2;
  border-radius: 22px 14px 26px 16px;
  background: linear-gradient(145deg, #ffffff, #f4faff);
}

.activation-summary-card span {
  color: #60758b;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.activation-summary-card strong {
  color: var(--blue-dark);
  font-size: 1.06rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.activation-guidance {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px 14px 26px 16px;
  border: 1px solid rgba(0, 129, 184, 0.16);
  background: #f4fbff;
}

.activation-guidance strong {
  color: var(--blue-dark);
}

.activation-guidance p {
  margin: 0;
  color: #5f7388;
  line-height: 1.65;
}

.activation-guidance-ok {
  border-color: rgba(5, 143, 97, 0.2);
  background: #eefaf4;
}

.activation-guidance-debt {
  border-color: rgba(242, 138, 34, 0.2);
  background: #fff6ee;
}

.activation-link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 28px rgba(17, 88, 159, 0.22);
  font-weight: 900;
  text-align: center;
}

.activation-link-cta:hover {
  transform: translateY(-1px);
}

.activation-link-cta-sidebar {
  width: 100%;
}

.activation-account-grid {
  grid-template-columns: minmax(240px, 0.95fr) minmax(240px, 1fr);
}

.registry-status {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px solid rgba(18, 151, 103, 0.2);
  border-radius: 20px;
  color: #064d36;
  background: #e7f8f0;
  box-shadow: 0 12px 30px rgba(9, 40, 79, 0.08);
  font-weight: 800;
}

.registry-status.is-error {
  border-color: rgba(194, 49, 49, 0.22);
  color: #7a1d1d;
  background: #fff0ef;
}

.registry-form {
  display: grid;
  gap: 18px;
}

.registry-form fieldset {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px 18px 38px 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(9, 40, 79, 0.08);
}

.form-section-title {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 1.2rem;
  font-weight: 950;
}

.registry-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 850;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group-title {
  color: var(--blue-dark);
  font-weight: 850;
}

.registry-form em {
  color: #df3b3b;
  font-style: normal;
}

.registry-form input[type="text"],
.registry-form input[type="tel"],
.registry-form input[type="email"],
.registry-form input[type="search"],
.registry-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid #d7e2ea;
  color: var(--blue-dark);
  background: transparent;
  font: inherit;
}

.registry-form input:focus {
  outline: 0;
  border-color: var(--cyan);
}

.registry-form select {
  appearance: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-row-phone {
  align-items: end;
  justify-content: start;
  gap: 10px;
  grid-template-columns: 120px 220px;
}

.field-narrow {
  width: min(140px, 100%);
}

.field-medium {
  width: min(240px, 100%);
}

.field-compact {
  max-width: 240px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d7e2ea !important;
  border-radius: 14px;
  background: #fbfdff !important;
}

.field-narrow .field-compact {
  max-width: 140px;
}

.field-medium .field-compact {
  max-width: 240px;
}

.field-select-compact select {
  width: min(220px, 100%);
  min-width: 0;
  min-height: 52px;
  padding: 0 38px 0 14px;
  border: 1px solid #d7e2ea;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.98)),
    linear-gradient(135deg, rgba(0, 166, 214, 0.08), rgba(5, 143, 97, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background-repeat: no-repeat;
}

.field-note {
  margin: -4px 0 0;
  color: #5f7388;
  font-size: 0.92rem;
  line-height: 1.5;
}

.field-note.is-success {
  color: #0a6b4e;
}

.field-note.is-error {
  color: #9a2f2f;
}

.radio-group {
  display: grid;
  gap: 12px;
}

.radio-group p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 850;
}

.radio-group label,
.check-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  flex-wrap: nowrap;
}

.registry-form label.check-line {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.registry-form label.check-line input[type="checkbox"] {
  margin: 0 !important;
  flex: 0 0 20px;
}

.registry-form label.check-line span {
  display: inline !important;
  line-height: 1.45;
}

.registry-form input[type="radio"],
.registry-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  border: 0;
  cursor: pointer;
}

.registry-aside {
  position: sticky;
  top: 110px;
}

.registry-aside img {
  width: min(100%, 300px);
  margin-bottom: 18px;
}

.registry-admin {
  padding: 96px 0 90px;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 166, 214, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff, #ffffff);
}

.form-hero-admin {
  padding-bottom: 34px;
}

.form-hero-admin-results {
  padding-top: 48px;
  padding-bottom: 10px;
  position: relative;
}

.registry-page-title {
  font-size: clamp(1.95rem, 3.7vw, 3.45rem) !important;
  line-height: 1.02 !important;
}

.registry-hero-user {
  position: absolute;
  top: 22px;
  right: 0;
  color: #667c91;
  font-size: 0.9rem;
  font-weight: 800;
}

.registry-hero-summary {
  max-width: none !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  color: #60758b !important;
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
}

.registry-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 14px;
  align-items: stretch;
}

.registry-admin-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.registry-admin-registros .registry-admin-shell {
  width: min(1120px, calc(100vw - 40px));
  gap: 18px;
}

.registry-admin-registros .registry-metric-grid {
  gap: 12px;
}

.registry-admin-registros .registry-metric {
  gap: 6px;
  padding: 18px 18px;
  border-radius: 22px 14px 24px 16px;
}

.registry-admin-registros .registry-metric span {
  font-size: 0.84rem;
}

.registry-admin-registros .registry-metric strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.registry-admin-registros .registry-admin-panel {
  padding: 22px;
}

.registry-admin-registros .registry-table {
  min-width: 720px;
}

.registry-admin-registros .registry-table th,
.registry-admin-registros .registry-table td {
  padding: 12px 12px;
}

.registry-admin-registros .registry-table th {
  font-size: 0.8rem;
}

.registry-admin-registros .registry-table td span {
  font-size: 0.84rem;
}

.registry-admin-registros .admin-toolbar-actions {
  gap: 10px;
}

.registry-admin-registros .btn {
  padding-inline: 14px;
}

.registry-metric-stack {
  display: grid;
  gap: 16px;
}

.registry-metric-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registry-metric-stack-results {
  gap: 10px;
  height: 100%;
}

.registry-metric-grid-results {
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registry-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.registry-metric {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 26px 16px 30px 18px;
  background: linear-gradient(145deg, #ffffff, #eff8ff);
  box-shadow: 0 16px 30px rgba(9, 40, 79, 0.08);
}

.registry-metric span {
  color: #5d7187;
  font-size: 0.92rem;
  font-weight: 800;
}

.registry-metric strong {
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 950;
}

.registry-metric-grid-results .registry-metric {
  gap: 6px;
  padding: 15px 16px;
  border-radius: 20px 12px 22px 14px;
}

.registry-metric-grid-results .registry-metric span {
  font-size: 0.8rem;
}

.registry-metric-grid-results .registry-metric strong {
  font-size: clamp(1.28rem, 1.7vw, 1.8rem);
}

.registry-metric-total {
  border-color: rgba(17, 97, 180, 0.18);
  background: linear-gradient(145deg, #f6fbff, #dff0ff);
}

.registry-metric-total strong,
.registry-metric-total span {
  color: #0f5ea7;
}

.registry-metric-info {
  border-color: rgba(0, 150, 200, 0.18);
  background: linear-gradient(145deg, #f1fcff, #d6f4ff);
}

.registry-metric-info strong,
.registry-metric-info span {
  color: #006b8e;
}

.registry-metric-success {
  border-color: rgba(18, 125, 83, 0.18);
  background: linear-gradient(145deg, #f3fff9, #d8f6e6);
}

.registry-metric-success strong,
.registry-metric-success span {
  color: #0f6b48;
}

.registry-metric-danger {
  border-color: rgba(184, 45, 45, 0.18);
  background: linear-gradient(145deg, #fff8f8, #ffe0e0);
}

.registry-metric-danger strong,
.registry-metric-danger span {
  color: #a12626;
}

.registry-metric-warning {
  border-color: rgba(191, 128, 16, 0.18);
  background: linear-gradient(145deg, #fffdf5, #ffefc4);
}

.registry-metric-warning strong,
.registry-metric-warning span {
  color: #946000;
}

.registry-metric-contrast {
  border-color: rgba(78, 76, 181, 0.18);
  background: linear-gradient(145deg, #faf8ff, #e8e4ff);
}

.registry-metric-contrast strong,
.registry-metric-contrast span {
  color: #4e46a6;
}

.registry-metric-grid > .registry-metric:nth-child(4):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) {
  border-color: rgba(184, 45, 45, 0.18);
  background: linear-gradient(145deg, #fff8f8, #ffe0e0);
}

.registry-metric-grid > .registry-metric:nth-child(4):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) strong,
.registry-metric-grid > .registry-metric:nth-child(4):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) span {
  color: #a12626;
}

.registry-metric-grid > .registry-metric:nth-child(5):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) {
  border-color: rgba(191, 128, 16, 0.18);
  background: linear-gradient(145deg, #fffdf5, #ffefc4);
}

.registry-metric-grid > .registry-metric:nth-child(5):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) strong,
.registry-metric-grid > .registry-metric:nth-child(5):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) span {
  color: #946000;
}

.registry-metric-grid > .registry-metric:nth-child(6):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) {
  border-color: rgba(78, 76, 181, 0.18);
  background: linear-gradient(145deg, #faf8ff, #e8e4ff);
}

.registry-metric-grid > .registry-metric:nth-child(6):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) strong,
.registry-metric-grid > .registry-metric:nth-child(6):not(.registry-metric-total):not(.registry-metric-info):not(.registry-metric-success):not(.registry-metric-danger):not(.registry-metric-warning):not(.registry-metric-contrast) span {
  color: #4e46a6;
}

.registry-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.registry-locality-panel {
  padding: 18px 20px;
  height: 100%;
}

.registry-locality-panel .registry-bar-chart {
  gap: 9px;
}

.registry-timeline-chart {
  display: grid;
  grid-template-columns: repeat(47, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
  min-height: 128px;
  padding: 10px 8px 4px;
  border-radius: 22px;
  background:
    linear-gradient(to top, rgba(30, 108, 185, 0.08) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(145deg, #f9fcff, #eef7ff);
  border: 1px solid #deebf5;
}

.registry-timeline-item {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.registry-timeline-count {
  color: #57708a;
  font-size: 0.62rem;
  font-weight: 800;
}

.registry-timeline-bar-wrap {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: end;
}

.registry-timeline-bar {
  width: 100%;
  min-height: 6px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #5ec6ff, #1f8ed8);
  box-shadow: 0 10px 24px rgba(20, 113, 191, 0.22);
}

.registry-timeline-label {
  color: #60758b;
  font-size: 0.56rem;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.registry-timeline-panel {
  padding-top: 20px;
}

.registry-bar-chart {
  display: grid;
  gap: 14px;
}

.registry-bar-item {
  display: grid;
  gap: 8px;
}

.registry-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.registry-bar-meta span {
  color: var(--blue-dark);
  font-weight: 800;
}

.registry-bar-meta strong {
  color: #54687d;
  font-size: 0.92rem;
  font-weight: 900;
}

.registry-bar-track {
  height: 12px;
  border-radius: 999px;
  background: #e9f1f7;
  overflow: hidden;
}

.registry-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.registry-bar-fill-day {
  background: linear-gradient(90deg, #1f8ed8, #63c2ff);
}

.registry-bar-fill-locality {
  background: linear-gradient(90deg, #0f8a61, #75d1a5);
}

.registry-metric small {
  color: #60758b;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.registry-locality-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.registry-locality-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(8, 74, 132, 0.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 40, 79, 0.06);
  color: var(--blue-dark);
}

.registry-locality-pill span {
  font-weight: 800;
}

.registry-locality-pill strong {
  min-width: 28px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf7ff;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.registry-admin-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px 18px 38px 20px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(9, 40, 79, 0.08);
}

.registry-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.registry-toolbar-group {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, minmax(170px, 0.7fr));
  gap: 14px;
  flex: 1 1 760px;
}

.toolbar-field {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 850;
}

.toolbar-field span {
  font-size: 0.92rem;
}

.registry-table-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid #dbe8f1;
}

.admin-inline-alert {
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: 18px;
  font-weight: 800;
}

.admin-inline-alert.is-success {
  color: #0b5c45;
  background: #def8eb;
  border: 1px solid #bfe8d5;
}

.admin-inline-alert.is-error {
  color: #8b2222;
  background: #ffe8e8;
  border: 1px solid #f5c7c7;
}

.registry-inline-form {
  margin: 0;
}

.registry-inline-form .btn {
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.registry-action-muted {
  color: #6d8094;
  font-size: 0.88rem;
  font-weight: 800;
}

.registry-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

.registry-table th,
.registry-table td {
  padding: 12px 12px;
  border-bottom: 1px solid #e5eef5;
  text-align: left;
  vertical-align: top;
}

.registry-admin .registry-table th {
  font-size: 0.82rem;
}

.registry-admin .registry-table td strong {
  font-size: 0.95rem;
}

.registry-admin .registry-table td span {
  font-size: 0.84rem;
}

.registry-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--blue-dark);
  background: #f2f8fd;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.registry-table td strong,
.registry-table td span {
  display: block;
}

.registry-table td span {
  margin-top: 4px;
  color: #64778d;
  font-size: 0.9rem;
}

.registry-detail-row td {
  padding-top: 0;
  background: #fbfdff;
}

.registry-detail-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  border: 1px solid #dfeaf3;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
}

.registry-detail-card strong {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.registry-detail-card span {
  margin-top: 0 !important;
  line-height: 1.55;
}

.compare-source-input {
  color: #0b5ea3;
  font-weight: 800;
}

.compare-source-sigemi {
  color: #0f7d55;
  font-weight: 800;
}

.result-compare-dialog {
  width: min(920px, calc(100vw - 72px));
  max-height: calc(100vh - 84px);
}

.table-link {
  color: var(--blue);
  font-weight: 900;
}

.table-link:hover {
  text-decoration: underline;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pendiente_email {
  color: #855100;
  background: #fff0cb;
}

.status-email_confirmado {
  color: #085a46;
  background: #dff8ee;
}

.status-validacion_tributaria_pendiente {
  color: #0b4a84;
  background: #e4f1ff;
}

.status-apto_sorteo {
  color: #085a46;
  background: #d8f7e5;
}

.status-no_apto_sorteo,
.status-anulado {
  color: #7a1d1d;
  background: #ffeaea;
}

.status-draft {
  color: #0b4a84;
  background: #e4f1ff;
}

.status-sending {
  color: #855100;
  background: #fff0cb;
}

.status-completed {
  color: #085a46;
  background: #dff8ee;
}

.campaign-admin-layout {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.campaign-toolbar-panel {
  margin-top: 22px;
}

.campaign-compose-dialog {
  width: min(1280px, calc(100vw - 48px));
}

.campaign-compose-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  align-items: start;
}

.campaign-compose-shell .campaign-preview-card {
  position: sticky;
  top: 0;
}

.campaign-compose-actions {
  justify-content: flex-start;
}

.campaign-dashboard-layout {
  margin-top: 22px;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.campaign-summary-panel {
  display: grid;
  gap: 18px;
}

.config-admin-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.campaign-admin-form {
  gap: 18px;
}

.campaign-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.campaign-upload-note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #dce9f2;
  border-radius: 18px;
  background: #f7fbff;
}

.campaign-upload-note span {
  color: #60758b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.campaign-upload-note a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.campaign-preview-shell {
  margin-top: 22px;
}

.campaign-preview-card {
  max-width: none;
}

.campaign-preview-mail {
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(8, 32, 61, 0.1);
}

.campaign-preview-header {
  padding: 22px 24px 24px;
  color: #fff;
  background: linear-gradient(135deg, #0c6fae, #19a77a);
}

.campaign-preview-brand {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.campaign-preview-logo {
  display: block;
  width: 138px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}

.campaign-preview-kicker {
  width: fit-content;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-preview-header h3 {
  margin: 18px 0 0;
  font-size: 2rem;
  line-height: 1.08;
}

.campaign-preview-image {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.campaign-preview-image.is-vertical {
  height: 520px;
  object-fit: contain;
  background: #eef6f8;
}

.campaign-preview-image.is-horizontal {
  height: 340px;
  object-fit: cover;
}

.campaign-preview-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.campaign-preview-lead {
  margin: 0;
  color: #355570;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.55;
}

.campaign-preview-copy {
  color: #49657e;
  line-height: 1.7;
}

.campaign-preview-copy p {
  margin: 0 0 14px;
}

.campaign-preview-copy p:last-child {
  margin-bottom: 0;
}

.campaign-preview-button {
  width: fit-content;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  background: #0c6fae;
  font-weight: 900;
}

.campaign-send-panel {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #dce8f2;
}

.campaign-send-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.campaign-send-meta div {
  display: grid;
  gap: 6px;
  padding: 14px 14px 12px;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  background: #f8fbfe;
}

.campaign-send-meta span,
.campaign-test-field span {
  color: #60758b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-send-meta strong {
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.campaign-inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}

.campaign-test-field {
  display: grid;
  gap: 8px;
  min-width: min(100%, 280px);
}

.campaign-test-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.campaign-list-panel {
  margin-top: 22px;
}

.campaign-table-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.registry-table tr.is-selected td {
  background: #f2f8fd;
}

.draw-date-card {
  display: grid;
  gap: 6px;
  margin: 24px -42px -8px 18px;
  padding: 20px 24px;
  border-radius: 26px 14px 32px 16px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #ffdf6e, #d6ffe8);
  box-shadow:
    0 24px 44px rgba(2, 24, 52, 0.22),
    0 10px 18px rgba(0, 129, 184, 0.12);
  transform: rotate(-2.6deg);
}

.draw-date-card span {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.draw-date-card strong {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1;
}

.intranet-page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(120, 210, 244, 0.34), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(244, 198, 47, 0.18), transparent 18%),
    linear-gradient(135deg, #031f47 0%, #0b4d8f 48%, #0586b7 100%);
}

.intranet-page::before,
.intranet-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 42% 58% 65% 35% / 42% 35% 65% 58%;
  pointer-events: none;
  animation: intranetDrift 12s ease-in-out infinite;
}

.intranet-page::before {
  left: -120px;
  top: 120px;
  width: 320px;
  aspect-ratio: 1;
  background: rgba(188, 236, 255, 0.18);
}

.intranet-page::after {
  right: -140px;
  bottom: 90px;
  width: 380px;
  aspect-ratio: 1;
  background: rgba(5, 143, 112, 0.2);
  animation-delay: -5s;
}

.intranet-page .topbar,
.intranet-page main {
  position: relative;
  z-index: 1;
}

.intranet-hero,
.intranet-access,
.intranet-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intranet-hero {
  padding: 112px 0 28px;
}

.intranet-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.intranet-hero .kicker {
  color: #bcecff;
}

.intranet-hero p:not(.kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.6;
}

.intranet-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 48px;
}

.intranet-card,
.intranet-tool {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(219, 231, 237, 0.95);
  border-radius: 36px 20px 44px 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 62px rgba(2, 24, 52, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.intranet-card::after,
.intranet-tool::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -54px;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 42% 58% 65% 35% / 42% 35% 65% 58%;
  background: rgba(0, 166, 214, 0.16);
}

.intranet-card.providers {
  background: linear-gradient(145deg, #ffffff, #edf8ff);
}

.intranet-card.municipality {
  background: linear-gradient(145deg, #ffffff, #edfdf6);
  transform: translateY(24px) rotate(0.8deg);
}

.intranet-card.municipality::after,
.intranet-tool::after {
  background: rgba(5, 143, 97, 0.16);
}

.intranet-card:hover,
.intranet-tool:hover {
  transform: translateY(-7px) rotate(0.6deg);
  box-shadow: var(--shadow);
}

.intranet-card.municipality:hover {
  transform: translateY(14px) rotate(0.2deg);
}

.intranet-card span,
.intranet-tool span {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intranet-card strong,
.intranet-tool strong {
  position: relative;
  z-index: 1;
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.05;
}

.intranet-card p,
.intranet-tool p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.intranet-section {
  padding-top: 32px;
}

.intranet-section .section-title h2 {
  color: #fff;
}

.intranet-section .kicker {
  color: #bcecff;
}

.intranet-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intranet-tool {
  min-height: 190px;
}

@keyframes intranetDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(24px, -18px, 0) rotate(8deg);
  }
}

.news-detail {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 80px;
}

.news-detail h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  color: var(--blue-dark);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
}

.detail-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
}

.detail-hero {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 36px 22px 42px 24px;
  box-shadow: var(--shadow);
}

.detail-hero img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
}

.detail-hero img[src$="modernizacion-policial.jpeg"] {
  width: 100%;
  height: min(54vw, 470px);
  object-fit: cover;
  object-position: center;
}

.detail-hero img[src$="nuevas-herramientas-educativas.jpeg"] {
  max-height: 470px;
  object-fit: cover;
  object-position: center;
}

.detail-gallery {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 36px 22px 42px 24px;
  background: #061f42;
  box-shadow: var(--shadow);
}

.detail-gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}

.detail-gallery-slide {
  min-width: 100%;
  margin: 0;
}

.detail-gallery-slide img {
  width: 100%;
  height: min(56vw, 520px);
  min-height: 280px;
  display: block;
  object-fit: cover;
}

.detail-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(6, 31, 66, 0.92);
}

.detail-gallery-controls button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.detail-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.detail-gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
}

.detail-gallery-dots button.active {
  width: 24px;
  background: #bcecff;
}

.detail-body {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  line-height: 1.75;
}

.detail-body a {
  color: var(--blue);
  font-weight: 900;
}

.detail-shell,
.news-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.detail-content {
  min-width: 0;
}

.latest-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px 18px 34px 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(9, 40, 79, 0.1);
}

.latest-panel-sticky {
  position: sticky;
  top: 98px;
}

.latest-panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--blue-dark);
}

.latest-list {
  display: grid;
  gap: 12px;
}

.latest-list a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.latest-list span,
.news-page-hero time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-list strong {
  color: var(--blue-dark);
  line-height: 1.25;
}

.news-page-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 460px;
  margin: 0 auto;
  padding: 118px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 32px;
  align-items: end;
}

.news-page-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 34px;
  border-radius: 34px 20px 40px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--cyan));
  box-shadow: var(--shadow);
}

.news-page-hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 2.55vw, 2.45rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  color: #fff;
}

.news-page-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.news-page-hero figure {
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 46px 22px 54px 26px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.news-page-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 86px;
}

.news-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  padding: 24px;
  color: #fff;
  background: var(--blue-dark);
}

.admin-sidebar img {
  width: 138px;
  margin-bottom: 28px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  color: var(--blue-dark);
  background: #bcecff;
}

.admin-content {
  padding: 42px clamp(24px, 5vw, 70px);
}

.admin-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-notice {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px 16px 28px 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(9, 40, 79, 0.08);
}

.admin-notice strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.admin-notice p {
  margin: 0;
  color: #5f7388;
  line-height: 1.55;
}

.admin-notice-success {
  border-color: rgba(5, 143, 97, 0.24);
  background: linear-gradient(145deg, #ffffff, #f1fbf6);
}

.admin-notice-info {
  border-color: rgba(0, 166, 214, 0.2);
  background: linear-gradient(145deg, #ffffff, #f2f9ff);
}

.admin-notice-warning {
  border-color: rgba(242, 138, 34, 0.26);
  background: linear-gradient(145deg, #ffffff, #fff7ee);
}

.admin-heading,
.admin-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.admin-heading {
  margin-bottom: 28px;
}

.admin-form,
.admin-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-form textarea {
  padding-top: 12px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.admin-preview {
  max-width: 360px;
  padding: 24px;
}

.admin-preview-wide {
  max-width: none;
}

.admin-preview span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-preview strong {
  display: block;
  margin: 12px 0;
  color: var(--blue-dark);
  font-size: 1.65rem;
  line-height: 1.1;
}

.admin-panel-copy {
  margin: 6px 0 0;
  color: #60758b;
  line-height: 1.6;
}

.sync-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sync-action-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px 18px 32px 20px;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 14px 28px rgba(9, 40, 79, 0.08);
}

.sync-action-card span {
  color: #5d7187;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sync-action-card strong {
  color: var(--blue-dark);
  font-size: 1.28rem;
  line-height: 1.12;
}

.sync-action-card p {
  margin: 0;
  color: #5f7388;
  line-height: 1.58;
}

.sync-inline-field {
  max-width: 140px;
}

.sync-inline-field input {
  width: 100%;
}

.sync-preview-card {
  align-self: start;
}

.sync-preview-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #5f7388;
  line-height: 1.55;
}

.sync-compare-modal[hidden] {
  display: none;
}

.sync-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 28px;
}

.sync-compare-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 43, 0.46);
  backdrop-filter: blur(4px);
}

.sync-compare-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-color: rgba(17, 97, 180, 0.16);
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 30px 70px rgba(8, 28, 56, 0.28);
}

body.sync-compare-open {
  overflow: hidden;
}

.sync-compare-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.sync-compare-table {
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 0.8fr);
}

.sync-compare-table > div {
  padding: 14px 16px;
  border-bottom: 1px solid #e4edf5;
}

.sync-compare-table > div:nth-child(4n + 1),
.sync-compare-table > div:nth-child(4n + 2),
.sync-compare-table > div:nth-child(4n + 3),
.sync-compare-table > div:nth-child(4n + 4) {
  background: #fff;
}

.sync-compare-table > div:nth-child(-n + 4) {
  color: var(--blue-dark);
  background: #f2f8fd;
  font-weight: 900;
}

.sync-difference-row td {
  padding-top: 0;
  background: #fbfdff;
}

.sync-difference-block {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  border: 1px solid #e1ebf3;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
}

.sync-difference-block strong {
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.sync-difference-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sync-difference-list li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4fb;
  color: #47627e;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.sync-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.detail-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-data-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid #dce9f2;
  border-radius: 22px 14px 26px 16px;
  background: linear-gradient(145deg, #ffffff, #f4faff);
}

.detail-data-card span,
.detail-small-label {
  color: #60758b;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-data-card strong {
  color: var(--blue-dark);
  font-size: 1.02rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.detail-linked-panel {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #dce9f2;
  border-radius: 28px 18px 32px 20px;
  background: linear-gradient(145deg, #ffffff, #f8fcff);
}

.detail-linked-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.detail-linked-header strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 1.22rem;
}

.detail-debt-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px 12px 20px 14px;
  background: #fff1e5;
  color: #8a4313;
}

.detail-debt-highlight strong {
  color: #7b3208;
}

.detail-debt-highlight span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-hero-metrics .registry-metric strong {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.15;
}

.detail-hero-metrics .registry-metric span {
  font-size: 0.82rem;
}

.admin-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 166, 214, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(5, 143, 97, 0.12), transparent 24%),
    linear-gradient(160deg, #f3faff, #ffffff);
}

.admin-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.admin-auth-panel {
  width: min(100%, 520px);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(11, 74, 132, 0.1);
  border-radius: 34px 20px 38px 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 52px rgba(9, 40, 79, 0.12);
}

.admin-auth-crest {
  width: 92px;
}

.mi-sv-auth-logo {
  width: 220px;
}

.admin-subtitle {
  max-width: 760px;
  color: #5f7388;
}

.backend-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.backend-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px 18px 36px 20px;
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 166, 214, 0.12), transparent 24%),
    linear-gradient(145deg, #ffffff, #eef8ff);
  box-shadow: 0 18px 34px rgba(9, 40, 79, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.backend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 129, 184, 0.24);
  box-shadow: 0 24px 38px rgba(9, 40, 79, 0.12);
}

.backend-card span {
  color: #5d7187;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.backend-card strong {
  color: var(--blue-dark);
  font-size: 1.42rem;
  line-height: 1.1;
}

.backend-card p {
  color: #5f7388;
  line-height: 1.6;
}

.mi-sv-dashboard-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mi-sv-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-sv-timeline li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(11, 74, 132, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 40, 79, 0.06);
}

.mi-sv-timeline strong {
  color: var(--blue-dark);
}

.mi-sv-timeline span {
  color: #60758b;
  font-size: 0.85rem;
  font-weight: 800;
}

.mi-sv-timeline p {
  margin: 0;
  color: #5f7388;
  line-height: 1.55;
}

.admin-layout-wide {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}


@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(22px, -18px, 0) rotate(8deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes slowSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-26px);
  }
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .menu {
    position: fixed;
    top: 86px;
    right: 18px;
    left: auto;
    width: min(272px, calc(100vw - 36px));
    display: none;
    padding: 15px 14px 17px;
    z-index: 40;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 26px 12px 28px 28px;
    background:
      linear-gradient(155deg, rgba(10, 91, 77, 0.92), rgba(14, 128, 98, 0.84) 52%, rgba(87, 154, 44, 0.78));
    box-shadow:
      0 24px 46px rgba(7, 45, 35, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
  }

  .menu.is-open {
    display: grid;
    justify-items: start;
    gap: 2px;
  }

  .menu a {
    width: 100%;
    padding: 10px 6px;
    color: #fff;
    font-size: 0.98rem;
  }

  .menu a::after {
    left: 6px;
    right: 24px;
    bottom: 5px;
    background: rgba(255, 255, 255, 0.82);
  }

  .menu .menu-intranet {
    width: fit-content;
    margin-left: 0;
    padding-inline: 18px;
  }

  .hero,
  .digital-suite,
  .portal-section,
  .tourism,
  .contact {
    grid-template-columns: 1fr;
  }

  .tourism-hero,
  .tourism-band,
  .tourism-split,
  .category-section,
  .directory-hero,
  .establishment-hero,
  .establishment-detail,
  .lodging-note {
    grid-template-columns: 1fr;
  }

  .tourism-hero {
    min-height: auto;
    padding-top: 92px;
    padding-inline: clamp(24px, 5vw, 48px);
  }

  .tourism-hero-stack {
    min-height: 480px;
  }

  .tourism-attractions,
  .tourism-activity-grid,
  .tourism-news-grid,
  .directory-grid,
  .directory-categories,
  .lodging-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-card.featured {
    grid-column: 1 / -1;
  }

  .establishment-map {
    min-height: 360px;
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .digital-card.id-card,
  .digital-card.app-card,
  .digital-card.rates {
    transform: none;
  }

  .program-hero,
  .program-section,
  .program-rules,
  .registry-shell {
    grid-template-columns: 1fr;
  }

  .program-hero-copy {
    order: 1;
  }

  .program-sidecards {
    display: contents;
  }

  .program-callout {
    order: 2;
  }

  .program-promo {
    order: 3;
  }

  .program-benefits {
    grid-template-columns: 1fr;
  }

  .registry-aside {
    position: static;
  }

  .intro-grid,
  .management-grid,
  .news-layout,
  .news-page-hero,
  .news-page-shell,
  .detail-shell {
    grid-template-columns: 1fr 1fr;
  }

  .intro-card.big,
  .news-featured-stack,
  .news-main {
    grid-column: 1 / -1;
  }

  .service-list,
  .service-showcase,
  .gov-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-featured {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .news-page-shell,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .latest-panel-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 58px;
    gap: 8px;
    padding: 7px 12px;
  }

  .brand img {
    width: 76px;
  }

  .portal-link {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .portal-logo {
    justify-self: center;
    width: min(168px, 47vw);
    min-height: 58px;
    padding: 0;
    transform: translateY(42px);
  }

  .topbar-side {
    position: static;
    gap: 2px;
  }

  .topbar-socials {
    position: static;
    gap: 6px;
    padding-right: 4px;
  }

  .topbar-social {
    width: 26px;
    height: 26px;
  }

  .topbar-social svg {
    width: 13px;
    height: 13px;
  }

  .portal-logo::after {
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 12px;
    filter: blur(9px);
  }

   .portal-link-prompt {
    top: -14px;
    right: -10px;
    width: 162px;
    max-width: 162px;
    min-height: 40px;
    padding: 8px 11px;
    font-size: 0.66rem;
  }

  .portal-link-prompt::after {
    right: 18px;
    bottom: -8px;
    width: 14px;
    height: 14px;
  }

  .entry-spotlight {
    top: 92px;
    left: 10px;
    width: min(100vw - 20px, 290px);
  }

  .entry-spotlight-card {
    gap: 10px;
    padding: 16px 14px 16px;
    border-radius: 28px 14px 30px 18px;
  }

  .entry-spotlight-card::before {
    top: -48px;
    left: -34px;
    width: 122px;
    height: 122px;
    border-width: 18px;
  }

  .entry-spotlight-card::after {
    right: 10px;
    bottom: -16px;
    width: 62px;
    height: 62px;
  }

  .entry-spotlight-card strong {
    max-width: 12ch;
    font-size: 1.02rem;
  }

  .entry-spotlight-kicker {
    margin: -2px 0 0 -10px;
    padding: 8px 12px 8px 16px;
    font-size: 0.64rem;
  }

  .entry-spotlight-card p {
    font-size: 0.78rem;
  }

  .entry-spotlight-card b {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.74rem;
    text-align: center;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .menu {
    top: 72px;
    right: 12px;
    width: min(252px, calc(100vw - 24px));
    padding: 13px 12px 15px;
    border-radius: 24px 10px 26px 26px;
  }

  .menu a {
    padding: 9px 4px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    gap: 6px;
    padding: 86px 18px 28px;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 72px;
    overflow: hidden;
  }

  .hero::before,
  .hero::after,
  .hero-orbit {
    display: none;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-message {
    display: block;
    min-height: auto;
    width: min(100%, 350px);
    margin: 0 auto;
    padding: 12px 14px 13px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 22px 14px 26px 16px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
      0 18px 38px rgba(2, 24, 52, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
  }

  .hero-message h1 {
    min-height: auto;
    margin: 0;
    font-size: clamp(1.38rem, 6.6vw, 2.05rem);
    line-height: 1.04;
  }

  .hero-message > p:last-child {
    min-height: auto;
  }

  .hero-actions,
  .hero-dots {
    min-height: auto;
  }

  .hero-message .kicker,
  .hero-message p:last-child {
    display: none;
  }

  .hero.is-mobile-intro .hero-message {
    display: block;
  }

  .hero:not(.is-mobile-intro) .hero-message {
    display: block;
  }

  .hero > .hero-actions {
    display: none;
  }

  .hero-feature {
    width: min(100%, 390px);
    min-height: 330px;
    margin: -4px auto 0;
    display: block;
    transition: opacity 0.72s ease, transform 0.72s ease, max-height 0.72s ease;
  }

  .hero.is-mobile-intro .hero-feature {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .hero:not(.is-mobile-intro) .hero-feature {
    max-height: 360px;
    opacity: 1;
    transform: translateX(0);
  }

  .float-card {
    position: absolute;
    min-width: 0;
    margin-bottom: 0;
    border-radius: 24px 16px 30px 18px;
  }

  .hero-feature.is-switching .float-card {
    opacity: 0;
    transform: translateX(86px) rotate(0deg);
  }

  .float-card-main {
    left: 0;
    top: 38px;
    width: min(73vw, 275px);
    min-height: 176px;
    padding: 15px;
    transform: rotate(-3deg);
  }

  .float-card-image {
    right: 0;
    top: 0;
    width: min(62vw, 235px);
    height: 192px;
    transform: rotate(3deg);
  }

  .hero-feature-rates .float-card-main {
    left: 0;
    top: 42px;
    width: min(70vw, 260px);
    min-height: 160px;
    padding: 14px;
  }

  .hero-feature-rates .float-card-image {
    right: 0;
    top: 0;
    width: min(78vw, 278px);
    height: 198px;
    border-radius: 22px 16px 28px 18px;
  }

  .hero-feature-rates .float-card-small {
    right: 8px;
    bottom: 30px;
    width: min(46vw, 170px);
    min-height: 92px;
    padding: 13px;
  }

  .hero-feature-tramites .float-card-main {
    left: 0;
    top: 42px;
    width: min(70vw, 260px);
    min-height: 160px;
    padding: 14px;
  }

  .hero-feature-tramites .float-card-image {
    right: 0;
    top: 0;
    width: min(78vw, 278px);
    height: 198px;
    border-radius: 22px 16px 28px 18px;
  }

  .hero-feature-tramites .float-card-small {
    right: 8px;
    bottom: 30px;
    width: min(46vw, 170px);
    min-height: 92px;
    padding: 13px;
  }

  .float-card-small {
    right: 6px;
    bottom: 44px;
    width: min(46vw, 170px);
    min-height: 92px;
    padding: 13px;
    transform: rotate(-2deg);
  }

  .float-card-mini {
    left: 34%;
    bottom: 0;
    width: min(40vw, 148px);
    min-height: 88px;
    padding: 12px;
    transform: rotate(3deg);
  }

  .float-card strong {
    font-size: 1rem;
  }

  .float-card-main strong {
    font-size: 1.04rem;
  }

  .float-card p {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .float-card span {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .float-card-logo {
    height: 78px;
  }

  .float-card-mini .float-card-logo {
    height: 68px;
  }

  .hero-dots {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .quick-access,
  .section-title.inline,
  .intro-grid,
  .intranet-access,
  .intranet-tools,
  .management-grid,
  .digital-suite,
  .dash-grid,
  .service-list,
  .service-showcase,
  .news-layout,
  .news-main,
  .news-page-hero,
  .news-page-shell,
  .news-index-grid,
  .detail-shell,
  .agenda-track,
  .tourism-mosaic,
  .tourism-attractions,
  .tourism-activity-grid,
  .tourism-news-grid,
  .plan-grid,
  .directory-grid,
  .directory-categories,
  .lodging-grid,
  .directory-card.featured,
  .establishment-hero,
  .establishment-detail,
  .gov-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  #newsLayout > .news-card:nth-of-type(n+3) {
    display: none;
  }

  .tourism-hero {
    width: 100%;
    padding-top: 108px;
    padding-inline: 18px;
    overflow: hidden;
  }

  .tourism-hero h1 {
    font-size: clamp(2.2rem, 14vw, 3.6rem);
  }

  .tourism-hero-stack {
    min-height: 520px;
  }

  .postcard-main {
    left: 0;
    top: 20px;
    width: 92%;
    height: 300px;
  }

  .postcard-side {
    right: 0;
    top: 250px;
    width: 68%;
    height: 190px;
  }

  .postcard-mini {
    left: 4%;
    right: auto;
    bottom: 0;
    width: 64%;
    height: 170px;
  }

  .tourism-subnav {
    position: relative;
    top: auto;
    justify-content: flex-start;
    margin-top: 0;
    border-radius: 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tourism-subnav a {
    flex: 0 0 auto;
  }

  .tourism-band,
  .tourism-section {
    width: min(100% - 28px, 1180px);
  }

  .directory-hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 104px 18px 32px;
  }

  .directory-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .directory-hero > img {
    height: 300px;
    transform: rotate(1.2deg);
  }

  .directory-subnav {
    margin-top: -22px;
  }

  .directory-card.featured {
    min-height: 420px;
  }

  .directory-card.featured img {
    height: 240px;
  }

  .establishment-hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 104px 18px 32px;
  }

  .establishment-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .establishment-hero > img {
    height: 300px;
    transform: rotate(1.2deg);
  }

  .lodging-note {
    grid-template-columns: 1fr;
  }

  .place-feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .tourism-service {
    min-height: 380px;
  }

  .category-section {
    margin-top: -36px;
  }

  .news-page-hero {
    min-height: auto;
    padding-top: 82px;
  }

  .news-page-hero-copy,
  .detail-body,
  .latest-panel {
    padding: 22px;
  }

  .news-page-hero figure {
    height: 240px;
    transform: none;
  }

  .quick-access {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .quick-access a {
    min-height: 86px;
    padding: 18px;
  }

  .program-hero,
  .form-hero {
    padding-top: 78px;
  }

  .program-hero-copy {
    transform: none;
  }

  .program-callout .hero-actions {
    flex-wrap: wrap;
  }

  .program-callout-prompt {
    top: -14px;
    right: -6px;
    max-width: 176px;
    padding: 10px 13px;
    font-size: 0.8rem;
  }

  .program-callout-prompt::after {
    right: 18px;
    bottom: -8px;
    width: 14px;
    height: 14px;
  }

  .registry-shell {
    padding-bottom: 58px;
  }

  .draw-date-card {
    margin: 22px 0 0;
    transform: rotate(-1.4deg);
  }

  .agenda-track {
    animation: none;
  }

  .tourism-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 170px;
    gap: 14px;
    min-height: auto;
    perspective: none;
  }

  .tourism .tourism-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .tourism.is-visible .tourism-card {
    transform: none;
  }

  .tourism-attractions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tourism-place,
  .place-feature {
    position: sticky;
    top: 92px;
    min-height: 270px;
    grid-column: auto;
    grid-row: auto;
  }

  .tourism-place div {
    padding: 18px;
  }

  .tourism-place:nth-child(1) { z-index: 1; }
  .tourism-place:nth-child(2) { z-index: 2; }
  .tourism-place:nth-child(3) { z-index: 3; }
  .tourism-place:nth-child(4) { z-index: 4; }
  .tourism-place:nth-child(5) { z-index: 5; }

  .tourism-place h3,
  .place-feature h3 {
    font-size: 1.34rem;
    max-width: none;
  }

  .tourism-place p {
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .useful-phones-pill {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 34px;
  }

  .useful-phone-item {
    min-height: 70px;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .useful-phones {
    padding-inline: 10px;
  }

  .useful-phones-pill {
    width: min(100%, 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 9px 8px;
    border-radius: 999px;
    transform: translateY(-36%);
  }

  .useful-phone-item {
    grid-template-columns: 32px 1fr;
    gap: 6px;
    min-height: 42px;
    padding: 1px 0;
  }

  .useful-phone-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .useful-phone-icon svg {
    width: 16px;
    height: 16px;
  }

  .useful-phone-icon img {
    width: 18px;
    height: 18px;
  }

  .useful-phone-copy {
    gap: 0;
    font-size: 0.58rem;
    line-height: 1.02;
  }

  .useful-phone-copy b {
    font-size: 0.8rem;
  }

  .footer {
    padding-top: 46px;
  }


  .topbar {
    gap: 6px;
  }

  .brand img {
    width: 68px;
  }

  .portal-logo {
    width: min(154px, 45vw);
    transform: translateY(40px);
  }

  .topbar-socials {
    gap: 5px;
    padding-right: 2px;
  }

  .topbar-social {
    width: 24px;
    height: 24px;
  }

  .topbar-social svg {
    width: 12px;
    height: 12px;
  }

  .hero {
    padding-inline: 14px;
  }

  .float-card-image {
    height: 192px;
  }

  .program-hero,
  .intranet-hero,
  .intranet-section,
  .program-section,
  .program-benefits,
  .program-rules,
  .form-hero,
  .registry-shell {
    width: min(100% - 28px, 1180px);
  }
}

@media (max-width: 1080px) {
  .registry-summary-layout,
  .registry-chart-grid {
    grid-template-columns: 1fr;
  }

  .campaign-compose-shell,
  .campaign-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .campaign-compose-shell .campaign-preview-card {
    position: static;
  }

  .registry-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-metric-grid-compact,
  .registry-chart-grid {
    grid-template-columns: 1fr;
  }

  .registry-toolbar-group {
    grid-template-columns: 1fr;
  }

  .hero .hero-actions {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .field-row,
  .registry-metric-grid,
  .activation-summary-grid {
    grid-template-columns: 1fr;
  }

  .campaign-form-grid,
  .campaign-send-meta {
    grid-template-columns: 1fr;
  }

  .sync-compare-metrics {
    grid-template-columns: 1fr;
  }

  .activation-account-grid {
    grid-template-columns: 1fr;
  }

  .backend-cards,
  .admin-layout-wide,
  .sync-actions-grid,
  .sync-detail-grid,
  .detail-data-grid {
    grid-template-columns: 1fr;
  }

  .sync-compare-table {
    grid-template-columns: 1fr;
  }

  .admin-toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .admin-toolbar-actions .btn {
    flex: 1 1 100%;
  }

  .field-narrow,
  .field-medium,
  .field-compact,
  .field-select-compact select {
    width: 100%;
    max-width: none;
  }

  .registry-admin {
    padding-top: 78px;
  }

  .registry-admin-shell {
    width: min(100vw - 24px, 100%);
  }

  .registry-admin-panel {
    padding: 18px;
  }
}

@media print {
  .admin-sidebar,
  .menu-toggle,
  .admin-toolbar-actions,
  .topbar {
    display: none !important;
  }

  .admin-shell,
  .registry-admin-shell,
  .registry-metric-grid {
    display: block !important;
  }

  .admin-content,
  .registry-admin,
  .registry-admin-panel {
    padding: 0 !important;
    box-shadow: none !important;
  }

  .registry-metric,
  .registry-admin-panel,
  .registry-table-wrap {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .registry-table-wrap {
    overflow: visible !important;
  }
}

.cmt-page {
  --cmt-deep: #0d4f88;
  --cmt-blue: #1784cb;
  --cmt-sky: #7ed6f8;
  --cmt-mint: #b8f0e0;
  --cmt-leaf: #8ccf58;
  --cmt-gold: #f5bf46;
  --cmt-coral: #ff8d6d;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(23, 132, 203, 0.12), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(126, 214, 248, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef7fc 32%, #ffffff 100%);
}

.cmt-hero,
.cmt-band,
.cmt-section {
  width: min(100% - clamp(32px, 6vw, 84px), 1180px);
  margin-inline: auto;
}

.cmt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
  min-height: calc(100vh - 52px);
  padding: 88px 0 56px;
}

.cmt-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.cmt-hero-logo {
  width: clamp(180px, 22vw, 310px);
  max-width: 100%;
}

.cmt-hero h1,
.cmt-section h2 {
  color: var(--blue-dark);
}

.cmt-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 3.95rem);
  line-height: 0.98;
}

.cmt-hero p {
  margin: 0;
  max-width: 700px;
  color: #426680;
  line-height: 1.68;
}

.cmt-hero-lead {
  color: var(--cmt-blue) !important;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.42;
}

.cmt-hero-stack {
  position: relative;
  min-height: 640px;
}

.cmt-hero-card,
.cmt-hero-note {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(7, 45, 84, 0.18);
}

.cmt-hero-card {
  background: #fff;
}

.cmt-hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmt-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 58, 97, 0.02), rgba(8, 58, 97, 0.65));
}

.cmt-hero-card div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: end;
  height: 100%;
  padding: 26px;
}

.cmt-hero-card span,
.cmt-card-body span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmt-hero-card span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.cmt-hero-card strong {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1;
}

.cmt-hero-card p {
  max-width: 26ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cmt-hero-card-main {
  left: 0;
  top: 14px;
  width: min(100%, 390px);
  height: 520px;
  transform: rotate(-4deg);
}

.cmt-hero-card-main img {
  object-position: 56% 48%;
}

.cmt-hero-card-photo {
  right: 22px;
  bottom: 36px;
  width: min(100%, 290px);
  min-height: 230px;
  height: auto;
  transform: rotate(5deg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 93, 148, 0.12);
  backdrop-filter: blur(14px);
}

.cmt-hero-note {
  right: 138px;
  top: 132px;
  z-index: 2;
  width: min(100%, 290px);
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 93, 148, 0.12);
  backdrop-filter: blur(14px);
}

.cmt-hero-note span {
  color: var(--cmt-blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmt-hero-note strong {
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.08;
}

.cmt-hero-note p {
  color: #527085;
  font-size: 0.95rem;
  line-height: 1.52;
}

.cmt-hero-card-photo::after {
  display: none;
}

.cmt-hero-card-photo div {
  align-content: start;
  height: auto;
  padding: 22px 24px;
}

.cmt-hero-card-photo span {
  color: var(--cmt-blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmt-hero-card-photo strong {
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.08;
  max-width: none;
}

.cmt-hero-card-photo p {
  color: #527085;
  font-size: 0.95rem;
  line-height: 1.52;
  max-width: none;
}

.cmt-band {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cmt-band article,
.cmt-roadmap-grid article {
  border-radius: 28px;
  box-shadow: 0 20px 54px rgba(7, 45, 84, 0.08);
}

.cmt-band article {
  min-height: 170px;
  padding: 26px;
  display: grid;
  gap: 10px;
  align-content: end;
  background: linear-gradient(145deg, rgba(13, 79, 136, 0.98), rgba(23, 132, 203, 0.88));
  color: #fff;
}

.cmt-band article:nth-child(2) {
  background: linear-gradient(145deg, rgba(5, 123, 132, 0.92), rgba(79, 179, 184, 0.88));
}

.cmt-band article:nth-child(3) {
  background: linear-gradient(145deg, rgba(95, 162, 50, 0.94), rgba(142, 203, 90, 0.88));
}

.cmt-band span {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 950;
  line-height: 0.92;
}

.cmt-band strong {
  max-width: 18ch;
  font-size: 1.08rem;
  line-height: 1.18;
}

.cmt-section {
  margin-bottom: clamp(54px, 8vw, 96px);
}

.cmt-intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 28px;
  align-items: start;
}

.cmt-intro-copy {
  display: grid;
  gap: 16px;
}

.cmt-intro-copy p,
.cmt-status,
.cmt-card-body p,
.cmt-roadmap-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.cmt-section-note {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.cmt-family-strip {
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cmt-family-chip {
  min-width: 170px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(7, 45, 84, 0.07);
  box-shadow: 0 12px 28px rgba(7, 45, 84, 0.06);
}

.cmt-family-chip strong {
  color: var(--blue-dark);
  font-size: 0.98rem;
}

.cmt-family-chip span {
  color: #56758a;
  font-size: 0.84rem;
  font-weight: 700;
}

.cmt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cmt-card {
  overflow: hidden;
  display: grid;
  min-height: 420px;
  border-radius: 28px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(8, 54, 93, 0.08);
  box-shadow: 0 18px 44px rgba(7, 45, 84, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.cmt-card:hover {
  transform: translateY(-9px) rotate(0.4deg);
  box-shadow: 0 28px 70px rgba(7, 45, 84, 0.16);
}

.cmt-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.cmt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cmt-card:hover .cmt-card-media img {
  transform: scale(1.05);
}

.cmt-card-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px 20px 22px;
}

.cmt-card-body span {
  color: var(--blue-dark);
  background: rgba(13, 79, 136, 0.08);
}

.cmt-card-body h3,
.cmt-roadmap-grid h3 {
  margin: 0;
  color: var(--blue-dark);
}

.cmt-card-body h3 {
  font-size: 1.35rem;
  line-height: 1.02;
}

.cmt-card-body b {
  margin-top: 8px;
  color: var(--cmt-blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.cmt-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cmt-roadmap-grid article {
  min-height: 240px;
  padding: 24px;
  display: grid;
  gap: 14px;
  background: #fff;
}

.cmt-roadmap-grid span {
  color: var(--cmt-blue);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.cmt-tone-sky .cmt-card-body span,
.cmt-tone-sky.cmt-family-chip {
  background: rgba(23, 132, 203, 0.1);
}

.cmt-tone-mint .cmt-card-body span,
.cmt-tone-mint.cmt-family-chip {
  background: rgba(102, 201, 171, 0.18);
}

.cmt-tone-gold .cmt-card-body span,
.cmt-tone-gold.cmt-family-chip {
  background: rgba(245, 191, 70, 0.2);
}

.cmt-tone-leaf .cmt-card-body span,
.cmt-tone-leaf.cmt-family-chip {
  background: rgba(140, 207, 88, 0.2);
}

.cmt-tone-sea .cmt-card-body span,
.cmt-tone-sea.cmt-family-chip {
  background: rgba(80, 182, 207, 0.18);
}

.cmt-tone-coral .cmt-card-body span,
.cmt-tone-coral.cmt-family-chip {
  background: rgba(255, 141, 109, 0.18);
}

@media (max-width: 1100px) {
  .cmt-hero,
  .cmt-intro {
    grid-template-columns: 1fr;
  }

  .cmt-hero {
    min-height: auto;
    padding-top: 92px;
  }

  .cmt-hero-stack {
    min-height: 560px;
  }

  .cmt-band,
  .cmt-grid,
  .cmt-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cmt-hero,
  .cmt-band,
  .cmt-section {
    width: min(100% - 28px, 1180px);
  }

  .cmt-hero {
    padding-top: 108px;
    gap: 24px;
  }

  .cmt-hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.05rem);
  }

  .cmt-hero-stack {
    min-height: 520px;
  }

  .cmt-hero-card-main {
    width: min(100%, 320px);
    height: 430px;
  }

  .cmt-hero-card-photo {
    right: 0;
    width: min(72vw, 260px);
    min-height: 220px;
    height: auto;
  }

  .cmt-hero-note {
    right: 54px;
    top: 126px;
    width: min(72vw, 260px);
  }

  .cmt-band,
  .cmt-grid,
  .cmt-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .cmt-family-chip {
    min-width: 140px;
  }
}

.cmt-model-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(23, 132, 203, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef6fc 38%, #ffffff 100%);
}

.cmt-detail-body p strong {
  color: var(--blue-dark);
}

.cmt-gallery-caption {
  margin: 0;
  padding: 14px 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.cmt-detail-section {
  margin-top: 30px;
}

.cmt-plan-grid,
.cmt-file-grid,
.cmt-metric-grid {
  display: grid;
  gap: 18px;
}

.cmt-plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmt-file-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmt-metric-grid {
  margin: 0 0 22px;
  grid-template-columns: 1fr;
}

.cmt-plan-card,
.cmt-file-card,
.cmt-metric-card {
  border-radius: 24px;
  border: 1px solid rgba(8, 54, 93, 0.08);
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 45, 84, 0.08);
}

.cmt-plan-card {
  overflow: hidden;
  display: grid;
  text-decoration: none;
}

.cmt-plan-card img {
  width: 100%;
  height: min(28vw, 260px);
  object-fit: cover;
  display: block;
}

.cmt-plan-card strong {
  padding: 16px 18px 18px;
  color: var(--blue-dark);
  line-height: 1.24;
}

.cmt-file-card {
  min-height: 170px;
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  text-decoration: none;
}

.cmt-file-card span,
.cmt-metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cmt-file-card strong,
.cmt-metric-card strong {
  color: var(--blue-dark);
}

.cmt-file-card b {
  color: var(--blue);
  font-size: 0.92rem;
}

.cmt-metric-card {
  padding: 18px;
  display: grid;
  gap: 6px;
}

@media (max-width: 760px) {
  .cmt-plan-grid,
  .cmt-file-grid {
    grid-template-columns: 1fr;
  }

  .cmt-plan-card img {
    height: 220px;
  }
}

.municipio-page {
  --municipio-blue: #0d5a94;
  --municipio-cyan: #34b7d4;
  background:
    radial-gradient(circle at top right, rgba(52, 183, 212, 0.16), transparent 28%),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 38%, #f6fbff 100%);
}

.municipio-hero,
.municipio-section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.municipio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: 92px 0 58px;
}

.municipio-hero-copy {
  display: grid;
  gap: 18px;
}

.municipio-hero h1,
.municipio-section h2 {
  color: var(--blue-dark);
}

.municipio-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.45rem, 4.3vw, 4.05rem);
  line-height: 0.97;
}

.municipio-hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--municipio-blue);
  font-size: clamp(1.1rem, 1.95vw, 1.48rem);
  font-weight: 800;
  line-height: 1.45;
}

.municipio-hero-copy p:not(.kicker):not(.municipio-hero-lead) {
  max-width: 700px;
  margin: 0;
  color: #47667d;
  line-height: 1.7;
}

.municipio-hero-stack {
  position: relative;
  min-height: 620px;
}

.municipio-hero-photo,
.municipio-hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 26px 72px rgba(7, 45, 84, 0.16);
}

.municipio-hero-photo {
  inset: 0 56px 42px 0;
  background: linear-gradient(180deg, rgba(13, 90, 148, 0.12), rgba(13, 90, 148, 0.02));
}

.municipio-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.municipio-hero-card {
  display: grid;
  gap: 12px;
  padding: 24px 24px 26px;
  backdrop-filter: blur(18px);
}

.municipio-hero-card span,
.municipio-profile-aside span,
.municipio-timeline span,
.municipio-history-grid span,
.municipio-localities-grid span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.municipio-hero-card-main {
  right: 0;
  top: 26px;
  width: min(100%, 278px);
  background: linear-gradient(160deg, rgba(10, 84, 140, 0.98), rgba(40, 138, 195, 0.94));
  transform: rotate(3deg);
  color: #fff;
}

.municipio-hero-card-main span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.municipio-hero-card-main strong {
  font-size: 1.68rem;
  line-height: 1;
}

.municipio-hero-card-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.52;
}

.municipio-hero-card-note {
  right: 38px;
  bottom: 0;
  width: min(100%, 290px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 90, 148, 0.1);
  transform: rotate(-4deg);
}

.municipio-hero-card-note span {
  background: rgba(13, 90, 148, 0.08);
  color: var(--municipio-blue);
}

.municipio-hero-card-note strong {
  color: var(--blue-dark);
  font-size: 1.28rem;
  line-height: 1.08;
}

.municipio-hero-card-note p {
  margin: 0;
  color: #557186;
  line-height: 1.52;
}

.municipio-section {
  padding: 0 0 42px;
}

.municipio-profile,
.municipio-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
}

.municipio-profile-copy,
.municipio-profile-aside article,
.municipio-history-grid article,
.municipio-localities-grid article,
.municipio-map-copy,
.municipio-map-frame {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(7, 45, 84, 0.08);
}

.municipio-profile-copy {
  padding: 30px;
}

.municipio-profile-copy p,
.municipio-map-copy p {
  margin: 0 0 16px;
  color: #4e6d83;
  line-height: 1.72;
}

.municipio-profile-aside {
  position: relative;
  display: grid;
  gap: 16px;
}

.municipio-profile-aside::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(13, 90, 148, 0.08), rgba(52, 183, 212, 0.35), rgba(13, 90, 148, 0.12));
  pointer-events: none;
}

.municipio-profile-aside article,
.municipio-timeline article,
.municipio-history-grid article,
.municipio-localities-grid article {
  padding: 24px;
}

.municipio-profile-aside article {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 18px 28px;
  border-left: 5px solid rgba(13, 90, 148, 0.16);
}

.municipio-profile-aside article::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--municipio-blue), var(--municipio-cyan));
  box-shadow: 0 0 0 6px rgba(52, 183, 212, 0.1);
}

.municipio-profile-aside article::after {
  content: "";
  position: absolute;
  inset: auto -28px -36px auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  opacity: 0.26;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0 16%, transparent 17% 100%),
    conic-gradient(from 0deg, rgba(255, 200, 72, 0.12), rgba(52, 183, 212, 0.18), rgba(13, 90, 148, 0.12), rgba(255, 200, 72, 0.12));
  pointer-events: none;
}

.municipio-profile-aside article:nth-child(1) {
  background: linear-gradient(160deg, rgba(10, 84, 140, 0.98), rgba(41, 137, 194, 0.94));
  border-left-color: rgba(255, 255, 255, 0.28);
}

.municipio-profile-aside article:nth-child(1) span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.municipio-profile-aside article:nth-child(1) strong,
.municipio-profile-aside article:nth-child(1) p {
  color: #fff;
}

.municipio-profile-aside article:nth-child(2) {
  background: linear-gradient(145deg, rgba(244, 249, 255, 0.98), rgba(231, 243, 255, 0.96));
}

.municipio-profile-aside article:nth-child(3) {
  background: linear-gradient(145deg, rgba(242, 250, 247, 0.98), rgba(225, 245, 239, 0.96));
}

.municipio-profile-aside article:nth-child(4) {
  background: linear-gradient(145deg, rgba(251, 247, 240, 0.98), rgba(246, 237, 220, 0.96));
}

.municipio-profile-aside article:nth-child(5) {
  background: linear-gradient(145deg, rgba(243, 247, 255, 0.98), rgba(226, 237, 255, 0.96));
}

.municipio-profile-aside article:nth-child(6) {
  background: linear-gradient(145deg, rgba(244, 251, 249, 0.98), rgba(224, 245, 241, 0.96));
}

.municipio-profile-aside span,
.municipio-timeline span,
.municipio-history-grid span,
.municipio-localities-grid span {
  background: rgba(13, 90, 148, 0.08);
  color: var(--municipio-blue);
}

.municipio-profile-aside strong,
.municipio-timeline strong,
.municipio-history-grid strong,
.municipio-localities-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--blue-dark);
  font-size: 1.04rem;
  line-height: 1.15;
}

.municipio-profile-aside p,
.municipio-timeline p,
.municipio-history-grid p,
.municipio-localities-grid p {
  margin: 0;
  color: #58758a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.municipio-localities-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.municipio-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.75fr));
  gap: 16px;
}

.municipio-history-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 224px !important;
  background:
    linear-gradient(180deg, rgba(252, 249, 241, 0.98) 0%, rgba(248, 252, 255, 0.96) 56%, rgba(240, 248, 255, 0.8) 100%);
}

.municipio-history-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.98) 0%, rgba(235, 245, 255, 0.96) 56%, rgba(223, 239, 255, 0.8) 100%);
}

.municipio-history-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(245, 250, 245, 0.98) 0%, rgba(237, 248, 241, 0.96) 56%, rgba(225, 243, 233, 0.8) 100%);
}

.municipio-history-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(252, 245, 239, 0.98) 0%, rgba(249, 239, 229, 0.96) 56%, rgba(243, 228, 212, 0.82) 100%);
}

.municipio-history-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 250px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 1) 0%, rgba(248, 252, 255, 0.88) 18%, rgba(248, 252, 255, 0.22) 48%, rgba(248, 252, 255, 0) 72%);
  pointer-events: none;
  z-index: 1;
}

.municipio-history-card:nth-child(2)::after {
  background:
    linear-gradient(180deg, rgba(235, 245, 255, 1) 0%, rgba(235, 245, 255, 0.88) 18%, rgba(235, 245, 255, 0.24) 48%, rgba(235, 245, 255, 0) 72%);
}

.municipio-history-card:nth-child(3)::after {
  background:
    linear-gradient(180deg, rgba(237, 248, 241, 1) 0%, rgba(237, 248, 241, 0.88) 18%, rgba(237, 248, 241, 0.24) 48%, rgba(237, 248, 241, 0) 72%);
}

.municipio-history-card:nth-child(4)::after {
  background:
    linear-gradient(180deg, rgba(249, 239, 229, 1) 0%, rgba(249, 239, 229, 0.88) 18%, rgba(249, 239, 229, 0.24) 48%, rgba(249, 239, 229, 0) 72%);
}

.municipio-history-card img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: saturate(0.98);
  z-index: 0;
}

.municipio-history-card span,
.municipio-history-card strong,
.municipio-history-card p {
  position: relative;
  z-index: 1;
  margin-left: 0;
  margin-right: 0;
}

.municipio-history-card span {
  margin-top: 0;
}

.municipio-history-card p {
  margin-bottom: 0;
}

.municipio-history-lead {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(13, 90, 148, 0.04), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
}

.municipio-history-lead p {
  margin: 0 0 16px;
  color: #48667d;
  line-height: 1.72;
}

.municipio-map-frame {
  overflow: hidden;
  min-height: 430px;
}

.municipio-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.municipio-map-copy {
  padding: 28px;
}

.municipio-map {
  padding-bottom: 96px;
}

.municipio-map-copy ul {
  margin: 0;
  padding-left: 18px;
  color: #4e6d83;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .municipio-hero,
  .municipio-profile,
  .municipio-map-layout,
  .municipio-history-grid {
    grid-template-columns: 1fr;
  }

  .municipio-hero-stack {
    min-height: 560px;
  }

  .municipio-localities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .municipio-hero {
    padding-top: 84px;
  }

  .municipio-hero h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .municipio-hero-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .municipio-hero-photo {
    position: relative;
    inset: auto;
    height: 360px;
  }

  .municipio-hero-card-main {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .municipio-hero-card-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .municipio-hero-photo,
  .municipio-hero-card {
    position: relative;
  }

  .municipio-hero-card {
    border-radius: 28px;
    padding: 20px 20px 22px;
  }

  .municipio-profile-copy,
  .municipio-profile-aside article,
  .municipio-history-grid article,
  .municipio-localities-grid article,
  .municipio-map-copy {
    padding: 24px;
  }

  .municipio-history-card {
    padding: 24px 24px 212px !important;
  }

  .municipio-history-card::after {
    height: 216px;
  }

  .municipio-history-card img {
    width: 100%;
    height: 198px;
  }

  .municipio-profile-aside::before {
    left: 18px;
  }

  .municipio-profile-aside {
    gap: 12px;
    padding-bottom: 10px;
  }

  .municipio-profile-aside article {
    position: sticky;
    width: 100%;
    margin: 0;
    transform: none;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(7, 45, 84, 0.08);
  }

  .municipio-profile-aside article:first-child {
    width: 100%;
    box-shadow: 0 18px 34px rgba(7, 45, 84, 0.12);
    top: 96px;
    z-index: 1;
  }

  .municipio-profile-aside article:nth-child(2) {
    top: 116px;
    z-index: 2;
  }

  .municipio-profile-aside article:nth-child(3) {
    top: 136px;
    z-index: 3;
  }

  .municipio-profile-aside article:nth-child(4) {
    top: 156px;
    z-index: 4;
  }

  .municipio-profile-aside article:nth-child(5) {
    top: 176px;
    z-index: 5;
  }

  .municipio-profile-aside article:nth-child(6) {
    top: 196px;
    z-index: 6;
  }

  .municipio-localities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .gov-licitations,
  .gov-economy-grid {
    grid-template-columns: 1fr;
  }

  .gov-panel-header {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .gov-panel {
    min-height: auto;
    padding: 20px;
    border-radius: 28px 18px 32px 20px;
  }

  .gov-tab {
    min-height: 88px;
    padding: 16px;
    border-radius: 18px;
  }

  .gov-panel-frame {
    min-height: 440px;
    border-radius: 20px;
  }

  .gov-licitation-card,
  .gov-economy-card {
    padding: 20px;
  }
}

.taxes-hero,
.taxes-options {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.taxes-hero {
  min-height: auto;
  padding: 56px 0 22px;
  display: grid;
  gap: 12px;
}

.taxes-hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 1.02;
}

.taxes-hero p:not(.kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.taxes-options {
  padding: 0 0 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.taxes-option {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  padding-top: 94px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px 18px 42px 22px;
  box-shadow:
    0 22px 50px rgba(6, 42, 85, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.taxes-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.1) 0 12%, transparent 12.5%),
    linear-gradient(45deg, transparent 0 46%, rgba(255, 255, 255, 0.06) 46% 54%, transparent 54% 100%);
  pointer-events: none;
}

.taxes-option::after {
  content: "";
  position: absolute;
  inset: auto -34px -40px auto;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 42% 58% 52% 48% / 50% 42% 58% 50%;
  opacity: 0.32;
  pointer-events: none;
}

.taxes-option-monthly {
  background:
    radial-gradient(circle at 14% 88%, rgba(198, 244, 219, 0.28) 0 16%, transparent 16.5%),
    linear-gradient(145deg, #0d5a56 0%, #0d7c72 52%, #1aa07b 100%);
}

.taxes-option-monthly::after {
  background: rgba(198, 244, 219, 0.24);
}

.taxes-option-plan {
  background:
    radial-gradient(circle at 86% 20%, rgba(223, 245, 194, 0.22) 0 13%, transparent 13.5%),
    linear-gradient(145deg, #116558 0%, #2d8a6e 50%, #5aaa78 100%);
}

.taxes-option-plan::after {
  background: rgba(223, 245, 194, 0.24);
}

.taxes-option-regularize {
  background:
    radial-gradient(circle at 18% 22%, rgba(198, 244, 219, 0.16) 0 12%, transparent 12.5%),
    linear-gradient(145deg, #0f4f52 0%, #13736d 48%, #2c927c 100%);
}

.taxes-option-regularize::after {
  background: rgba(188, 236, 255, 0.18);
}

.taxes-option h2 {
  margin: 0;
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.12;
}

.taxes-option p {
  margin: 0;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.taxes-option .btn {
  width: fit-content;
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: #fff;
  color: #0d5a56;
}

.taxes-option-ribbon {
  position: absolute;
  top: -34px;
  right: 14px;
  z-index: 2;
  width: 360px;
  display: grid;
  gap: 4px;
  padding: 16px 28px 16px 84px;
  background: linear-gradient(135deg, #1d8fa6 0%, #2ca9b5 58%, #47bf98 100%);
  color: #fff;
  text-align: left;
  transform: rotate(7deg);
  box-shadow:
    0 24px 42px rgba(5, 42, 73, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
  border-radius: 999px;
}

.taxes-option-ribbon-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 70px;
  height: 70px;
  margin: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.taxes-option-ribbon-icon svg {
  width: 52px;
  height: 52px;
  fill: #fff;
  filter: drop-shadow(0 4px 8px rgba(7, 48, 78, 0.22));
}

.taxes-option-ribbon span,
.taxes-option-ribbon strong {
  display: block;
  line-height: 1.15;
}

.taxes-option-ribbon span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.taxes-option-ribbon strong {
  font-size: 1rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .taxes-hero,
  .taxes-options {
    width: min(100% - 32px, 1180px);
  }

  .taxes-options {
    grid-template-columns: 1fr;
  }

  .taxes-hero {
    padding: 54px 0 20px;
  }
}

@media (max-width: 760px) {
  .taxes-hero {
    padding-top: 64px;
  }

  .taxes-option {
    padding: 22px;
    padding-top: 104px;
    border-radius: 32px 18px 36px 20px;
  }

  .taxes-option {
    min-height: auto;
  }

  .taxes-option-ribbon {
    top: -14px;
    right: 8px;
    width: 296px;
    padding: 12px 22px 12px 72px;
    transform: rotate(6deg);
  }

  .taxes-option-ribbon span {
    font-size: 0.66rem;
  }

  .taxes-option-ribbon strong {
    font-size: 0.86rem;
  }

  .taxes-option-ribbon-icon {
    left: 18px;
    width: 56px;
    height: 56px;
  }

  .taxes-option-ribbon-icon svg {
    width: 42px;
    height: 42px;
  }

  .taxes-options {
    padding-bottom: 58px;
  }
}

.assistant-launch {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: block;
  width: min(326px, calc(100vw - 32px));
  min-height: 58px;
  padding: 7px 16px 7px 18px;
  border: 0;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(198, 244, 219, 0.26), transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(80, 191, 115, 0.24), transparent 38%),
    linear-gradient(135deg, #0a4d65 0%, #0a6f74 46%, #12845f 100%);
  box-shadow:
    0 26px 60px rgba(6, 42, 85, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: visible;
}

.assistant-launch-icon {
  position: absolute;
  right: -16px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  overflow: visible;
  margin: 0;
  pointer-events: none;
}

.assistant-launch-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 14px;
  bottom: 6px;
  height: 14px;
  border-radius: 999px;
  background: rgba(3, 28, 40, 0.42);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.assistant-launch-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.assistant-launch-icon img,
.assistant-launch-icon video {
  display: block;
  width: 112%;
  height: 112%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(6, 42, 85, 0.24));
  background: transparent;
}

.assistant-launch-copy {
  display: grid;
  gap: 2px;
  text-align: left;
  max-width: none;
  padding: 0 84px 0 4px;
}

.assistant-launch-copy strong {
  font-size: 0.98rem;
  line-height: 1.03;
}

.assistant-launch-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  line-height: 1.18;
  min-height: 1.25em;
}

.assistant-shell {
  position: fixed;
  inset: 0;
  z-index: 44;
  pointer-events: none;
}

.assistant-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 42, 85, 0.18);
  pointer-events: auto;
}

.assistant-panel {
  position: absolute;
  right: 24px;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(78vh, 760px);
  overflow: visible;
  border: 1px solid rgba(17, 88, 159, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.98));
  box-shadow: 0 30px 70px rgba(6, 42, 85, 0.24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  isolation: isolate;
}

.assistant-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 16px;
  padding: 34px 24px 18px;
  border-radius: 34px 34px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(244, 198, 47, 0.38), transparent 34%),
    linear-gradient(135deg, #082e59 0%, #0c5da4 62%, #13a3c5 100%);
  overflow: visible;
}

.assistant-header h2,
.assistant-header p,
.assistant-header span {
  margin: 0;
}

.assistant-header h2 {
  font-size: 3.15rem;
  line-height: 0.92;
}

.assistant-header-main {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
  margin-top: -88px;
  z-index: 1;
}

.assistant-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: visible;
}

.assistant-header-copy {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
}

.assistant-avatar {
  display: block;
  width: 176px;
  height: 176px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 22px 26px rgba(6, 42, 85, 0.28));
}

.assistant-kicker {
  margin-bottom: 4px;
  font-size: 0;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: none;
}

.assistant-kicker::after {
  content: "Soy tu asistente virtual";
  display: block;
  font-size: 0.78rem;
}

.assistant-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.assistant-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #59f1ab;
  box-shadow: 0 0 0 6px rgba(89, 241, 171, 0.15);
}

.assistant-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 18px rgba(6, 42, 85, 0.14);
}

.assistant-close span {
  font-size: 1.45rem;
  line-height: 1;
}

.assistant-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  padding: 14px 12px 14px 16px;
  border-radius: 0 0 34px 34px;
}

.assistant-messages {
  display: grid;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 278px;
  max-height: none;
  padding-right: 8px;
  padding-bottom: 8px;
  overflow-y: auto;
}

.assistant-message {
  display: grid;
  gap: 9px;
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 22px;
  line-height: 1.45;
}

.assistant-message p {
  margin: 0;
}

.assistant-message ul {
  margin: 0;
  padding-left: 18px;
}

.assistant-message li + li {
  margin-top: 4px;
}

.assistant-message-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-message-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.assistant-message.is-bot {
  justify-self: start;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(17, 88, 159, 0.12);
  box-shadow: 0 12px 28px rgba(6, 42, 85, 0.08);
}

.assistant-message.is-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #0c5da4, #11a0c5);
  box-shadow: 0 14px 28px rgba(12, 93, 164, 0.22);
}

.assistant-message-link.primary {
  color: #fff;
  background: var(--blue);
}

.assistant-message-link.secondary {
  color: var(--blue-dark);
  background: rgba(17, 88, 159, 0.1);
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.assistant-suggestions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 88, 159, 0.16);
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 800;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.assistant-field {
  display: grid;
  gap: 8px;
}

.assistant-field span {
  display: none;
}

.assistant-body > button[data-assistant-query],
.assistant-footnote {
  display: none !important;
}

.assistant-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(17, 88, 159, 0.18);
  border-radius: 18px;
  background: #fff;
}

.assistant-send {
  align-self: end;
  min-width: 112px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f8a67, #17a379);
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(5, 143, 97, 0.24);
}

.assistant-footnote {
  margin: 14px 4px 2px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.assistant-shell[hidden] {
  display: none;
}

.assistant-launch[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
}

.mi-sv-app-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
}

.mi-sv-app-hero-copy,
.mi-sv-app-hero-aside {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 88, 159, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(6, 42, 85, 0.12);
}

.mi-sv-app-hero-copy {
  padding: 34px 34px 30px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #0d3b78 0%, #0f5d9a 48%, #149d8f 100%);
}

.mi-sv-app-hero-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -56px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mi-sv-app-hero-copy .kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-sv-app-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.mi-sv-app-hero-copy > p:not(.kicker) {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.mi-sv-app-hero-copy .hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mi-sv-app-hero-copy .btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.mi-sv-app-hero-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 252, 0.95)),
    var(--soft);
}

.mi-sv-app-chip-card {
  display: grid;
  gap: 7px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(17, 88, 159, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.mi-sv-app-chip-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-sv-app-chip-card strong {
  color: var(--blue-dark);
  font-size: 1.24rem;
  line-height: 1.15;
}

.mi-sv-app-chip-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mi-sv-app-shell {
  align-items: start;
  margin-top: 26px;
}

.mi-sv-app-main,
.mi-sv-app-sidebar {
  align-self: start;
}

.mi-sv-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mi-sv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 0 16px;
}

.mi-sv-section-head:first-of-type {
  margin-top: 0;
}

.mi-sv-section-head h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.mi-sv-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mi-sv-quick-grid,
.mi-sv-module-grid {
  display: grid;
  gap: 16px;
}

.mi-sv-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mi-sv-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mi-sv-quick-link,
.mi-sv-module-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 20px 20px 18px;
  text-align: left;
  text-decoration: none;
  border-radius: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mi-sv-quick-link {
  border: 1px solid rgba(17, 88, 159, 0.12);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 16px 34px rgba(6, 42, 85, 0.07);
}

.mi-sv-quick-link strong {
  color: var(--blue-dark);
  font-size: 1rem;
}

.mi-sv-quick-link p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mi-sv-module-card {
  border: 1px solid rgba(17, 88, 159, 0.1);
  background: #fff;
  box-shadow: 0 16px 36px rgba(6, 42, 85, 0.08);
}

.mi-sv-quick-link:hover,
.mi-sv-module-card:hover,
.mi-sv-module-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(6, 42, 85, 0.12);
}

.mi-sv-module-card.is-active {
  color: #fff;
  border-color: rgba(10, 80, 141, 0.2);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(140deg, #0d4a86 0%, #1270b7 52%, #11a08a 100%);
}

.mi-sv-module-card.is-upcoming {
  color: inherit;
  cursor: pointer;
  border: 1px dashed rgba(17, 88, 159, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 253, 0.98));
}

.mi-sv-module-card strong,
.mi-sv-module-card h3 {
  margin: 0;
}

.mi-sv-module-card strong {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mi-sv-module-card h3 {
  font-size: 1.14rem;
  line-height: 1.18;
}

.mi-sv-module-card p {
  margin: 0;
  line-height: 1.6;
}

.mi-sv-module-card.is-active p,
.mi-sv-module-card.is-active strong,
.mi-sv-module-card.is-active h3 {
  color: #fff;
}

.mi-sv-module-card.is-upcoming strong {
  color: var(--blue-dark);
}

.mi-sv-module-card.is-upcoming h3 {
  color: #173f6d;
}

.mi-sv-module-card.is-upcoming p {
  color: var(--muted);
}

.mi-sv-module-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mi-sv-module-card.is-active .mi-sv-module-badge {
  color: #0b4e89;
  background: rgba(255, 255, 255, 0.9);
}

.mi-sv-module-card.is-upcoming .mi-sv-module-badge {
  color: #7b5c00;
  background: rgba(246, 198, 0, 0.14);
}

.mi-sv-home-main {
  padding-bottom: 28px;
}

.mi-sv-home-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mi-sv-home-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: 22px;
  align-items: stretch;
}

.mi-sv-home-hero-copy,
.mi-sv-home-hero-aside {
  position: relative;
  border: 1px solid rgba(17, 88, 159, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(6, 42, 85, 0.12);
}

.mi-sv-home-hero-copy {
  overflow: visible;
  padding: 36px 34px 102px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(244, 198, 47, 0.22) 0 7%, transparent 7.4%),
    radial-gradient(circle at 90% 74%, rgba(0, 166, 214, 0.34) 0 12%, transparent 12.5%),
    radial-gradient(circle at 18% 78%, rgba(120, 210, 244, 0.18) 0 13%, transparent 13.4%),
    linear-gradient(135deg, #062a55 0%, #0b64ad 54%, #057ba7 100%);
}

.mi-sv-home-hero-copy::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -78px;
  right: -72px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(188, 236, 255, 0.24) 0%, rgba(188, 236, 255, 0) 72%);
  animation: driftOrb 10s ease-in-out infinite;
  pointer-events: none;
}

.mi-sv-home-hero-copy::after {
  content: "";
  position: absolute;
  width: 176px;
  height: 176px;
  left: -50px;
  bottom: 58px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 198, 47, 0.16) 0%, rgba(244, 198, 47, 0) 72%);
  animation: driftOrbSlow 14s ease-in-out infinite;
  pointer-events: none;
}

.mi-sv-home-logo {
  width: min(100%, 228px);
  margin: 0 0 16px;
  filter: drop-shadow(0 18px 28px rgba(6, 42, 85, 0.24));
}

.mi-sv-home-caption {
  max-width: 54ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.mi-sv-home-emergencies {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  z-index: 2;
}

.mi-sv-home-emergency-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 18px 30px rgba(4, 24, 52, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mi-sv-home-emergency-card:first-child {
  background: linear-gradient(145deg, #0f8a67 0%, #17a379 56%, #2db88b 100%);
}

.mi-sv-home-emergency-card:last-child {
  background: linear-gradient(145deg, #0d4b87 0%, #116ca8 52%, #149a81 100%);
}

.mi-sv-home-emergency-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 18px rgba(4, 24, 52, 0.24);
}

.mi-sv-home-emergency-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mi-sv-home-emergency-copy {
  display: grid;
  gap: 3px;
  line-height: 1.15;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.mi-sv-home-emergency-copy b {
  font-size: 1.08rem;
  font-weight: 900;
}

.mi-sv-home-hero-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 252, 0.95)),
    var(--soft);
}

.mi-sv-home-core {
  margin-top: 78px;
}

.mi-sv-home-core-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mi-sv-home-news {
  margin-top: 28px;
}

.mi-sv-home-news-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  padding: 12px;
  border: 1px solid rgba(17, 88, 159, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 253, 0.98));
  box-shadow: 0 18px 40px rgba(6, 42, 85, 0.08);
}

.mi-sv-home-news-media {
  min-height: 180px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(6, 42, 85, 0.08), rgba(6, 42, 85, 0.44)),
    linear-gradient(135deg, #0d4b87 0%, #116ca8 52%, #149a81 100%);
  position: relative;
  overflow: hidden;
}

.mi-sv-home-news-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.18), transparent 20%),
    radial-gradient(circle at 18% 82%, rgba(244, 198, 47, 0.24), transparent 24%);
}

.mi-sv-home-news-media::after {
  content: "Gestion";
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mi-sv-home-news-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 8px 6px 8px 0;
}

.mi-sv-home-news-copy > span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0b4e89;
  background: rgba(17, 88, 159, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mi-sv-home-news-copy h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.05;
}

.mi-sv-home-news-copy p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mi-sv-home-stack {
  margin-top: 26px;
}

.mi-sv-home-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mi-sv-home-stack-card {
  padding: 28px 28px 26px;
  border: 1px solid rgba(17, 88, 159, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 253, 0.98));
  box-shadow: 0 18px 40px rgba(6, 42, 85, 0.08);
}

.mi-sv-home-stack-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(13, 75, 135, 0.98), rgba(17, 108, 168, 0.94) 52%, rgba(20, 154, 129, 0.96));
}

.mi-sv-home-stack-card-highlight,
.mi-sv-home-stack-card-highlight h2,
.mi-sv-home-stack-card-highlight p,
.mi-sv-home-stack-card-highlight li {
  color: #fff;
}

.mi-sv-home-stack-card .kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mi-sv-home-stack-card-highlight .kicker {
  color: rgba(255, 255, 255, 0.84);
}

.mi-sv-home-stack-card h2 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.mi-sv-home-stack-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.mi-sv-home-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.mi-sv-home-list li + li {
  margin-top: 8px;
}

.mi-sv-home-quick-grid {
  grid-template-columns: 1fr;
}

.mi-sv-home-page .useful-phones {
  margin-top: 26px;
}

@media (max-width: 1080px) {
  .mi-sv-home-hero,
  .mi-sv-home-stack-grid {
    grid-template-columns: 1fr;
  }

  .mi-sv-home-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-sv-home-news-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mi-sv-home-hero,
  .mi-sv-home-shell {
    width: min(100%, calc(100% - 28px));
  }

  .mi-sv-home-hero-copy {
    padding: 28px 18px 110px;
  }

  .mi-sv-home-logo {
    width: min(100%, 190px);
  }

  .mi-sv-home-emergencies,
  .mi-sv-home-core-grid {
    grid-template-columns: 1fr;
  }

  .mi-sv-home-news-media {
    min-height: 144px;
  }

  .mi-sv-home-stack-card {
    padding: 24px 20px 22px;
  }
}

.mi-sv-app-sidebar {
  display: grid;
  gap: 18px;
}

.mi-sv-app-aside {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 24px 22px;
  border: 1px solid rgba(17, 88, 159, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  box-shadow: 0 18px 40px rgba(6, 42, 85, 0.08);
}

.mi-sv-app-aside > img {
  width: min(190px, 100%);
}

.mi-sv-app-aside > h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.2rem;
}

.mi-sv-app-aside > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mi-sv-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-sv-timeline li {
  display: grid;
  gap: 6px;
  padding: 14px 16px 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 88, 159, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.mi-sv-timeline strong,
.mi-sv-timeline p {
  margin: 0;
}

.mi-sv-timeline strong {
  color: var(--blue-dark);
}

.mi-sv-timeline p {
  color: var(--muted);
  line-height: 1.55;
}

.mi-sv-sidebar-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(17, 88, 159, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  box-shadow: 0 18px 40px rgba(6, 42, 85, 0.08);
}

.mi-sv-sidebar-card h3,
.mi-sv-sidebar-card h4,
.mi-sv-sidebar-card p {
  margin: 0;
}

.mi-sv-sidebar-card h3,
.mi-sv-sidebar-card h4 {
  color: var(--blue-dark);
}

.mi-sv-sidebar-card p {
  color: var(--muted);
  line-height: 1.6;
}

.mi-sv-sidebar-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-sv-sidebar-list li {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
  line-height: 1.55;
}

.mi-sv-sidebar-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #139883, #0d5d9c);
}

.mi-sv-modal[hidden] {
  display: none;
}

.mi-sv-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.mi-sv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 44, 0.62);
  backdrop-filter: blur(4px);
}

.mi-sv-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 28px));
  margin: min(12vh, 80px) auto 0;
  padding: 30px 28px 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 24, 44, 0.28);
}

.mi-sv-modal-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mi-sv-modal-dialog h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.05;
}

.mi-sv-modal-dialog p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.mi-sv-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(17, 88, 159, 0.08);
  font-size: 1.5rem;
  line-height: 1;
}

body.mi-sv-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .mi-sv-app-hero {
    width: min(100% - 24px, 1180px);
    margin-top: 18px;
    grid-template-columns: 1fr;
  }

  .mi-sv-app-hero-copy,
  .mi-sv-app-hero-aside,
  .mi-sv-sidebar-card,
  .mi-sv-modal-dialog {
    border-radius: 24px;
  }

  .mi-sv-app-hero-copy {
    padding: 26px 22px 24px;
  }

  .mi-sv-app-hero-copy h1 {
    max-width: none;
  }

  .mi-sv-summary-grid,
  .mi-sv-quick-grid,
  .mi-sv-module-grid {
    grid-template-columns: 1fr;
  }

  .mi-sv-section-head {
    display: grid;
  }

  .mi-sv-modal-dialog {
    padding: 24px 20px 20px;
    margin-top: 72px;
  }

  .assistant-launch {
    right: 12px;
    bottom: 12px;
    width: min(314px, calc(100vw - 24px));
    min-height: 58px;
    padding: 6px 14px 6px 16px;
  }

  .assistant-launch-icon {
    width: 86px;
    height: 86px;
    right: -12px;
    bottom: -10px;
  }

  .assistant-launch-icon::after {
    left: 14px;
    right: 12px;
    bottom: 5px;
    height: 12px;
  }

  .assistant-shell {
    inset: 0;
  }

  .assistant-panel {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    max-height: min(72vh, 640px);
    border-radius: 28px;
  }

  .assistant-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 20px 18px 16px;
  }

  .assistant-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .assistant-header-main {
    gap: 12px;
    margin-top: -62px;
  }

  .assistant-avatar {
    width: 136px;
    height: 136px;
  }

  .assistant-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 10px 12px 12px;
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }

  .assistant-send {
    width: 100%;
  }

  .assistant-messages {
    max-height: none;
    min-height: 226px;
    padding-right: 6px;
    padding-bottom: 6px;
  }
}

@media (max-width: 1080px) {
  .mi-sv-app-hero,
  .mi-sv-app-shell {
    grid-template-columns: 1fr;
  }

  .mi-sv-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-sv-quick-grid,
  .mi-sv-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mi-sv-reactivacion-page {
  background:
    radial-gradient(circle at top right, rgba(255, 214, 114, 0.14), transparent 20%),
    linear-gradient(180deg, #eef7fb 0%, #f8fbfd 36%, #ffffff 100%);
}

.mi-sv-reactivacion-page .program-hero {
  min-height: calc(100vh - 52px);
  padding-top: 76px;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 410px);
}

.mi-sv-reactivacion-page .program-hero-copy {
  border-radius: 42px 22px 50px 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 221, 132, 0.42) 0 12%, transparent 12.5%),
    linear-gradient(135deg, #0e4f7d 0%, #0f6d8e 54%, #178d79 100%);
}

.mi-sv-reactivacion-page .program-hero-copy h1 {
  font-size: clamp(2rem, 3.7vw, 3.55rem);
}

.mi-sv-reactivacion-page .program-promo,
.mi-sv-reactivacion-page .program-callout {
  border-radius: 28px 18px 30px 18px;
}

.mi-sv-reactivacion-page .program-promo {
  color: var(--blue-dark);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.66) 0 12%, transparent 12.5%),
    linear-gradient(160deg, #f5fbff 0%, #dceffa 100%);
}

.mi-sv-reactivacion-page .program-promo span {
  color: #0d628f;
  background: rgba(17, 88, 159, 0.12);
}

.mi-sv-reactivacion-page .program-promo strong {
  color: #13406e;
}

.mi-sv-reactivacion-page .program-promo p {
  color: #4a657e;
  font-weight: 700;
}

.mi-sv-reactivacion-page .program-promo b {
  color: #114d7f;
  background: #f6d06d;
  box-shadow: 0 10px 22px rgba(17, 77, 127, 0.14);
}

.mi-sv-reactivacion-page .program-callout {
  transform: none;
  animation: none;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.16) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #0f7f67 0%, #18a383 52%, #0f6f97 100%);
}

.mi-sv-reactivacion-page .program-callout span {
  color: #0b6156;
  background: rgba(234, 255, 245, 0.92);
}

.mi-sv-reactivacion-page .program-callout strong,
.mi-sv-reactivacion-page .program-callout p {
  color: #fff;
}

.mi-sv-reactivacion-page .program-callout .btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.mi-sv-reactivacion-page .program-callout-campaign::before {
  border-color: rgba(17, 140, 118, 0.3);
  box-shadow:
    0 0 0 6px rgba(17, 140, 118, 0.08),
    0 22px 34px rgba(15, 87, 109, 0.12);
}

.mi-sv-reactivacion-page .program-callout-prompt {
  color: #0d5f7d;
  background: linear-gradient(135deg, #fff4cc, #f5d871);
  box-shadow: 0 12px 24px rgba(122, 93, 20, 0.18);
}

.mi-sv-reactivacion-page .program-callout-prompt::after {
  background: #f1d367;
}

.mi-sv-reactivacion-page .program-benefits article {
  border-radius: 26px 16px 30px 18px;
}

.mi-sv-reactivacion-page .program-benefits span {
  color: #0f7e8b;
}

.mi-sv-reactivacion-page .rules-card {
  border-radius: 28px 18px 32px 18px;
}

.mi-sv-react-hero,
.mi-sv-react-strip,
.mi-sv-react-story,
.mi-sv-react-benefits,
.mi-sv-react-flow {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mi-sv-react-hero {
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 34px;
  align-items: center;
}

.mi-sv-react-copy {
  padding: 18px 0;
}

.mi-sv-react-kicker {
  margin: 0 0 12px;
  color: #0f6a8c;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mi-sv-react-copy h1,
.mi-sv-react-story-copy h2,
.mi-sv-react-flow-copy h2 {
  margin: 0;
  color: var(--blue-dark);
  line-height: 1.02;
}

.mi-sv-react-copy h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.mi-sv-react-copy p,
.mi-sv-react-story-copy p,
.mi-sv-react-flow-copy p {
  max-width: 66ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.mi-sv-react-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.mi-sv-react-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.mi-sv-react-screen {
  position: relative;
  z-index: 1;
  width: min(330px, 82%);
  margin: 0 auto;
  padding: 18px 16px;
  border-radius: 38px;
  background: linear-gradient(180deg, #103d71, #0f7e81);
  box-shadow: 0 36px 70px rgba(8, 42, 78, 0.24);
}

.mi-sv-react-screen::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.mi-sv-react-screen img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 22px;
}

.mi-sv-react-floating {
  position: absolute;
  z-index: 2;
  width: min(260px, 70%);
  padding: 20px 20px 18px;
  border-radius: 26px;
  box-shadow: 0 28px 52px rgba(8, 36, 70, 0.18);
}

.mi-sv-react-floating span,
.mi-sv-react-floating strong,
.mi-sv-react-floating p {
  display: block;
}

.mi-sv-react-floating span {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-sv-react-floating strong {
  font-size: 1.18rem;
  line-height: 1.12;
}

.mi-sv-react-floating p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.mi-sv-react-floating a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.mi-sv-react-floating-top {
  top: 18px;
  left: 0;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #ffffff, #e5f6ff);
}

.mi-sv-react-floating-top span {
  color: #0f6a8d;
}

.mi-sv-react-floating-bottom {
  right: 0;
  bottom: 22px;
  color: #fff;
  background: linear-gradient(135deg, #0f7a69, #18a07e 56%, #0f638f);
}

.mi-sv-react-floating-bottom span,
.mi-sv-react-floating-bottom p,
.mi-sv-react-floating-bottom strong {
  color: #fff;
}

.mi-sv-react-floating-bottom a {
  color: #0b558d;
  background: rgba(255, 255, 255, 0.92);
}

.mi-sv-react-strip {
  padding: 12px 0 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mi-sv-react-strip article,
.mi-sv-react-story-card,
.mi-sv-react-benefits article,
.mi-sv-react-flow-card {
  border: 1px solid rgba(17, 88, 159, 0.11);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(8, 36, 70, 0.08);
}

.mi-sv-react-strip article {
  padding: 22px;
}

.mi-sv-react-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f6795, #11a184);
  font-weight: 950;
}

.mi-sv-react-strip strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--blue-dark);
  font-size: 1.04rem;
}

.mi-sv-react-strip p,
.mi-sv-react-story-card li,
.mi-sv-react-benefits p,
.mi-sv-react-flow-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mi-sv-react-story,
.mi-sv-react-flow {
  padding: 44px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.mi-sv-react-story-card,
.mi-sv-react-flow-card {
  padding: 26px;
}

.mi-sv-react-story-card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.mi-sv-react-story-card ul,
.mi-sv-react-flow-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.mi-sv-react-benefits {
  padding: 34px 0 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mi-sv-react-benefits article {
  padding: 22px;
}

.mi-sv-react-benefits h3 {
  margin: 18px 0 8px;
  color: var(--blue-dark);
  font-size: 1.04rem;
}

.mi-sv-react-benefit-art {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 28px rgba(8, 36, 70, 0.12);
}

.mi-sv-react-benefit-art.is-blue {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.84), transparent 18%),
    linear-gradient(135deg, #0f5f96, #14a3cb);
}

.mi-sv-react-benefit-art.is-green {
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.84), transparent 18%),
    linear-gradient(135deg, #0f8c73, #49c48e);
}

.mi-sv-react-benefit-art.is-gold {
  background:
    radial-gradient(circle at 32% 68%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(135deg, #d7a32f, #f1ce6c);
}

.mi-sv-react-benefit-art.is-cyan {
  background:
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #0f7196, #3ac4bf);
}

.mi-sv-hub {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.mi-sv-hub-center {
  display: grid;
  gap: 18px;
}

.mi-sv-hub-copy,
.mi-sv-hub-status-card,
.mi-sv-hub-notice,
.mi-sv-story-card,
.mi-sv-hub-rail {
  border: 1px solid rgba(17, 88, 159, 0.11);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(8, 36, 70, 0.08);
}

.mi-sv-hub-copy {
  padding: 32px 32px 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 106, 0.2), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.mi-sv-hub-copy .kicker {
  margin: 0 0 12px;
  color: #0f6b8f;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-sv-hub-copy h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.02;
}

.mi-sv-hub-copy p {
  max-width: 70ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.mi-sv-hub-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mi-sv-hub-status-card {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.mi-sv-hub-status-card span {
  color: #63778b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-sv-hub-status-card strong {
  color: var(--blue-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

.mi-sv-hub-status-card p,
.mi-sv-hub-notice p,
.mi-sv-story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mi-sv-hub-notice {
  padding: 22px;
}

.mi-sv-hub-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.mi-sv-hub-notice.is-warning {
  background: linear-gradient(180deg, #fff9ef, #fffdf8);
}

.mi-sv-hub-notice.is-positive {
  background: linear-gradient(180deg, #effbf7, #fcfffe);
}

.mi-sv-hub-notice.is-neutral {
  background: linear-gradient(180deg, #f6fbff, #ffffff);
}

.mi-sv-hub-notice .btn {
  margin-top: 14px;
}

.mi-sv-hub-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mi-sv-story-card {
  padding: 24px;
}

.mi-sv-story-card h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.16rem;
}

.mi-sv-story-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-sv-story-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.mi-sv-story-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #15a082, #0f6999);
}

.mi-sv-hub-rail {
  position: sticky;
  top: 84px;
  padding: 18px;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.mi-sv-hub-rail-head {
  display: grid;
  gap: 8px;
}

.mi-sv-hub-rail-head img {
  width: min(188px, 100%);
}

.mi-sv-hub-rail-head p {
  margin: 0;
  color: #5f7388;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mi-sv-hub-grid {
  display: grid;
  gap: 16px;
}

.mi-sv-hub-tile {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 196px;
  padding: 18px 18px 16px;
  text-align: left;
  text-decoration: none;
  appearance: none;
  border: 1px solid rgba(17, 88, 159, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 34px rgba(8, 36, 70, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mi-sv-hub-tile:hover,
.mi-sv-hub-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 26px 42px rgba(8, 36, 70, 0.16);
}

.mi-sv-hub-tile small,
.mi-sv-hub-tile strong,
.mi-sv-hub-tile p,
.mi-sv-hub-tile em {
  margin: 0;
}

.mi-sv-hub-tile small {
  color: #5f7388;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

.mi-sv-hub-tile strong {
  color: var(--blue-dark);
  font-size: 1.18rem;
  line-height: 1.12;
}

.mi-sv-hub-tile p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 26ch;
}

.mi-sv-hub-tile em {
  color: #0f6a8d;
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
}

.mi-sv-hub-tile-art {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  opacity: 0.96;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 16px 24px rgba(8, 36, 70, 0.12);
  transition: transform 180ms ease;
}

.mi-sv-hub-tile:hover .mi-sv-hub-tile-art,
.mi-sv-hub-tile:focus-visible .mi-sv-hub-tile-art {
  transform: translateY(-3px) rotate(-3deg);
}

.mi-sv-hub-tile-art.art-datos {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.82), transparent 17%),
    linear-gradient(135deg, #0f6795, #5ad0d0);
}

.mi-sv-hub-tile-art.art-cuenta {
  background:
    radial-gradient(circle at 68% 26%, rgba(255,255,255,0.86), transparent 18%),
    linear-gradient(135deg, #175f8d, #1aa97f);
}

.mi-sv-hub-tile-art.art-sorteos {
  background:
    radial-gradient(circle at 34% 70%, rgba(255,255,255,0.78), transparent 16%),
    linear-gradient(135deg, #f2b541, #ffdf8a);
}

.mi-sv-hub-tile-art.art-beneficios {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f7a74, #6fd0a1);
}

.mi-sv-hub-tile-art.art-expedientes {
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f5b8c, #61b0e6);
}

.mi-sv-hub-tile-art.art-turnos {
  background:
    radial-gradient(circle at 70% 72%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f7490, #74d4cf);
}

.mi-sv-hub-tile-art.art-reportes {
  background:
    radial-gradient(circle at 26% 74%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f5f96, #2ac2af);
}

.mi-sv-hub-tile-art.art-empleo {
  background:
    radial-gradient(circle at 70% 32%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f7d69, #8ad3a3);
}

.mi-sv-hub-tile-art.art-universidad {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #165187, #6da3e1);
}

.mi-sv-hub-tile-art.art-agenda {
  background:
    radial-gradient(circle at 66% 72%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f6994, #4ed1dd);
}

.mi-sv-hub-tile-art.art-turismo {
  background:
    radial-gradient(circle at 28% 30%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #0f7567, #64d5b2);
}

.mi-sv-hub-tile-art.art-alertas {
  background:
    radial-gradient(circle at 68% 30%, rgba(255,255,255,0.82), transparent 16%),
    linear-gradient(135deg, #d6a137, #ffd97f);
}

.mi-sv-hub-tile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mi-sv-hub-tile.is-active .mi-sv-hub-tile-badge,
.mi-sv-hub-tile.is-featured .mi-sv-hub-tile-badge {
  color: #0b4f8a;
  background: rgba(255, 255, 255, 0.92);
}

.mi-sv-hub-tile.is-upcoming .mi-sv-hub-tile-badge {
  color: #7d5e07;
  background: rgba(248, 200, 39, 0.16);
}

.mi-sv-hub-tile.is-featured {
  color: #fff;
  border-color: rgba(11, 84, 139, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #0d4b87 0%, #116ca8 52%, #149a81 100%);
}

.mi-sv-hub-tile.is-featured small,
.mi-sv-hub-tile.is-featured strong,
.mi-sv-hub-tile.is-featured p,
.mi-sv-hub-tile.is-featured em {
  color: #fff;
}

.mi-sv-hub-tile.is-featured .mi-sv-hub-tile-art {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.88), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.26), rgba(255,255,255,0.08));
}

.mi-sv-hub-tile.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.mi-sv-hub-tile.is-upcoming {
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border-style: dashed;
}

@media (max-width: 1080px) {
  .mi-sv-hub {
    grid-template-columns: 1fr;
  }

  .mi-sv-react-hero,
  .mi-sv-react-story,
  .mi-sv-react-flow {
    grid-template-columns: 1fr;
  }

  .mi-sv-react-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-sv-react-strip {
    grid-template-columns: 1fr;
  }

  .mi-sv-hub-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .mi-sv-react-hero,
  .mi-sv-react-strip,
  .mi-sv-react-story,
  .mi-sv-react-benefits,
  .mi-sv-react-flow,
  .mi-sv-hub {
    width: min(100% - 24px, 1180px);
  }

  .mi-sv-react-copy h1,
  .mi-sv-hub-copy h1 {
    max-width: none;
  }

  .mi-sv-react-hero {
    padding-top: 18px;
    gap: 22px;
  }

  .mi-sv-react-visual {
    min-height: auto;
    padding-bottom: 12px;
  }

  .mi-sv-react-screen {
    width: min(300px, 86%);
  }

  .mi-sv-react-floating {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .mi-sv-react-benefits {
    grid-template-columns: 1fr;
  }

  .mi-sv-hub {
    margin-top: 18px;
    margin-bottom: 40px;
  }

  .mi-sv-hub-copy,
  .mi-sv-hub-status-card,
  .mi-sv-hub-notice,
  .mi-sv-story-card,
  .mi-sv-hub-rail {
    border-radius: 24px;
  }

  .mi-sv-hub-copy {
    padding: 24px 22px;
  }

  .mi-sv-hub-status,
  .mi-sv-hub-story {
    grid-template-columns: 1fr;
  }
}


