@font-face {
  font-family: "GobCL";
  src: url("../../Fuente Gobierno/gobCL/gobCL_Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "GobCL";
  src: url("../../Fuente Gobierno/gobCL/gobCL_Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --serviu-navy: #101b4d;
  --serviu-blue: #25306b;
  --serviu-blue-2: #005b94;
  --serviu-accent: #ff1d3d;
  --hero-banner-bg-top: #273379;
  --hero-banner-bg-bottom: #2a398d;
  --serviu-sky: #e8eef8;
  --serviu-text: #1d2a44;
  --serviu-muted: #5f6f8d;
  --serviu-border: #c8d3e5;
  --serviu-shadow: 0 8px 20px rgba(16, 27, 77, 0.08);
  --serviu-focus: #f05a28;
  --font-scale: 1;
  --page-bg: #f5f7fb;
  --surface: #ffffff;
  --social-brand-surface: #ffffff;
  --social-brand-surface-hover: #f7f9fe;
  --social-brand-border: #c8d3e5;
  --social-brand-border-hover: #96abd1;
  --social-brand-facebook: #1877f2;
  --social-brand-x: #111111;
}

body.theme-dark {
  --page-bg: #0e1739;
  --surface: #16214f;
  --serviu-text: #f4f7ff;
  --serviu-muted: #c1cae4;
  --serviu-border: #33447a;
  --serviu-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  --social-brand-surface: rgba(255, 255, 255, 0.08);
  --social-brand-surface-hover: rgba(255, 255, 255, 0.14);
  --social-brand-border: rgba(255, 255, 255, 0.3);
  --social-brand-border-hover: rgba(255, 255, 255, 0.5);
  --social-brand-x: #ffffff;
}

body.theme-dark .utility-link {
  color: #f4f7ff;
}

body.theme-dark .social-label,
body.theme-dark .contact-label,
body.theme-dark .search-label,
body.theme-dark .footer-social-label {
  color: #f4f7ff;
}

body.theme-dark .social-link,
body.theme-dark .utility-phone,
body.theme-dark .search-button,
body.theme-dark .accessibility-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

body.theme-dark .search-input {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .search-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

body.theme-dark .utility-link:hover,
body.theme-dark .utility-link:focus-visible,
body.theme-dark .social-link:hover,
body.theme-dark .social-link:focus-visible,
body.theme-dark .utility-phone:hover,
body.theme-dark .utility-phone:focus-visible,
body.theme-dark .search-button:hover,
body.theme-dark .search-button:focus-visible,
body.theme-dark .accessibility-button:hover,
body.theme-dark .accessibility-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

body.theme-dark .mobile-panel-nav,
body.theme-dark .mobile-contact-card {
  background: rgba(15, 24, 70, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .mobile-panel-link {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

body.theme-dark .mobile-contact-phones .utility-phone,
body.theme-dark .mobile-social-row .social-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .social-link--facebook {
  color: var(--social-brand-facebook);
}

body.theme-dark .social-link--x {
  color: var(--social-brand-x);
}

body.theme-dark .demo-card h1 {
  color: #ffffff;
}

body.theme-dark .housing-guide__hero {
  background: linear-gradient(180deg, rgba(20,33,88,0.96) 0%, rgba(20,33,88,0.9) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .housing-guide__hero h1,
body.theme-dark .housing-card h2 {
  color: #ffffff;
}

body.theme-dark .housing-guide__lead,
body.theme-dark .housing-card p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .housing-inline-banners img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

body.theme-dark .promo-legacy-panel,
body.theme-dark .promo-feature-card {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .promo-legacy__hero {
  background: linear-gradient(180deg, rgba(20,33,88,0.96) 0%, rgba(20,33,88,0.9) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .promo-legacy__hero h2,
body.theme-dark .promo-feature-card__body h3 {
  color: #ffffff;
}

body.theme-dark .promo-legacy__hero p,
body.theme-dark .promo-feature-card__body p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .promo-feature-card__link {
  background: rgba(49, 71, 166, 0.9);
  color: #ffffff;
}

body.theme-dark .housing-card {
  background: rgba(20, 33, 88, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .housing-guide__panel,
body.theme-dark .quick-sidebar-card {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .housing-tabs-panel,
body.theme-dark .housing-tabs__pane {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .content-panel,
body.theme-dark .content-card,
body.theme-dark .doc-item {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .content-hero {
  background: linear-gradient(180deg, rgba(20,33,88,0.96) 0%, rgba(20,33,88,0.9) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .content-hero h1,
body.theme-dark .content-card h2,
body.theme-dark .content-card h3 {
  color: #ffffff;
}

body.theme-dark .content-hero p,
body.theme-dark .content-card p,
body.theme-dark .content-card li,
body.theme-dark .doc-item p,
body.theme-dark .doc-item a {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .called-page__note {
  background: rgba(21, 34, 88, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .called-page__note p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .called-gallery {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .called-gallery__viewer,
body.theme-dark .called-gallery__thumb {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .called-gallery__caption {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .search-page-input,
body.theme-dark .search-page-button,
body.theme-dark .search-chip-button,
body.theme-dark .search-result-card {
  border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .search-page-input,
body.theme-dark .search-chip-button,
body.theme-dark .search-result-card {
  background: rgba(17, 28, 78, 0.94);
}

body.theme-dark .search-page-label,
body.theme-dark .search-result-title,
body.theme-dark .search-result-link {
  color: #ffffff;
}

body.theme-dark .search-page-status,
body.theme-dark .search-result-section,
body.theme-dark .search-result-summary,
body.theme-dark .search-result-url {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .search-page-input {
  color: #ffffff;
}

body.theme-dark .search-page-input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

body.theme-dark .search-page-button {
  background: #3147a6;
}

body.theme-dark .news-preview-panel,
body.theme-dark .news-card {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .news-preview__hero {
  background: linear-gradient(180deg, rgba(20,33,88,0.96) 0%, rgba(20,33,88,0.9) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .news-preview__hero h2,
body.theme-dark .news-card__title-link,
body.theme-dark .news-card__title-html,
body.theme-dark .news-card__title-html h1,
body.theme-dark .news-card__title-html h2,
body.theme-dark .news-card__title-html h3,
body.theme-dark .news-card__title-html p,
body.theme-dark .news-card__title-html div,
body.theme-dark .news-card__title-html span,
body.theme-dark .news-card__title-html strong,
body.theme-dark .news-card__title-html em,
body.theme-dark .news-card__title-html b,
body.theme-dark .news-card__title-html i,
body.theme-dark .news-card__title-html u,
body.theme-dark .news-card__link {
  color: #ffffff;
}

body.theme-dark .news-preview__hero p,
body.theme-dark .news-card__body p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .news-card__summary {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .news-card__meta,
body.theme-dark .news-detail-meta {
  color: #9dc2ff;
}

body.theme-dark .news-detail-heading-text {
  color: #ffffff;
}

body.theme-dark .news-detail-summary-render,
body.theme-dark .news-detail-body-render {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .news-detail-summary-render strong,
body.theme-dark .news-detail-body-render strong,
body.theme-dark .news-detail-body-render b {
  color: #ffffff;
}

body.theme-dark .news-detail-image-caption {
  color: rgba(255, 255, 255, 0.76);
}

body.theme-dark .news-detail-body-render h1,
body.theme-dark .news-detail-body-render h2,
body.theme-dark .news-detail-body-render h3,
body.theme-dark .news-detail-body-render h4 {
  color: #ffffff;
}

body.theme-dark .breadcrumb-item,
body.theme-dark .breadcrumb-current {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

body.theme-dark .breadcrumb-link {
  color: #9dc2ff;
}

body.theme-dark .quick-sidebar-card h2,
body.theme-dark .quick-sidebar-card p {
  color: #ffffff;
}

body.theme-dark .quick-sidebar-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .housing-tabs-panel__hero {
  background: linear-gradient(180deg, rgba(26,39,96,0.94) 0%, rgba(20,33,88,0.9) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .housing-tabs-panel__hero h2,
body.theme-dark .housing-tabs__pane h3 {
  color: #ffffff;
}

body.theme-dark .housing-tabs__tab {
  background: transparent;
  border-color: transparent;
  color: var(--tab-color, #ffffff);
}

body.theme-dark .housing-tabs__tab.is-active,
body.theme-dark .housing-tabs__tab[aria-selected="true"] {
  background: rgba(17, 28, 78, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  border-top-color: var(--tab-color, #ffffff);
  color: #ffffff;
}

body.theme-dark .housing-tabs__pane-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.theme-dark .housing-tabs__pane p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .housing-accordion__item,
body.theme-dark .housing-accordion__panel {
  background: rgba(17, 28, 78, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .housing-accordion__panel h3 {
  color: #ffffff;
}

body.theme-dark .housing-accordion__panel p {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .footer-nav-group a,
body.theme-dark .footer-brand-copy,
body.theme-dark .footer-note {
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-size: calc(16px * var(--font-scale));
}

body {
  margin: 0;
  font-family: "GobCL", "Trebuchet MS", Arial, sans-serif;
  color: var(--serviu-text);
  background: linear-gradient(180deg, #f7f9fd 0%, var(--page-bg) 100%);
}

a {
  color: inherit;
}

button,
input,
a {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--serviu-focus);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 27, 77, 0.18);
  transition: top 0.18s ease;
  z-index: 1200;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: none;
}

.breadcrumb-nav {
  margin: 0 0 1rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 1.8rem;
  color: var(--serviu-muted);
  font-size: 0.92rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: color-mix(in srgb, var(--serviu-muted) 75%, white);
}

.breadcrumb-link {
  color: var(--serviu-blue);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible {
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--serviu-muted);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(37, 48, 107, 0.12);
  box-shadow: var(--serviu-shadow);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 1rem;
}

.header-utility {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
}

.utility-top {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.utility-links,
.utility-right,
.social-cluster,
.contact-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.utility-links {
  gap: 0.8rem 1rem;
}

.utility-right {
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

.social-label,
.contact-label {
  color: var(--serviu-muted);
  font-size: 0.95rem;
}

.utility-link,
.social-link,
.utility-phone,
.accessibility-button,
.accessibility-icon-button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--serviu-border);
  background: var(--surface);
  color: var(--serviu-blue);
  text-decoration: none;
}

.utility-link {
  padding: 0 0.2rem;
  border: 0;
  min-height: auto;
  border-radius: 0.5rem;
  color: var(--serviu-navy);
}

.utility-link-contact {
  padding: 0.45rem 0.9rem;
  min-height: 2.45rem;
  border-radius: 999px;
  background: var(--serviu-accent);
  color: #fff;
  font-weight: 700;
}

.social-link,
.theme-toggle,
.accessibility-icon-button {
  width: 2.75rem;
  min-width: 2.75rem;
}

.social-link svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 1.7rem;
}

.social-link--facebook svg,
.social-link--youtube svg,
.social-link--instagram svg {
  width: 1.9rem;
  height: 1.9rem;
  flex-basis: 1.9rem;
}

.social-link--x svg {
  width: 1.58rem;
  height: 1.58rem;
  flex-basis: 1.58rem;
}

.social-link--facebook,
.social-link--x,
.social-link--youtube,
.social-link--instagram {
  background: var(--social-brand-surface);
  border-color: var(--social-brand-border);
}

.social-link--facebook {
  color: var(--social-brand-facebook);
}

.social-link--x {
  color: var(--social-brand-x);
}

.utility-phone,
.accessibility-button {
  padding: 0 0.9rem;
}

.utility-link:hover,
.utility-link:focus-visible,
.social-link:hover,
.social-link:focus-visible,
.utility-phone:hover,
.utility-phone:focus-visible,
.search-button:hover,
.search-button:focus-visible,
.accessibility-button:hover,
.accessibility-button:focus-visible,
.accessibility-icon-button:hover,
.accessibility-icon-button:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible,
.quick-link:hover,
.quick-link:focus-visible {
  border-color: var(--serviu-blue-2);
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.12);
  outline: none;
}

.social-link--facebook:hover,
.social-link--facebook:focus-visible,
.social-link--x:hover,
.social-link--x:focus-visible,
.social-link--youtube:hover,
.social-link--youtube:focus-visible,
.social-link--instagram:hover,
.social-link--instagram:focus-visible {
  background: var(--social-brand-surface-hover);
  border-color: var(--social-brand-border-hover);
}

.utility-link-contact:hover,
.utility-link-contact:focus-visible {
  border-color: var(--serviu-accent);
  box-shadow: 0 0 0 3px rgba(255, 29, 61, 0.2);
  outline: none;
}

.utility-row {
  display: grid;
  gap: 0.85rem;
}

.search-bar {
  display: grid;
  gap: 0.6rem;
}

.search-label {
  color: var(--serviu-muted);
  font-size: 0.95rem;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.search-input {
  min-height: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--serviu-border);
  background: var(--surface);
  color: var(--serviu-text);
  padding: 0 1rem;
}

.search-input::placeholder {
  color: #7f8daa;
}

.search-button {
  min-width: 3rem;
  min-height: 3rem;
  border: 1px solid var(--serviu-border);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--serviu-blue);
  cursor: pointer;
}

.accessibility-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  align-items: center;
}

.mobile-panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--serviu-blue);
  border-radius: 0.9rem;
  background: var(--serviu-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mobile-panel-toggle.secondary {
  background: var(--surface);
  color: var(--serviu-blue);
}

.mobile-panel-toggle.contact-highlight,
.mobile-panel-toggle.secondary.contact-highlight {
  background: var(--serviu-accent);
  border-color: var(--serviu-accent);
  color: #fff;
}

.mobile-panel-toggle.contact-highlight:hover,
.mobile-panel-toggle.contact-highlight:focus-visible,
.mobile-panel-toggle.secondary.contact-highlight:hover,
.mobile-panel-toggle.secondary.contact-highlight:focus-visible {
  border-color: var(--serviu-accent);
  box-shadow: 0 0 0 3px rgba(255, 29, 61, 0.2);
  outline: none;
}

.mobile-panel-toggle.is-active {
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.14);
}

.shortcut-mobile-bar {
  display: flex;
  gap: 0.65rem;
  padding: 0.7rem 0;
}

.menu-toggle {
  gap: 0.5rem;
}

.mobile-panel {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1rem;
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-panel-nav,
.mobile-contact-card {
  display: grid;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1rem;
  box-shadow: var(--serviu-shadow);
  padding: 0.9rem;
}

.mobile-panel-link {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--serviu-border);
  border-radius: 0.85rem;
  background: rgba(232, 238, 248, 0.7);
  color: var(--serviu-blue);
  font-weight: 700;
  text-decoration: none;
}

.mobile-contact-phones,
.mobile-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.listen-button {
  padding: 0 1rem;
}

.accessibility-icon-button {
  padding: 0;
  border-radius: 0;
  border: 2px solid var(--serviu-navy);
  background: #fff;
  color: var(--serviu-navy);
  box-shadow: none;
}

.accessibility-icon-button span {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.accessibility-icon-button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.results-banner-wrap {
  background: #fff;
}

.hero-banner-wrap {
  background: linear-gradient(180deg, var(--hero-banner-bg-top) 0%, var(--hero-banner-bg-bottom) 100%);
}

.hero-banner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0;
}

.hero-banner-image,
.results-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.header-shortcuts {
  background: var(--serviu-navy);
}

.shortcut-nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding: 0.7rem 0;
}

.quick-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.15rem;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quick-link::after {
  content: "/";
  margin-left: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
}

.quick-link:last-child::after {
  display: none;
}

.results-banner {
  padding: 0.45rem 0 0;
}

.results-banner-link {
  display: block;
}

.page-demo {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  flex: 1 0 auto;
}

.page-demo--wide {
  width: min(100%, 1360px);
}

.housing-layout {
  display: grid;
  gap: 1.2rem;
}

.housing-sidebar {
  display: block;
}

.quick-sidebar-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(240,245,255,0.92) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.4rem;
  padding: 1.15rem 1rem 1rem;
  box-shadow: var(--serviu-shadow);
}

.quick-sidebar__label {
  margin: 0 0 0.55rem;
  color: var(--serviu-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.quick-sidebar-card h2 {
  margin: 0 0 0.65rem;
  color: var(--serviu-blue);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.quick-sidebar-card p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.55;
}

.quick-sidebar-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
  justify-content: center;
  justify-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.quick-sidebar-link {
  display: inline-block;
  width: max-content;
  max-width: none;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.quick-sidebar-link img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  border-radius: 0;
}

.quick-sidebar-link:hover,
.quick-sidebar-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 91, 148, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.housing-guide {
  display: grid;
  gap: 1.2rem;
}

.housing-guide__panel {
  display: grid;
  gap: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.9) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.75rem;
  padding: 1.25rem;
  box-shadow: var(--serviu-shadow);
}

.housing-tabs-panel--alt {
  display: none;
}

.housing-guide__hero {
  position: relative;
  background: linear-gradient(135deg, rgba(37,48,107,0.04) 0%, rgba(44,61,158,0.11) 100%);
  border: 1px solid rgba(37, 48, 107, 0.08);
  border-radius: 1.35rem;
  padding: 1.35rem;
}

.housing-guide__eyebrow {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 1.15rem;
  padding: 0.12rem 0.25rem;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, rgba(255, 29, 61, 0.12) 0%, rgba(255, 29, 61, 0.08) 42%, rgba(255, 29, 61, 0.03) 100%);
}

.housing-guide__eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--serviu-accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.housing-guide__hero h1 {
  margin: 0.85rem 0 0.8rem;
  color: var(--serviu-blue);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.housing-guide__lead {
  margin: 0;
  max-width: 62rem;
  color: var(--serviu-muted);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: normal;
}

.housing-inline-banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.housing-inline-banners img {
  display: block;
  width: 308px;
  max-width: 100%;
  height: auto;
}

.housing-inline-banner-link {
  display: inline-block;
}

.housing-inline-banners-card {
  display: grid;
  justify-items: center;
  padding: 0.15rem 0 0.1rem;
}

.housing-banner-strip {
  display: grid;
  justify-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,248,255,0.93) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.35rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: var(--serviu-shadow);
}

.promo-legacy-panel {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,248,255,0.93) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.75rem;
  padding: 1.25rem;
  box-shadow: var(--serviu-shadow);
}

.promo-legacy__hero {
  display: grid;
  gap: 0.8rem;
}

.promo-legacy__hero {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(37,48,107,0.04) 0%, rgba(44,61,158,0.11) 100%);
  border: 1px solid rgba(37, 48, 107, 0.08);
}

.promo-legacy__hero h2 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.promo-legacy__hero p {
  margin: 0;
  max-width: 62rem;
  color: var(--serviu-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.promo-feature-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
}

.promo-feature-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.4rem;
  box-shadow: var(--serviu-shadow);
}

.promo-feature-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.promo-feature-card__media {
  display: block;
}

.promo-feature-card__body {
  display: grid;
  gap: 0.8rem;
}

.promo-feature-card__body h3 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.2rem;
  line-height: 1.22;
}

.promo-feature-card__body p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.promo-feature-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.promo-feature-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--serviu-blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 27, 77, 0.12);
}

.promo-feature-card__link:hover,
.promo-feature-card__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.14), 0 12px 24px rgba(16, 27, 77, 0.18);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-preview-panel {
  display: grid;
  gap: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,248,255,0.93) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.75rem;
  padding: 1.25rem;
  box-shadow: var(--serviu-shadow);
}

.news-preview__hero {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(37,48,107,0.04) 0%, rgba(44,61,158,0.11) 100%);
  border: 1px solid rgba(37, 48, 107, 0.08);
}

.news-preview__hero h2 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.news-preview__hero p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.news-preview-grid {
  display: grid;
  gap: 1rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.8rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.4rem;
  box-shadow: var(--serviu-shadow);
  padding: 1rem 1rem 1.05rem;
}

.news-card > * {
  min-width: 0;
}

.news-card__title-link {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.news-card__title-html {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.6rem 0.8rem 0;
  margin-bottom: 0.45rem;
  text-align: center;
  color: var(--serviu-blue);
  font-size: 1.05rem;
  line-height: 1.28;
  font-weight: 800;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty;
}

.news-card__title-html > :first-child {
  margin-top: 0;
}

.news-card__title-html > :last-child {
  margin-bottom: 0;
}

.news-card__title-html h1,
.news-card__title-html h2,
.news-card__title-html h3,
.news-card__title-html p,
.news-card__title-html div {
  margin: 0;
  color: var(--serviu-blue);
  line-height: 1.28;
  font-weight: 800;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__title-html > * {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.news-card__title-html * {
  background: transparent !important;
}

.news-card__title-html span,
.news-card__title-html strong,
.news-card__title-html em,
.news-card__title-html b,
.news-card__title-html i,
.news-card__title-html u {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__title-html a,
.news-card__title-html small,
.news-card__title-html br,
.news-card__title-html sup,
.news-card__title-html sub {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__title-html h1,
.news-card__title-html p,
.news-card__title-html div {
  font-size: 1.05rem;
}

.news-card__title-html h2 {
  font-size: 1rem;
}

.news-card__title-html h3 {
  font-size: 0.95rem;
}

.news-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  padding: 0.15rem 0;
  background: transparent;
  border-radius: 1rem;
}

.news-card__image-link img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  max-height: 220px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  margin: 0 auto;
  border-radius: 1rem;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.75rem;
}

.news-card__title-link:hover,
.news-card__title-link:focus-visible,
.news-card__link:hover,
.news-card__link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.news-card__body p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.news-card__meta {
  margin: 0;
  color: var(--serviu-blue-2);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.news-card__summary {
  display: grid;
  gap: 0.65rem;
  color: var(--serviu-muted);
  line-height: 1.7;
  padding: 0 0.35rem;
  font-size: 1rem;
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.news-card__summary > :first-child {
  margin-top: 0;
}

.news-card__summary > :last-child {
  margin-bottom: 0;
}

.news-card__summary p,
.news-card__summary ul,
.news-card__summary ol,
.news-card__summary div {
  margin: 0 0 0.8rem;
  color: inherit;
  line-height: inherit;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__summary > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.news-card__summary p,
.news-card__summary li,
.news-card__summary blockquote {
  font-size: 0.98rem;
}

.news-card__summary ul,
.news-card__summary ol {
  padding-left: 1.25rem;
}

.news-card__summary * {
  background: transparent !important;
}

.news-card__summary span,
.news-card__summary strong,
.news-card__summary em,
.news-card__summary b,
.news-card__summary i,
.news-card__summary u {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__summary a,
.news-card__summary small,
.news-card__summary br,
.news-card__summary sup,
.news-card__summary sub {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-card__summary a {
  color: var(--serviu-blue);
}

.news-card__link {
  color: var(--serviu-blue);
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.housing-guide__grid {
  display: grid;
  gap: 1rem;
}

.housing-card {
  position: relative;
  display: grid;
  gap: 0.95rem;
  min-height: 100%;
  padding: 1.3rem 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.4rem;
  box-shadow: var(--serviu-shadow);
  overflow: hidden;
}

.housing-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: var(--card-accent, var(--serviu-blue));
}

.housing-card--buy { --card-accent: #ff1d3d; }
.housing-card--build { --card-accent: #f05a28; }
.housing-card--rent { --card-accent: #7e3ff2; }
.housing-card--improve-home { --card-accent: #00a37a; }
.housing-card--improve-neighborhood { --card-accent: #005b94; }

.housing-card--buy-link { --card-accent: #ff1d3d; background: #ff1d3d; color: #fff; }
.housing-card--build-link { --card-accent: #f05a28; background: #f05a28; color: #fff; }
.housing-card--rent-link { --card-accent: #7e3ff2; background: #7e3ff2; color: #fff; }
.housing-card--improve-home-link { --card-accent: #00a37a; background: #00a37a; color: #fff; }
.housing-card--improve-neighborhood-link { --card-accent: #005b94; background: #005b94; color: #fff; }

.housing-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.95rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--serviu-blue)) 14%, white);
  color: var(--card-accent, var(--serviu-blue));
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.housing-card h2 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.45rem;
  line-height: 1.15;
}

.housing-card p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.65;
}

.housing-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.7rem;
  padding: 0 1rem;
  border-radius: 0.95rem;
  background: var(--card-accent, var(--serviu-blue));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(16, 27, 77, 0.12);
}

.housing-card__link:hover,
.housing-card__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.16), 0 12px 24px rgba(16, 27, 77, 0.18);
}

.housing-tabs-panel {
  display: grid;
  gap: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.9) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.75rem;
  padding: 1.25rem;
  box-shadow: var(--serviu-shadow);
}

.housing-tabs-panel__hero {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(37,48,107,0.04) 0%, rgba(44,61,158,0.11) 100%);
  border: 1px solid rgba(37, 48, 107, 0.08);
}

.housing-tabs-panel__hero h2 {
  margin: 0.85rem 0 0.8rem;
  color: var(--serviu-blue);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.housing-tabs {
  display: none;
  gap: 1rem;
}

.housing-tabs__list {
  display: grid;
  gap: 0.35rem;
  align-items: end;
  border-bottom: 1px solid var(--serviu-border);
  padding: 0 0.35rem;
}

.housing-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.15rem 1.05rem 0;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 0.85rem 0.85rem 0 0;
  background: transparent;
  color: var(--tab-color, var(--serviu-blue));
  font-weight: 700;
  cursor: pointer;
  opacity: 0.92;
  position: relative;
  margin-bottom: -1px;
}

.housing-tabs__tab.is-active,
.housing-tabs__tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--tab-color, var(--serviu-blue));
  border-color: var(--serviu-border);
  border-top: 4px solid var(--tab-color, var(--serviu-blue));
  opacity: 1;
  transform: none;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.9), 0 10px 18px rgba(23, 35, 89, 0.08);
}

.housing-tabs__tab:hover,
.housing-tabs__tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.14);
}

.housing-tabs__content {
  display: block;
}

.housing-tabs__pane {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.35rem;
  box-shadow: var(--serviu-shadow);
  overflow: hidden;
}

.housing-tabs__pane[hidden] {
  display: none !important;
}

.housing-tabs__pane-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.95rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(37, 48, 107, 0.1);
  color: var(--serviu-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.housing-tabs__pane h3 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.5rem;
  line-height: 1.15;
}

.housing-tabs__pane p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.housing-tabs__link {
  margin-top: 0.15rem;
}

.housing-tabs__pane::before,
.housing-accordion__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
}

#panel-comprar::before,
#accordion-comprar::before {
  background: #ff2d55;
}

#panel-construir::before,
#accordion-construir::before {
  background: #ff6b2c;
}

#panel-arrendar::before,
#accordion-arrendar::before {
  background: #7a46f2;
}

#panel-mejorar-vivienda::before,
#accordion-mejorar-vivienda::before {
  background: #06a77d;
}

#panel-mejorar-barrio::before,
#accordion-mejorar-barrio::before {
  background: #005b94;
}

#panel-comprar .housing-tabs__pane-tag,
#accordion-comprar .housing-tabs__pane-tag {
  background: rgba(255, 45, 85, 0.12);
  color: #ff2d55;
}

#panel-construir .housing-tabs__pane-tag,
#accordion-construir .housing-tabs__pane-tag {
  background: rgba(255, 107, 44, 0.12);
  color: #ff6b2c;
}

#panel-arrendar .housing-tabs__pane-tag,
#accordion-arrendar .housing-tabs__pane-tag {
  background: rgba(122, 70, 242, 0.12);
  color: #7a46f2;
}

#panel-mejorar-vivienda .housing-tabs__pane-tag,
#accordion-mejorar-vivienda .housing-tabs__pane-tag {
  background: rgba(6, 167, 125, 0.12);
  color: #06a77d;
}

#panel-mejorar-barrio .housing-tabs__pane-tag,
#accordion-mejorar-barrio .housing-tabs__pane-tag {
  background: rgba(0, 91, 148, 0.12);
  color: #005b94;
}

.housing-tabs__tab--buy {
  --tab-color: #ff2d55;
}

.housing-tabs__tab--build {
  --tab-color: #ff6b2c;
}

.housing-tabs__tab--rent {
  --tab-color: #7a46f2;
}

.housing-tabs__tab--improve-home {
  --tab-color: #06a77d;
}

.housing-tabs__tab--improve-neighborhood {
  --tab-color: #005b94;
}

.housing-accordion {
  display: grid;
  gap: 0.8rem;
}

.housing-accordion__item {
  display: grid;
  gap: 0;
  border: 1px solid var(--serviu-border);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--serviu-shadow);
}

.housing-accordion__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  border: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.housing-accordion__trigger::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.housing-accordion__trigger[aria-expanded="true"]::after {
  content: "−";
}

.housing-accordion__trigger--buy {
  background: #ff2d55;
}

.housing-accordion__trigger--build {
  background: #ff6b2c;
}

.housing-accordion__trigger--rent {
  background: #7a46f2;
}

.housing-accordion__trigger--improve-home {
  background: #06a77d;
}

.housing-accordion__trigger--improve-neighborhood {
  background: #005b94;
}

.housing-accordion__panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--surface);
  overflow: hidden;
}

.housing-accordion__panel[hidden] {
  display: none !important;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--serviu-shadow);
}

.demo-card h1 {
  margin-top: 0;
  color: var(--serviu-blue);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.demo-card p {
  margin-bottom: 0;
  color: var(--serviu-muted);
  line-height: 1.6;
}

.content-page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  flex: 1 0 auto;
}

.content-panel {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,248,255,0.93) 100%);
  border: 1px solid var(--serviu-border);
  border-radius: 1.75rem;
  padding: 1.35rem;
  box-shadow: var(--serviu-shadow);
}

.content-hero {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(37,48,107,0.04) 0%, rgba(44,61,158,0.11) 100%);
  border: 1px solid rgba(37, 48, 107, 0.08);
}

.content-hero h1 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.content-hero p {
  margin: 0;
  max-width: 62rem;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  gap: 1rem;
}

.content-card {
  display: grid;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--serviu-shadow);
}

.content-card h2,
.content-card h3 {
  margin: 0;
  color: var(--serviu-blue);
  line-height: 1.2;
}

.news-detail-image {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: min(62vh, 520px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: var(--serviu-shadow);
}

.news-detail-media {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.news-detail-image-wrap {
  display: flex;
  justify-content: center;
}

.news-detail-image-caption {
  margin: 0;
  text-align: center;
  color: #5e7098;
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.5;
}

.news-detail-heading-text {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--serviu-blue);
  font-size: clamp(1.95rem, 2.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.news-detail-summary-render {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--serviu-muted);
  font-size: 1.04rem;
  line-height: 1.75;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.news-detail-summary-render > :first-child,
.news-detail-body-render > :first-child {
  margin-top: 0;
}

.news-detail-summary-render > :last-child,
.news-detail-body-render > :last-child {
  margin-bottom: 0;
}

.news-detail-summary-render p {
  margin: 0;
  color: inherit;
  line-height: inherit;
}

.news-detail-summary-render strong,
.news-detail-body-render strong,
.news-detail-body-render b {
  font-weight: 700;
  color: var(--serviu-blue);
}

.news-detail-body-render {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: var(--serviu-muted);
  line-height: 1.85;
  font-size: 1.08rem;
  text-align: left;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.news-detail-body-render p,
.news-detail-body-render ul,
.news-detail-body-render ol,
.news-detail-body-render blockquote,
.news-detail-body-render div,
.news-detail-body-render h1,
.news-detail-body-render h2,
.news-detail-body-render h3,
.news-detail-body-render h4 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 1.35rem;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-detail-body-render > *,
.news-detail-body-render p > *,
.news-detail-body-render div > *,
.news-detail-body-render li > *,
.news-detail-body-render blockquote > * {
  min-width: 0 !important;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-detail-body-render span,
.news-detail-body-render a,
.news-detail-body-render strong,
.news-detail-body-render b,
.news-detail-body-render em,
.news-detail-body-render i,
.news-detail-body-render u,
.news-detail-body-render sup,
.news-detail-body-render sub {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.news-detail-body-render p,
.news-detail-body-render div,
.news-detail-body-render blockquote,
.news-detail-body-render li {
  text-wrap: pretty;
}

.news-detail-body-render ul,
.news-detail-body-render ol {
  padding-left: 1.5rem;
}

.news-detail-body-render li {
  margin-bottom: 0.45rem;
}

.news-detail-body-render blockquote {
  border-left: 4px solid #c9d7ef;
  padding-left: 1rem;
  color: #5670a0;
  font-style: italic;
}

.news-detail-body-render h1,
.news-detail-body-render h2,
.news-detail-body-render h3,
.news-detail-body-render h4 {
  color: #243f84;
}

.news-detail-body-render h1 {
  font-size: clamp(1.8rem, 2.1vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.news-detail-body-render h2 {
  font-size: clamp(1.45rem, 1.8vw, 1.95rem);
  line-height: 1.24;
  margin: 1.2rem 0 0.9rem;
}

.news-detail-body-render h3 {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  line-height: 1.28;
  margin: 1rem 0 0.8rem;
}

.news-detail-body-render h4 {
  font-size: 1.08rem;
  color: var(--serviu-blue);
  line-height: 1.2;
  margin: 0.7rem 0 0.5rem;
}

.news-detail-body-render a {
  color: var(--serviu-blue-2);
  font-weight: 700;
}

.news-detail-body-render img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto !important;
  margin: 1rem auto;
  border-radius: 1rem;
}

.news-detail-meta {
  margin: 0;
  color: var(--serviu-blue-2);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
}

.content-card p,
.content-card li {
  color: var(--serviu-muted);
  line-height: 1.7;
}

.content-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.content-grid--two {
  grid-template-columns: 1fr;
}

.value-grid {
  display: grid;
  gap: 1rem;
}

.value-card {
  display: grid;
  gap: 0.7rem;
}

.value-card h3 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.2rem;
  line-height: 1.2;
}

.value-card p {
  margin: 0;
}

.office-callout {
  display: grid;
  gap: 0.6rem;
  padding: 1.15rem 1.2rem;
  background: color-mix(in srgb, var(--serviu-blue) 8%, white);
  border: 1px solid color-mix(in srgb, var(--serviu-blue) 16%, white);
  border-radius: 1.15rem;
  color: var(--serviu-blue);
  font-weight: 700;
}

.office-grid {
  display: grid;
  gap: 1rem;
}

.office-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.2rem;
  box-shadow: var(--serviu-shadow);
}

.office-card h2 {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.2rem;
  line-height: 1.2;
}

.office-card dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.office-card dt {
  color: var(--serviu-blue);
  font-weight: 700;
}

.office-card dd {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.6;
}

.doc-list {
  display: grid;
  gap: 0.85rem;
}

.doc-item {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--serviu-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.doc-item a {
  color: var(--serviu-blue);
  font-weight: 700;
  text-decoration: none;
}

.doc-item a:hover,
.doc-item a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.doc-item p {
  margin: 0;
}

.called-page__status {
  align-items: start;
}

.called-page__status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.7rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #ff1d3d;
  color: #ffffff;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(255, 29, 61, 0.2);
}

.called-page__doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.called-page__projects,
.called-page__criteria,
.called-page__gallery,
.called-page__documents {
  display: grid;
  gap: 1rem;
}

.called-page__gallery-intro {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.called-page__project-card img,
.called-page__gallery-item img {
  width: 100%;
  height: auto;
}

.called-page--los-manzanos .content-panel,
.called-page--los-manzanos .content-hero,
.called-page--los-manzanos .content-card,
.called-page--los-manzanos .called-page__status,
.called-page--los-manzanos .called-page__projects,
.called-page--los-manzanos .called-page__criteria,
.called-page--los-manzanos .called-page__gallery,
.called-page--los-manzanos .called-page__documents,
.called-page--los-manzanos .called-gallery,
.called-page--los-manzanos .called-gallery__viewer,
.called-page--los-manzanos .called-page__note {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.called-page--los-manzanos .content-hero h1,
.called-page--los-manzanos .content-hero p,
.called-page--los-manzanos .content-card h2,
.called-page--los-manzanos .content-card h3,
.called-page--los-manzanos .content-card p,
.called-page--los-manzanos .content-card li,
.called-page--los-manzanos .called-page__status span,
.called-page--los-manzanos .called-page__gallery-intro,
.called-page--los-manzanos .called-gallery__caption,
.called-page--los-manzanos .called-page__note p {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.called-page--los-manzanos .called-gallery__thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.called-page__note {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--serviu-blue) 6%, white);
  border: 1px solid color-mix(in srgb, var(--serviu-blue) 14%, white);
}

.called-page__note p {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.called-gallery {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--serviu-border);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--serviu-shadow);
}

.called-gallery__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.called-gallery__nav {
  width: 3rem;
  height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--serviu-blue);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16, 27, 77, 0.12);
}

.called-gallery__nav:hover,
.called-gallery__nav:focus-visible,
.called-gallery__viewer:hover,
.called-gallery__viewer:focus-visible,
.called-gallery__thumb:hover,
.called-gallery__thumb:focus-visible,
.called-gallery__dialog-close:hover,
.called-gallery__dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.14), 0 12px 24px rgba(16, 27, 77, 0.18);
}

.called-gallery__viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--serviu-border);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,248,255,0.96) 100%);
  cursor: zoom-in;
}

.called-gallery__main-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  border-radius: 0.75rem;
}

.called-gallery__caption {
  margin: 0;
  text-align: center;
  color: #5e7098;
  font-size: 0.97rem;
  line-height: 1.6;
}

.called-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.called-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: 1px solid var(--serviu-border);
  border-radius: 0.95rem;
  background: var(--surface);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.called-gallery__thumb.is-active {
  border-color: rgba(0, 91, 148, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.12);
  transform: translateY(-1px);
}

.called-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
}

.called-gallery__dialog {
  width: min(96vw, 1280px);
  max-width: 1280px;
  padding: 0;
  border: 0;
  border-radius: 1.2rem;
  background: transparent;
}

.called-gallery__dialog::backdrop {
  background: rgba(8, 17, 54, 0.76);
}

.called-gallery__dialog-shell {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(10, 18, 54, 0.98);
}

.called-gallery__dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

.called-gallery__dialog-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(84vh, 1080px);
  object-fit: contain;
  border-radius: 0.9rem;
}

.called-gallery__dialog-caption {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.search-page-card {
  gap: 1rem;
}

.search-page-form {
  display: grid;
  gap: 0.75rem;
}

.search-page-label {
  color: var(--serviu-blue);
  font-weight: 700;
}

.search-page-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.search-page-input {
  min-height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid var(--serviu-border);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--serviu-text);
  box-sizing: border-box;
}

.search-page-input::placeholder {
  color: #7f8daa;
}

.search-page-button {
  min-width: 8.5rem;
  min-height: 3.2rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: var(--serviu-blue);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(16, 27, 77, 0.12);
}

.search-page-button:hover,
.search-page-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.14), 0 12px 24px rgba(16, 27, 77, 0.18);
}

.search-page-status {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.6;
}

.search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.search-chip-button {
  min-height: 2.4rem;
  padding: 0 0.9rem;
  border: 1px solid var(--serviu-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--serviu-blue) 7%, white);
  color: var(--serviu-blue);
  font-weight: 700;
  cursor: pointer;
}

.search-chip-button:hover,
.search-chip-button:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--serviu-blue) 38%, white);
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.12);
}

.search-results {
  display: grid;
  gap: 1rem;
}

.search-result-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--serviu-border);
  border-radius: 1.2rem;
  box-shadow: var(--serviu-shadow);
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
}

.search-result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--serviu-accent) 10%, white);
  color: var(--serviu-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.search-result-section {
  color: var(--serviu-muted);
  font-size: 0.92rem;
}

.search-result-title {
  margin: 0;
  color: var(--serviu-blue);
  font-size: 1.28rem;
  line-height: 1.25;
}

.search-result-link {
  color: inherit;
  text-decoration: none;
}

.search-result-link:hover,
.search-result-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.search-result-summary,
.search-result-url {
  margin: 0;
  color: var(--serviu-muted);
  line-height: 1.7;
}

.search-result-url {
  font-size: 0.92rem;
  word-break: break-all;
}

.search-empty-card {
  min-height: 0;
}

@media (max-width: 640px) {
  .search-page-form__row {
    grid-template-columns: 1fr;
  }

  .search-page-button {
    width: 100%;
  }
}

.site-footer {
  position: relative;
  margin-top: auto;
  color: #fff;
  background:
    linear-gradient(180deg, #25306b 0%, #2c3d9e 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background-image: url("../../imagenes/footer/FondoFooterV2.png");
  background-repeat: repeat;
  background-size: 560px auto;
  background-position: center top;
}

.footer-wrap {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 2rem 1rem 1.6rem;
  display: grid;
  gap: 1.5rem;
}

.footer-top-row {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand-block,
.footer-nav-group {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.footer-brand-title,
.footer-nav-title {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}

.footer-brand-copy,
.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer-nav-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-nav-group a {
  width: fit-content;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-nav-group a:hover,
.footer-nav-group a:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.88);
  outline: none;
}

.footer-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
  justify-content: center;
  gap: 0.9rem;
}

.footer-action-link {
  display: inline-block;
  width: max-content;
  max-width: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.footer-action-link img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  border-radius: 0;
}

.footer-bottom-row {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding-top: 0.3rem;
  text-align: center;
}

.footer-social-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
}

.footer-social-label {
  color: rgba(255, 255, 255, 0.92);
}

.footer-social-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .utility-top {
    display: flex;
  }

  .header-utility {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .utility-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem 1.25rem;
    align-items: end;
  }

  .shortcut-mobile-bar {
    justify-content: flex-end;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .results-banner {
    padding-top: 0.55rem;
    padding-bottom: 0.15rem;
  }

  .housing-guide__hero {
    padding: 1.6rem 1.7rem;
  }

  .housing-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .housing-inline-banners {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .promo-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .housing-tabs-panel__hero {
    padding: 1.5rem 1.6rem;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .content-grid--two,
  .value-grid,
  .office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top-row {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    text-align: left;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block,
  .footer-nav-group {
    justify-items: start;
  }

  .footer-actions {
    grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
  }
}

@media (max-width: 767px) {
  .promo-legacy-panel {
    padding: 1rem;
  }

  .promo-feature-card {
    padding: 0.9rem;
  }

  .called-gallery {
    padding: 1rem;
  }

  .called-gallery__stage {
    grid-template-columns: 2.55rem minmax(0, 1fr) 2.55rem;
    gap: 0.55rem;
  }

  .called-gallery__nav {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 1.3rem;
  }

  .called-gallery__viewer {
    padding: 0.55rem;
  }

  .called-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 992px) {
  .shortcut-mobile-bar,
  .mobile-panel {
    display: none !important;
  }

  .shortcut-nav {
    display: flex;
  }

  .header-wrap {
    padding: 0 1.5rem;
  }

  .header-utility {
    padding-top: 1.15rem;
  }

  .quick-link {
    padding-inline: 0.2rem;
  }

  .hero-banner {
    width: 100%;
    max-width: 1180px;
  }

  .results-banner {
    padding-top: 0.45rem;
    padding-bottom: 0.2rem;
  }

  .housing-guide {
    gap: 1.35rem;
  }

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

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

  .housing-guide__panel {
    gap: 1.35rem;
    padding: 1.45rem;
  }

  .housing-tabs-panel {
    gap: 1.35rem;
    padding: 1.45rem;
  }

  .page-demo--wide {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .housing-guide__hero {
    padding: 1.8rem 1.95rem;
  }

  .housing-guide__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  .housing-tabs-panel__hero {
    padding: 1.8rem 1.95rem;
  }

  .housing-tabs {
    display: grid;
  }

  .housing-accordion {
    display: none;
  }

  .housing-guide__panel--cards {
    display: grid;
  }

  .housing-tabs-panel--alt {
    display: none;
  }

  .housing-tabs__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .housing-tabs__tab {
    justify-content: center;
    text-align: center;
  }

  .footer-wrap {
    padding: 2.2rem 1.5rem 1.8rem;
    gap: 1.7rem;
  }

  .footer-top-row {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  }

  .footer-bottom-row {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    text-align: left;
  }

  .footer-social-cluster {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .mobile-social-row,
  .footer-social-cluster {
    gap: 0.55rem;
  }

  .housing-guide__panel--cards {
    display: none;
  }

  .housing-tabs-panel--alt {
    display: grid;
  }
}
