: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-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;
}

.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;
}

.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;
}

.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: 18px;
  padding: clamp(62px, 8vw, 112px) 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: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 38px);
  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(2rem, 3.2vw, 3.05rem);
}

.digital-card p {
  color: var(--muted);
  line-height: 1.58;
}

.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(34px) rotate(1.2deg);
}

.mi-card-logo {
  width: min(100%, 300px);
  margin: -10px 0 18px;
  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: 190px;
  max-width: 58%;
  align-self: flex-end;
  margin: -18px -12px 8px 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;
  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: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.management {
  background: #fff;
}

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

.management-grid a {
  position: relative;
  min-height: 255px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px 18px 36px 20px;
  background: linear-gradient(145deg, #ffffff, #eef8ff);
  box-shadow: 0 16px 34px rgba(9, 40, 79, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 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:nth-child(3n + 2),
.service-list a:nth-child(3n + 2) {
  background: linear-gradient(145deg, #ffffff, #edfdf6);
}

.management-grid a:nth-child(3n + 2)::after,
.service-list a:nth-child(3n + 2)::after {
  background: rgba(5, 143, 97, 0.14);
}

.management-grid a:nth-child(3n + 3)::after,
.service-list a:nth-child(3n + 3)::after {
  background: rgba(244, 198, 47, 0.16);
}

.management-grid a:hover {
  transform: translateY(-7px) rotate(0.7deg);
  border-color: rgba(17, 88, 159, 0.28);
  box-shadow: var(--shadow);
}

.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-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: 10px;
  color: var(--blue-dark);
  font-size: 1.22rem;
}

.management-grid p {
  max-width: 92%;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.area-news {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(219, 231, 237, 0.9);
}

.area-news span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.area-news b {
  color: var(--blue-dark);
  font-size: 0.9rem;
  line-height: 1.24;
}

.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: 16px;
}

.service-list a,
.service-featured {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 24px;
  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: 178px;
}

.service-featured {
  min-height: 100%;
  align-content: end;
  padding: 30px;
  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.22rem;
  line-height: 1.18;
}

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

.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-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));
}

.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 {
  font-size: 1.35rem;
  line-height: 1.02;
}

.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: 28px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--blue-dark);
}

.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;
}

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

.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 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;
}

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

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

.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;
}

.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;
}

.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-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;
    left: 0;
    right: 0;
    display: none;
    padding: 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: grid;
    justify-content: stretch;
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .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-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 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;
  }

  .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;
  }

  .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-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: 500px;
  }

  .municipio-hero-photo {
    inset: 0 0 118px 0;
  }

  .municipio-hero-card-main {
    right: 10px;
    top: auto;
    bottom: 124px;
    width: min(100%, 240px);
    transform: rotate(2deg);
  }

  .municipio-hero-card-note {
    right: 0;
    width: min(100%, 252px);
    transform: rotate(-2deg);
  }

  .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-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: calc(100vh - 72px);
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.taxes-hero-copy {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 52px 26px 58px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(188, 236, 255, 0.36) 0 13%, transparent 13.5%),
    radial-gradient(circle at 12% 84%, rgba(198, 244, 219, 0.52) 0 15%, transparent 15.5%),
    linear-gradient(135deg, #0d4c58, #0d7b73 54%, #14a17b);
  box-shadow: 0 28px 64px rgba(6, 42, 85, 0.22);
}

.taxes-hero-copy h1 {
  max-width: 720px;
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.taxes-hero-copy p:not(.kicker) {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.68;
}

.taxes-hero-note {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(5, 143, 97, 0.14);
  border-radius: 34px 18px 42px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 249, 242, 0.98));
  box-shadow: 0 18px 44px rgba(9, 40, 79, 0.1);
}

.taxes-hero-note span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0b4d46;
  background: #c6f4db;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.taxes-hero-note strong {
  color: var(--blue-dark);
  font-size: 1.8rem;
  line-height: 1.08;
}

.taxes-hero-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.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;
  border: 1px solid var(--line);
  border-radius: 34px 18px 42px 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(9, 40, 79, 0.1);
}

.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: linear-gradient(180deg, #f6fcf8, #e7f7ee);
}

.taxes-option-monthly::after {
  background: rgba(5, 143, 97, 0.16);
}

.taxes-option-plan {
  background: linear-gradient(180deg, #f7fcf7, #eef9e8);
}

.taxes-option-plan::after {
  background: rgba(137, 190, 72, 0.24);
}

.taxes-option-regularize {
  background: linear-gradient(180deg, #effaf4, #def3e8);
}

.taxes-option-regularize::after {
  background: rgba(11, 119, 86, 0.18);
}

.taxes-option-step {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0b4d46;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.taxes-option h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.12;
}

.taxes-option p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.taxes-option .btn {
  width: fit-content;
  margin-top: auto;
}

@media (max-width: 980px) {
  .taxes-hero,
  .taxes-options {
    width: min(100% - 32px, 1180px);
  }

  .taxes-hero,
  .taxes-options {
    grid-template-columns: 1fr;
  }

  .taxes-hero {
    min-height: auto;
    padding: 54px 0 24px;
  }
}

@media (max-width: 760px) {
  .taxes-hero {
    padding-top: 64px;
  }

  .taxes-hero-copy,
  .taxes-hero-note,
  .taxes-option {
    padding: 22px;
    border-radius: 32px 18px 36px 20px;
  }

  .taxes-option {
    min-height: auto;
  }

  .taxes-options {
    padding-bottom: 58px;
  }
}
