/* Paletas (rojo #B90000 fijo).
   MAGA = versión guardada (hueso, curvas, franja roja redondeada en el hero) — ACTIVA
   99  = gris + carbón
   1   = institucional (hueso + negro, sin el layout MAGA)
   ui  = intento cuadrado — no restaurar
   3   = oliva seco
*/
:root {
  /* MAGA */
  --da-red: #b90000;
  --da-red-deep: #8a0000;
  --da-espresso: #141414;
  --da-dark: #141414;
  --da-ink: #161616;
  --da-muted: #6a6a6a;
  --da-line: #e4e2de;
  --da-paper: #fffcfa;
  --da-bg: #f5f4f2;
  --da-cream: #eeece8;
  --da-radius: 24px;
  --da-radius-sm: 16px;
  --da-shadow: 0 14px 36px rgba(40, 16, 16, 0.08);
  --da-shadow-lg: 0 24px 50px rgba(40, 16, 16, 0.12);
  --da-chrome: 148px;
}

/* 99 (guardar):
  --da-espresso: #1a1a1a;
  --da-dark: #1a1a1a;
  --da-ink: #1c1c1c;
  --da-muted: #6b6b6b;
  --da-line: #dcdcdc;
  --da-paper: #f4f4f3;
  --da-bg: #e8e8e6;
  --da-cream: #ececec;
*/
/* 1 (institucional, pendiente):
  --da-espresso: #141414;
  --da-dark: #141414;
  --da-ink: #161616;
  --da-muted: #6a6a6a;
  --da-line: #e4e2de;
  --da-paper: #f7f6f4;
  --da-bg: #f5f4f2;
  --da-cream: #eeece8;
*/

body:has(.origen-site),
.origen-site.page-home,
.origen-site.page-concejal,
.origen-site.page-vision,
.origen-site.page-proyectos,
.origen-site.page-gestiones,
.origen-site.page-sumate,
.origen-site.page-padron,
.origen-site.page-ciudad,
.origen-site.page-civic {
  background: var(--da-bg);
  color: var(--da-ink);
  font-family: var(--font-sans), "Segoe UI", sans-serif;
}

.origen-site {
  position: relative;
}

.origen-site,
.origen-site button,
.origen-site input,
.origen-site textarea,
.origen-site select {
  font-family: inherit;
}

.origen-site h1,
.origen-site h2,
.origen-site h3,
.origen-site h4 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

html:has(.origen-site) {
  scroll-padding-top: 118px;
}

.origen-site .util-bar {
  position: relative;
  z-index: 99999 !important;
  pointer-events: auto !important;
  background: var(--da-espresso);
  color: #cfcfcf;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 0;
}
.origen-site .util-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.origen-site .util-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.origen-site .util-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.origen-site .util-links a:hover {
  background: var(--da-red);
  border-bottom-color: transparent;
}

.origen-site[class*="page-"] .topbar,
.origen-site.page-home .topbar {
  background: linear-gradient(180deg, #c40000 0%, var(--da-red) 58%, var(--da-red-deep) 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(138, 0, 0, 0.28);
  backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
.origen-site[class*="page-"] .topbar-inner,
.origen-site.page-home .topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: visible;
}
.origen-site .brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.origen-site .brand-logo {
  height: 84px;
  width: auto;
  max-width: min(250px, 46vw);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}
.origen-site .brand-rule {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  border-radius: 99px;
}
.origen-site[class*="page-"] .topbar-left,
.origen-site.page-home .topbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #e8e8e8;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: left;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
.origen-site .topbar-left b,
.origen-site .topbar-left em {
  font-style: normal;
  font-weight: 600;
  color: #fff;
}
.origen-site .site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  padding-top: 0;
  border-top: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.origen-site .site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 999px;
  border-bottom: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}
.origen-site .site-nav a:hover,
.origen-site .site-nav a:focus-visible {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
}
.origen-site .site-nav a.active {
  color: var(--da-red);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.origen-site[class*="page-"] .hero {
  background: linear-gradient(165deg, #2a1818 0%, var(--da-espresso) 70%);
  color: #fff;
  text-align: left;
  padding: 44px 28px 56px;
  overflow: hidden;
  min-height: 0;
  display: block;
  border-bottom: 0;
  border-radius: 0 0 32px 32px;
}
.origen-site[class*="page-"] .hero::before {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  background: var(--da-red);
  margin-bottom: 18px;
  border-radius: 99px;
}
.origen-site[class*="page-"] .hero::after,
.origen-site.page-home .hero::after {
  display: none;
}
.origen-site[class*="page-"] .hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  padding: 0;
  border-left: 0;
}
.origen-site[class*="page-"] .hero h1,
.origen-site[class*="page-"] .hero-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-transform: none;
}
.origen-site[class*="page-"] .hero p,
.origen-site[class*="page-"] .hero-subtitle {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  font-weight: 400;
}
.origen-site[class*="page-"] .logo,
.origen-site[class*="page-"] .logo-wrap {
  display: none;
}

.origen-site[class*="page-"] .home-hero,
.origen-site.page-home .hero.home-hero,
.origen-site .home-hero {
  display: block;
  min-height: 0;
  padding: 0 16px 8px;
  background: transparent;
  border-bottom: 0;
  text-align: left;
  border-radius: 0;
  overflow: visible;
}
.origen-site .home-hero::before {
  display: none;
}
.origen-site .home-stage {
  margin: 0 -16px;
}
.origen-site .home-hero-media {
  position: relative;
  min-height: min(56vh, 560px);
  height: min(56vh, 560px);
  border: 0;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  box-shadow: var(--da-shadow-lg);
}
.origen-site .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(28, 20, 20, 0.45) 100%);
  pointer-events: none;
}
.origen-site .home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  position: absolute;
  inset: 0;
}
.origen-site .home-hero-band {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 22px 26px 24px;
  background: linear-gradient(160deg, #d00000 0%, var(--da-red) 48%, var(--da-red-deep) 100%);
  border-radius: var(--da-radius);
  box-shadow: 0 18px 40px rgba(80, 0, 0, 0.28);
}
.origen-site .home-hero-band .home-kicker {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.origen-site .home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  width: calc(100% - 8px);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--da-paper);
  border: 0;
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow-lg);
}
.origen-site .home-hero-text {
  min-width: 0;
}
.origen-site .home-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 4px;
  color: #fff;
  line-height: 0.98;
}
.origen-site .home-slogan {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--font-display), Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
  max-width: none !important;
}
.origen-site .home-hero-text > p:not(.home-slogan) {
  margin: 0 0 14px;
  max-width: 560px;
  color: var(--da-ink);
  font-size: 16px;
  line-height: 1.65;
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  font-weight: 400;
}
.origen-site .home-next {
  display: block;
  margin: 0 0 10px;
  padding: 12px 16px;
  border-radius: var(--da-radius-sm);
  background: var(--da-cream);
  border: 0;
  text-decoration: none;
  color: inherit;
  max-width: 560px;
}
.origen-site .home-next span {
  display: block;
  margin-bottom: 4px;
  color: var(--da-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.origen-site .home-next b {
  display: block;
  color: var(--da-espresso);
  font-size: 14px;
  font-weight: 700;
}
.origen-site .home-next em {
  display: block;
  margin-top: 2px;
  color: var(--da-muted);
  font-style: normal;
  font-size: 14px;
}
.origen-site .home-wa {
  display: inline-flex;
  color: var(--da-red);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.origen-site .home-wa:hover,
.origen-site .home-next:hover b {
  text-decoration: underline;
}
.origen-site .home-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}
.origen-site .home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  color: var(--da-espresso);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: var(--da-cream);
  border-radius: 999px;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.origen-site .home-cta-main {
  background: var(--da-red);
  border-color: var(--da-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(185, 0, 0, 0.28);
}
.origen-site .home-cta:hover {
  background: var(--da-espresso);
  color: #fff;
  border-color: var(--da-espresso);
  box-shadow: none;
  transform: translateY(-1px);
}

.origen-site .home-boards {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 28px 88px;
  display: grid;
  gap: 22px;
}
.origen-site .board {
  background: var(--da-paper);
  padding: 36px 32px;
  border: 0;
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
}
.origen-site .board:first-child {
  border-top: 0;
  padding-top: 36px;
}
.origen-site .board-head {
  margin-bottom: 28px;
  max-width: 640px;
}
.origen-site .board-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: #fff;
  background: var(--da-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.origen-site .board-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--da-espresso);
}
.origen-site .board-head p {
  margin: 0;
  color: var(--da-muted);
  font-size: 16px;
  line-height: 1.7;
}
.origen-site .board-close {
  display: block;
  padding: 0;
  border-top: 0;
  background: transparent;
  box-shadow: none;
}

.origen-site[class*="page-"] .main {
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 0 28px 88px;
  position: relative;
  z-index: 3;
}
.origen-site.page-home .main {
  margin: 0 auto;
}
.origen-site[class*="page-"] .section-card,
.origen-site[class*="page-"] .card {
  background: var(--da-paper);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow-lg);
  border: 0;
  overflow: hidden;
}
.origen-site[class*="page-"] .section-head,
.origen-site[class*="page-"] .card-head {
  padding: 36px 36px 18px;
  background: transparent;
  border-bottom: 0;
  text-align: left;
}
.origen-site[class*="page-"] .section-head .eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 0;
  background: var(--da-red);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
  border-radius: 999px;
}
.origen-site[class*="page-"] .section-head h2,
.origen-site[class*="page-"] .card-head h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--da-espresso);
  line-height: 1.12;
  text-transform: none;
}
.origen-site[class*="page-"] .section-head p,
.origen-site[class*="page-"] .card-head p {
  margin: 0;
  max-width: 640px;
  color: var(--da-muted);
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  font-weight: 400;
}
.origen-site[class*="page-"] .section-body,
.origen-site[class*="page-"] .card-body {
  padding: 8px 36px 40px;
}

.origen-site[class*="page-"] .profile-photo-box,
.origen-site[class*="page-"] .lead-box,
.origen-site[class*="page-"] .intro-box,
.origen-site[class*="page-"] .info-box,
.origen-site[class*="page-"] .form-box,
.origen-site[class*="page-"] .vision-text,
.origen-site[class*="page-"] .proposal-text,
.origen-site[class*="page-"] .pillar-card,
.origen-site[class*="page-"] .reason-card,
.origen-site[class*="page-"] .project-card,
.origen-site[class*="page-"] .info-card,
.origen-site[class*="page-"] .gestion-card,
.origen-site[class*="page-"] .focus-box,
.origen-site[class*="page-"] .vision-principles {
  border-radius: var(--da-radius-sm);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 0;
  background: #fffcfa;
}
.origen-site.page-home .profile-photo-box,
.origen-site[class*="page-"] .profile-photo-box {
  overflow: hidden;
  border-radius: 24px;
  background: #fffcfa;
}
.origen-site[class*="page-"] .profile-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.origen-site.page-home .profile-grid,
.origen-site[class*="page-"] .profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.origen-site .profile-side {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 12px;
  align-self: start;
}
.origen-site .profile-facts {
  background: #fffcfa;
  border-radius: 18px;
  padding: 6px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 0;
}
.origen-site .profile-facts > div {
  padding: 12px 0;
  border-top: 1px solid var(--da-line);
}
.origen-site .profile-facts > div:first-child {
  border-top: 0;
}
.origen-site .profile-facts span {
  display: block;
  color: var(--da-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.origen-site .profile-facts b {
  display: block;
  margin-top: 2px;
  color: var(--da-espresso);
  font-size: 15px;
  font-weight: 600;
}
.origen-site .profile-side-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--da-red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(185, 0, 0, 0.22);
}
.origen-site .profile-side-wa {
  background: #1b8a44;
  box-shadow: none;
}
.origen-site .profile-sign {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--da-line);
}
.origen-site .profile-sign strong {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
  color: var(--da-espresso);
}
.origen-site .profile-sign span {
  display: block;
  margin-top: 4px;
  color: var(--da-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.origen-site .profile-sign em {
  display: block;
  margin-top: 8px;
  color: var(--da-muted);
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 16px;
}
.origen-site[class*="page-"] .profile-main,
.origen-site.page-home .profile-main {
  border: 0;
  background: transparent;
  padding: 4px 0 0;
  box-shadow: none;
}
.origen-site[class*="page-"] .profile-main h3,
.origen-site[class*="page-"] .lead-box h3,
.origen-site[class*="page-"] .intro-box h3,
.origen-site[class*="page-"] .info-box h3,
.origen-site[class*="page-"] .vision-text h3,
.origen-site[class*="page-"] .proposal-text h3,
.origen-site[class*="page-"] .pillar-card h4,
.origen-site[class*="page-"] .reason-card h4,
.origen-site[class*="page-"] .project-card h4,
.origen-site[class*="page-"] .info-card h4,
.origen-site[class*="page-"] .gestion-content h4 {
  text-transform: none;
  font-weight: 600;
}
.origen-site[class*="page-"] .profile-main h3 span,
.origen-site[class*="page-"] .lead-box h3 span,
.origen-site[class*="page-"] .intro-box h3 span,
.origen-site[class*="page-"] .info-box h3 span,
.origen-site[class*="page-"] .vision-text h3 span,
.origen-site[class*="page-"] .proposal-text h3 span {
  color: var(--da-red);
}
.origen-site[class*="page-"] .profile-badge,
.origen-site[class*="page-"] .highlight-box,
.origen-site[class*="page-"] .summary-box,
.origen-site[class*="page-"] .vision-quote {
  background: linear-gradient(135deg, var(--da-red) 0%, var(--da-espresso) 100%);
  border-radius: 0 0 24px 24px;
}
.origen-site[class*="page-"] .highlight-box,
.origen-site[class*="page-"] .summary-box,
.origen-site[class*="page-"] .vision-quote {
  border-radius: var(--da-radius-sm);
}
.origen-site .agenda-list {
  display: grid;
  gap: 12px;
}
.origen-site .agenda-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: stretch;
  background: #fffcfa;
  border-radius: 18px;
  padding: 14px 16px 14px 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  border: 0;
}
.origen-site .agenda-item.is-past {
  opacity: 0.72;
}
.origen-site .agenda-date {
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--da-red);
  color: #fff;
  border-radius: 16px;
  padding: 12px 8px;
  min-height: 92px;
}
.origen-site .agenda-date span,
.origen-site .agenda-date em {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: #ffd4d4;
}
.origen-site .agenda-date strong {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-size: 32px;
  line-height: 1;
  margin: 2px 0;
  font-weight: 600;
}
.origen-site .agenda-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--da-espresso);
}
.origen-site .agenda-meta {
  margin-bottom: 4px;
  color: var(--da-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.origen-site .agenda-body p {
  margin: 0;
  color: var(--da-muted);
  font-size: 14px;
  line-height: 1.55;
}
.origen-site .agenda-empty {
  margin: 0 0 16px;
  color: var(--da-muted);
}
.origen-site .agenda-more {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--da-red);
  font-weight: 700;
  text-decoration: none;
}
.origen-site .agenda-more:hover {
  text-decoration: underline;
}

.origen-site .photo-carousel {
  margin: 0 0 28px;
}
.origen-site .photo-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--da-shadow);
  background: var(--da-espresso);
  aspect-ratio: 16 / 9;
  min-height: 260px;
}
.origen-site .photo-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.origen-site .photo-carousel-slide {
  margin: 0;
  min-width: 100%;
  height: 100%;
}
.origen-site .photo-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.origen-site .photo-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--da-espresso);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}
.origen-site .photo-carousel-nav.prev {
  left: 14px;
}
.origen-site .photo-carousel-nav.next {
  right: 14px;
}
.origen-site .photo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.origen-site .photo-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--da-line);
  cursor: pointer;
}
.origen-site .photo-carousel-dots button.active {
  background: var(--da-red);
  width: 26px;
  border-radius: 99px;
}

.origen-site[class*="page-"] .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.origen-site[class*="page-"] .gallery-grid img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  height: 210px;
  object-fit: cover;
  transform: none;
  transition: box-shadow 0.22s ease;
}
.origen-site[class*="page-"] .gallery-grid img:hover {
  transform: none;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}
.origen-site[class*="page-"] .gallery-title {
  text-align: left;
  color: var(--da-espresso);
  font-size: 30px;
  margin: 28px 0 14px;
  text-transform: none;
}
.origen-site[class*="page-"] .message-box,
.origen-site[class*="page-"] .closing-box,
.origen-site[class*="page-"] .cta-box,
.origen-site.page-home .cta-box,
.origen-site.page-home .message-box,
.origen-site.page-concejal .closing-box,
.origen-site.page-vision .closing-box,
.origen-site.page-proyectos .closing-box,
.origen-site.page-gestiones .closing-box {
  background: linear-gradient(165deg, #1c1c1c 0%, var(--da-espresso) 72%);
  border: 0;
  border-radius: var(--da-radius);
  text-align: left;
  padding: 32px;
  color: #fff;
  margin-top: 28px;
  position: relative;
  z-index: 0;
  box-shadow: var(--da-shadow);
}
.origen-site.page-home .cta-box {
  background: linear-gradient(165deg, #c40000 0%, var(--da-red-deep) 100%);
}
.origen-site .board-close .message-box,
.origen-site .board-close .cta-box {
  margin-top: 0;
}
.origen-site[class*="page-"] .message-box h3,
.origen-site[class*="page-"] .closing-box h3,
.origen-site[class*="page-"] .cta-box h3,
.origen-site.page-home .cta-box h3,
.origen-site.page-home .message-box h3 {
  color: #fff;
  text-align: left;
  text-transform: none;
}
.origen-site[class*="page-"] .message-box p,
.origen-site[class*="page-"] .closing-box p,
.origen-site[class*="page-"] .cta-box p,
.origen-site.page-home .cta-box p,
.origen-site.page-home .message-box p,
.origen-site[class*="page-"] .message-box .impact {
  color: #d4d4d4;
  text-align: left;
  margin-left: 0;
  max-width: none;
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  font-weight: 400;
}
.origen-site.page-home .cta-box p {
  color: #ffd6d6;
}
.origen-site.page-home .message-box .impact {
  color: #fff;
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.origen-site[class*="page-"] .closing-box .impact,
.origen-site.page-concejal .closing-box .impact,
.origen-site.page-vision .closing-box .impact,
.origen-site.page-proyectos .closing-box .impact,
.origen-site.page-gestiones .closing-box .impact {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
}
.origen-site.page-home .civic-inline-btn,
.origen-site .civic-inline-btn {
  background: #fff;
  color: var(--da-red);
  border-radius: 999px;
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}
.origen-site[class*="page-"] .pillar-icon,
.origen-site[class*="page-"] .reason-icon,
.origen-site[class*="page-"] .project-icon,
.origen-site[class*="page-"] .info-card .icon {
  background: var(--da-red);
  color: #fff;
  border-radius: 50%;
  border: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(185, 0, 0, 0.28);
}
.origen-site[class*="page-"] .submit-btn,
.origen-site.page-home .submit-btn,
.origen-site.page-civic .submit-btn {
  background: var(--da-red);
  box-shadow: 0 10px 22px rgba(185, 0, 0, 0.28);
  border-radius: 999px;
  text-transform: none;
}
.origen-site[class*="page-"] input,
.origen-site[class*="page-"] textarea,
.origen-site[class*="page-"] select,
.origen-site[class*="page-"] .search-wrap input {
  border-radius: 14px;
  font-family: inherit;
  background: #fff;
}
.origen-site[class*="page-"] .search-wrap button {
  background: var(--da-red);
  box-shadow: 0 8px 16px rgba(185, 0, 0, 0.24);
  border-radius: 999px;
}

.origen-site .civic-map-lead {
  text-align: left;
  color: var(--da-muted);
  margin: 0 0 18px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
}
.origen-site .city-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  border-top: 0;
}
.origen-site .city-preview a {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 22px 20px;
  border: 0;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: #fffcfa;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.origen-site .city-preview a:last-child {
  border-right: 0;
}
.origen-site .city-preview a:hover {
  background: var(--da-espresso);
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}
.origen-site .city-preview a:hover .n,
.origen-site .city-preview a:hover strong,
.origen-site .city-preview a:hover span {
  color: #fff;
}
.origen-site .city-preview .n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--da-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 50%;
}
.origen-site .city-preview a:hover .n {
  background: #fff;
  color: var(--da-red);
}
.origen-site .city-preview strong {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--da-espresso);
}
.origen-site .city-preview span:not(.n) {
  color: var(--da-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin-top: auto;
}

.origen-site .city-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.origen-site .city-jump a {
  color: var(--da-espresso);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 0;
  background: #fffcfa;
  box-shadow: none;
  border-radius: 999px;
}
.origen-site .city-jump a:hover {
  color: #fff;
  background: var(--da-red);
  border: 0;
}
.origen-site .city-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-bottom: 40px;
}
.origen-site .city-story p {
  margin: 0 0 14px;
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.75;
}
.origen-site .city-facts {
  background: linear-gradient(165deg, #1c1c1c 0%, var(--da-espresso) 72%);
  color: #fff;
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: var(--da-shadow);
}
.origen-site .city-facts h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
}
.origen-site .city-facts dl {
  margin: 0;
}
.origen-site .city-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.origen-site .city-facts dt {
  color: #e8a0a0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.origen-site .city-facts dd {
  margin: 0;
  color: #d4d4d4;
}
.origen-site .city-block {
  margin: 8px 0 40px;
}
.origen-site .place-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: transparent;
  border: 0;
}
.origen-site .place-grid.dense {
  grid-template-columns: repeat(3, 1fr);
}
.origen-site .place-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fffcfa;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.origen-site .place-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}
.origen-site .place-card .photo-ph {
  height: 120px;
  display: grid;
  place-items: center;
  background: var(--da-cream);
  color: var(--da-muted);
  font-size: 12px;
  text-align: center;
}
.origen-site .place-card .place-body {
  padding: 18px;
}
.origen-site .place-card .place-meta {
  display: inline-block;
  margin-bottom: 8px;
  color: #fff;
  background: var(--da-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.origen-site .place-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--da-espresso);
}
.origen-site .place-card p {
  margin: 0;
  color: var(--da-muted);
  font-size: 14px;
  line-height: 1.6;
}
.origen-site .place-card .place-contact {
  margin: 0 0 6px;
  color: var(--da-ink);
  font-weight: 600;
  font-size: 13px;
}

.origen-site[class*="page-"] .site-footer,
.origen-site.page-home .site-footer {
  background: linear-gradient(180deg, #c40000 0%, var(--da-red) 46%, var(--da-red-deep) 100%);
  color: #fff;
  padding: 48px 28px 40px;
  margin: 8px 16px 0;
  border-top: 0;
  text-align: center;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -12px 32px rgba(138, 0, 0, 0.16);
}
.origen-site[class*="page-"] .site-footer-inner,
.origen-site.page-home .site-footer-inner {
  max-width: 560px;
  margin: 0 auto;
  display: block;
}
.origen-site .footer-logo {
  height: 112px;
  width: auto;
  max-width: min(300px, 78vw);
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}
.origen-site[class*="page-"] .site-footer h3 {
  display: none;
}
.origen-site[class*="page-"] .site-footer p,
.origen-site.page-home .site-footer p {
  margin: 0 auto;
  max-width: 400px;
  color: #ffd6d6;
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
}
.origen-site[class*="page-"] .site-footer small,
.origen-site.page-home .site-footer small {
  display: block;
  margin-top: 10px;
  color: #fff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}
.origen-site .footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
}
.origen-site .footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
}
.origen-site .footer-nav a:hover {
  background: #fff;
  color: var(--da-red);
  border-bottom-color: transparent;
}

.origen-site .whatsapp,
.origen-site.page-home .whatsapp,
.origen-site.page-concejal .whatsapp,
.origen-site.page-vision .whatsapp,
.origen-site.page-proyectos .whatsapp,
.origen-site.page-gestiones .whatsapp,
.origen-site.page-sumate .whatsapp,
.origen-site.page-padron .whatsapp,
.origen-site.page-civic .whatsapp {
  background: #1b8a44;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(27, 138, 68, 0.32);
}
.origen-site .whatsapp-inline,
.origen-site.page-sumate .whatsapp-inline {
  background: #1b8a44;
  box-shadow: 0 10px 20px rgba(27, 138, 68, 0.28);
}
.origen-site .civic-highlight-link {
  background: var(--da-red);
  color: #fff;
  border-radius: 999px;
}
.origen-site .result-title {
  background: var(--da-espresso);
  border-radius: var(--da-radius-sm);
}

.origen-site .welcome-banner {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  padding-top: var(--da-chrome);
  pointer-events: none;
}
.origen-site .welcome-banner[hidden],
.origen-site .welcome-banner.is-closed {
  display: none !important;
  pointer-events: none !important;
}
.origen-site .welcome-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--da-chrome);
  z-index: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
}
.origen-site .welcome-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(460px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: var(--da-paper);
  border-radius: 28px;
  box-shadow: var(--da-shadow-lg);
  padding: 48px 26px 26px;
  text-align: center;
  pointer-events: auto;
}
.origen-site .welcome-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--da-cream);
  color: var(--da-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}
.origen-site .welcome-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: 240px;
  margin: 4px auto 10px;
  object-fit: contain;
}
.origen-site .welcome-slogan {
  margin: 0 0 18px;
  color: var(--da-muted);
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 17px;
}
.origen-site .welcome-tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.origen-site .welcome-box {
  background: var(--da-red);
  color: #fff;
  border-radius: 18px;
  padding: 14px 10px 12px;
  box-shadow: 0 10px 20px rgba(185, 0, 0, 0.22);
}
.origen-site .welcome-box span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd4d4;
}
.origen-site .welcome-box strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
}
.origen-site .welcome-padron {
  background: var(--da-cream);
  border-radius: 20px;
  padding: 18px 16px 16px;
  text-align: left;
}
.origen-site .welcome-padron h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--da-espresso);
}
.origen-site .welcome-padron p {
  margin: 0 0 14px;
  color: var(--da-muted);
  font-size: 14px;
  line-height: 1.5;
}
.origen-site .welcome-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.origen-site .welcome-search input {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--da-line);
  font-size: 15px;
}
.origen-site .welcome-search button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--da-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.origen-site .welcome-search button:disabled {
  opacity: 0.75;
  cursor: wait;
}
.origen-site .welcome-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
.origen-site .welcome-msg-error {
  color: var(--da-red);
  background: #fff1f1;
}
.origen-site .welcome-result {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.origen-site .welcome-result > div,
.origen-site .welcome-result-row > div {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
}
.origen-site .welcome-result span {
  display: block;
  color: var(--da-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.origen-site .welcome-result b {
  display: block;
  margin-top: 2px;
  color: var(--da-espresso);
  font-size: 16px;
  font-weight: 600;
}
.origen-site .welcome-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 768px) {
  .origen-site .welcome-search {
    grid-template-columns: 1fr;
  }
  .origen-site .welcome-box strong {
    font-size: 34px;
  }
  .origen-site .welcome-logo {
    height: 72px;
  }
}

@media (min-width: 1100px) {
  .origen-site[class*="page-"] .topbar-inner,
  .origen-site.page-home .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .origen-site .brand-logo {
    height: 92px;
  }
}

@media (max-width: 980px) {
  .origen-site[class*="page-"] .topbar-inner,
  .origen-site.page-home .topbar-inner {
    flex-direction: column;
    align-items: center;
  }
  .origen-site .site-nav {
    justify-content: center;
  }
  .origen-site .home-hero-copy,
  .origen-site .board-close,
  .origen-site .city-story,
  .origen-site.page-home .profile-grid,
  .origen-site[class*="page-"] .profile-grid {
    grid-template-columns: 1fr;
  }
  .origen-site .profile-side {
    position: static;
  }
  .origen-site[class*="page-"] .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .origen-site .home-hero-media {
    min-height: 220px;
    height: min(40vh, 320px);
  }
  .origen-site .home-hero-copy {
    margin-top: 16px;
    padding: 20px 16px;
  }
  .origen-site .util-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .origen-site[class*="page-"] .hero {
    padding: 28px 16px 32px;
  }
  .origen-site.page-home .hero.home-hero {
    padding: 0;
  }
  .origen-site .home-stage {
    margin: 0;
  }
  .origen-site.page-home .hero.home-hero h1 {
    font-size: clamp(28px, 9vw, 40px);
  }
  .origen-site.page-home .main {
    margin: 0 auto;
  }
  .origen-site[class*="page-"] .main {
    margin-top: 16px;
    padding: 0 16px 56px;
  }
  .origen-site .home-boards {
    padding: 20px 12px 56px;
  }
  .origen-site .board {
    padding: 24px 18px;
  }
  .origen-site .brand-logo {
    height: 68px;
  }
  .origen-site .brand-rule {
    display: none;
  }
  .origen-site .footer-logo {
    height: 92px;
  }
  .origen-site[class*="page-"] .site-footer,
  .origen-site.page-home .site-footer {
    margin: 8px 10px 0;
    padding: 36px 18px 32px;
    border-radius: 28px 28px 0 0;
  }
  .origen-site .city-preview,
  .origen-site .place-grid,
  .origen-site .place-grid.dense,
  .origen-site .agenda-item,
  .origen-site[class*="page-"] .gallery-grid {
    grid-template-columns: 1fr;
  }
  .origen-site .agenda-date {
    min-height: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
  }
  .origen-site .agenda-date strong {
    font-size: 22px;
    margin: 0;
  }
}

html:has(.origen-site),
body:has(.origen-site),
.origen-site {
  overflow-x: clip;
  max-width: 100%;
}

.origen-site .home-hero,
.origen-site .home-stage,
.origen-site .home-hero-copy,
.origen-site .home-boards,
.origen-site .board,
.origen-site .profile-grid,
.origen-site .profile-main {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  :root {
    --da-chrome: 220px;
  }
  .origen-site .util-inner {
    padding: 8px 14px;
  }
  .origen-site[class*="page-"] .topbar-inner,
  .origen-site.page-home .topbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    padding: 10px 12px !important;
  }
  .origen-site .brand {
    justify-content: center;
  }
  .origen-site .brand-logo {
    height: 64px;
    max-width: min(200px, 42vw);
  }
  .origen-site .site-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    justify-content: stretch;
  }
  .origen-site .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 6px !important;
    font-size: 12px !important;
    text-align: center;
    line-height: 1.15;
    background: rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    border-radius: 999px !important;
    white-space: normal;
  }
  .origen-site .site-nav a.active {
    background: #fff;
    color: var(--da-red);
    border-bottom: 0;
  }
  .origen-site .site-footer-inner,
  .origen-site .footer-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .origen-site .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
  .origen-site .welcome-card {
    width: min(460px, calc(100vw - 24px));
    max-height: min(88dvh, 720px);
    padding: 48px 16px 18px;
  }
  .origen-site .welcome-close {
    width: 48px;
    height: 48px;
  }
  .origen-site .citizen-map,
  .origen-site .picker-map {
    height: 320px;
  }

  .origen-site.page-home .hero,
  .origen-site.page-home .hero.home-hero,
  .origen-site .home-hero {
    padding: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    text-align: left !important;
  }
  .origen-site.page-home .hero::after,
  .origen-site.page-home .hero.home-hero::after {
    display: none !important;
  }
  .origen-site .home-stage {
    margin: 0 !important;
  }
  .origen-site .home-hero-media {
    min-height: 0 !important;
    height: min(42vh, 340px) !important;
    border-radius: 0 0 28px 28px;
  }
  .origen-site .home-hero-media img {
    object-position: center 28%;
  }
  .origen-site .home-hero-band {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px 18px;
    border-radius: 20px;
  }
  .origen-site .home-hero-copy {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 16px auto 0 !important;
    padding: 20px 18px !important;
    gap: 16px !important;
    box-sizing: border-box;
    border-radius: 22px !important;
  }
  .origen-site.page-home .hero.home-hero h1,
  .origen-site .home-hero h1 {
    font-size: clamp(32px, 7vw, 46px) !important;
    line-height: 1.05 !important;
  }
  .origen-site .home-slogan {
    font-size: 18px !important;
  }
  .origen-site .home-hero-text > p:not(.home-slogan) {
    font-size: 15px;
    max-width: none !important;
  }
  .origen-site .home-cta-row {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .origen-site .home-cta {
    width: 100%;
  }
  .origen-site .home-boards {
    padding: 20px 12px 48px !important;
  }
  .origen-site .board {
    padding: 22px 16px !important;
  }
  .origen-site.page-home .profile-grid,
  .origen-site[class*="page-"] .profile-grid,
  .origen-site .profile-grid {
    grid-template-columns: 1fr !important;
  }
  .origen-site .profile-side {
    position: static !important;
  }
  .origen-site .profile-main h3 {
    font-size: clamp(22px, 5vw, 28px);
  }
  .origen-site .pillars-grid,
  .origen-site.page-home .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .origen-site .photo-carousel-viewport {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }
  .origen-site .agenda-item {
    grid-template-columns: 1fr !important;
  }
  .origen-site.page-home .main {
    margin: 0 auto !important;
    padding: 0 12px 40px !important;
  }
}

@media (max-width: 640px) {
  :root {
    --da-chrome: 280px;
  }
  .origen-site .util-inner {
    padding: 6px 10px;
    font-size: 10px;
  }
  .origen-site .brand-logo {
    height: 52px;
    max-width: min(168px, 58vw);
  }
  .origen-site .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .origen-site .site-nav a {
    font-size: 13px !important;
    min-height: 46px;
  }
  .origen-site .home-hero-media {
    height: min(32vh, 220px) !important;
    border-radius: 0 0 24px 24px;
  }
  .origen-site .home-hero-copy {
    margin: 12px auto 0 !important;
    width: calc(100% - 16px) !important;
    padding: 16px 14px !important;
    border-radius: 20px !important;
  }
  .origen-site.page-home .hero.home-hero h1,
  .origen-site .home-hero h1 {
    font-size: clamp(28px, 9vw, 36px) !important;
  }
  .origen-site .home-slogan {
    font-size: 16px !important;
  }
  .origen-site .home-cta-row {
    grid-template-columns: 1fr;
  }
  .origen-site .pillars-grid,
  .origen-site .reasons-grid,
  .origen-site .projects-grid,
  .origen-site .grid-cards,
  .origen-site .gestiones-grid,
  .origen-site.page-home .pillars-grid,
  .origen-site.page-home .gallery-grid,
  .origen-site[class*="page-"] .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .origen-site .welcome-search {
    grid-template-columns: 1fr;
  }
  .origen-site .welcome-search button,
  .origen-site .home-cta,
  .origen-site .submit-btn,
  .origen-site .profile-side-cta {
    min-height: 48px;
    width: 100%;
  }
  .origen-site .welcome-banner {
    padding: 12px;
    padding-top: var(--da-chrome);
    align-items: start;
  }
  .origen-site .welcome-card {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }
  .origen-site .whatsapp {
    right: 12px;
    bottom: 12px;
  }
}
