:root {
  --v7-navy: #081f59;
  --v7-navy-2: #0f2a6d;
  --v7-violet: #4c46a2;
  --v7-violet-2: #6d6acc;
  --v7-ink: #23345f;
  --v7-muted: #6a7796;
  --v7-surface: #f4f6fb;
  --v7-line: #d9e0ef;
  --v7-card: #ffffff;
  --v7-shadow: 0 18px 44px rgba(17, 30, 71, .12);
  --v7-radius: 22px;
}

body.page-home-mockup-v7 {
  background: linear-gradient(180deg, #f7f9fd 0%, #eef2f8 100%);
}

/* header */
.site-header-v7 {
  position: sticky !important;
  top: 0;
  z-index: 60;
  background: rgba(8, 25, 78, .92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(7, 14, 35, .18);
}
.site-header-v7 .header-inner {
  min-height: 78px;
}
.brand-v7 {
  gap: .8rem;
  color: #fff;
}
.brand-v7 .brand-mark {
  color: #fff;
  font-size: 2.7rem;
}
.brand-v7 .brand-mark span {
  color: #95a7ff;
}
.brand-v7 .brand-copy {
  color: #fff;
}
.brand-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.22);
}
.brand-product {
  display: grid;
  gap: .05rem;
}
.brand-product strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .02em;
}
.brand-product small {
  color: rgba(255,255,255,.7);
  font-size: .67rem;
  line-height: 1.15;
}
.site-header-v7 .nav-toggle {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.site-header-v7 .nav-toggle span:not(.sr-only) {
  background: #fff;
}
.primary-nav-v7 {
  inset: 76px 16px auto 16px;
  background: rgba(11, 29, 85, .98);
  border-color: rgba(255,255,255,.12);
}
.primary-nav-v7 a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}
.primary-nav-v7 a:not(.nav-search):not(.is-active):hover,
.primary-nav-v7 a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.primary-nav-v7 .nav-search {
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 1rem;
}

/* hero */
.portal-home {
  overflow: clip;
}
.portal-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0c1d58;
}
.portal-hero-media,
.portal-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portal-hero-media img {
  object-fit: cover;
  object-position: center;
}
.portal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,18,59,.74) 0%, rgba(9,25,75,.48) 42%, rgba(16,38,97,.12) 100%);
}
.portal-hero-pattern { display: none; }
.portal-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 5.6rem;
}
.portal-hero-copy {
  max-width: 520px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .32);
}
.portal-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.portal-hero-copy .hero-lead {
  max-width: 470px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.92);
  font-size: 1.04rem;
}
.portal-hero-actions {
  margin-top: 1.2rem;
}
.portal-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  margin-top: 1.7rem;
  padding: .5rem;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--v7-shadow);
}
.portal-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .95rem 1rem;
  color: var(--v7-ink);
  outline: 0;
}
.portal-search button {
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #152b74, #2b2d8a);
  font-weight: 800;
}
.portal-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  box-shadow: var(--v7-shadow);
}
.portal-shortcuts a {
  display: grid;
  justify-items: center;
  gap: .2rem;
  min-height: 112px;
  padding: 1rem .75rem;
  color: #fff;
  text-align: center;
  background: rgba(255,255,255,.96);
}
.portal-shortcuts a strong {
  color: var(--v7-ink);
  font-size: .87rem;
  line-height: 1.15;
}
.portal-shortcuts a small {
  color: var(--v7-muted);
  font-size: .72rem;
  line-height: 1.28;
}
.shortcut-icon {
  color: var(--v7-violet);
  font-size: 1.2rem;
  font-weight: 900;
}
.portal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
}
.portal-stats span {
  display: grid;
  justify-items: center;
  gap: .15rem;
  padding: .85rem .55rem;
  background: rgba(9,25,79,.72);
  text-align: center;
}
.portal-stats strong {
  color: #fff;
  font-size: 1rem;
}
.portal-stats small {
  color: rgba(255,255,255,.78);
  font-size: .72rem;
}

/* page surface */
.portal-surface {
  position: relative;
  margin-top: -2.6rem;
  padding-bottom: 1rem;
}
.portal-main-grid {
  display: grid;
  gap: 1rem;
}
.portal-grid-row {
  display: grid;
  gap: 1rem;
}
.portal-card {
  padding: 1rem;
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
  background: var(--v7-card);
  box-shadow: 0 10px 30px rgba(25, 38, 78, .05);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: .9rem;
}
.card-heading h2 {
  margin: 0;
  color: var(--v7-ink);
  font-size: 1.18rem;
  line-height: 1.15;
}
.card-heading a,
.card-summary,
.portal-card > p,
.featured-tenencia-copy p,
.featured-event-copy p,
.job-item small,
.investment-stats small,
.program-card small,
.directory-item-card small,
.tenencia-mini-card small {
  color: var(--v7-muted);
}
.card-heading a,
.featured-tenencia-links a,
.showcase-footer-link,
.portal-card .button + a,
.portal-card .text-link {
  font-weight: 800;
  color: var(--v7-violet);
}
.card-summary {
  margin: .2rem 0 0;
  font-size: .9rem;
}

/* top row */
.tenencias-explorer-layout {
  display: grid;
  gap: 1rem;
}
.tenencias-map-wrap {
  margin: 0;
  border-radius: 18px;
  background: #f6f7fc;
  overflow: hidden;
}
.tenencias-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.tenencia-mini-card {
  display: grid;
  gap: .35rem;
}
.tenencia-mini-card img {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid var(--v7-line);
}
.tenencia-mini-card strong {
  color: var(--v7-ink);
  font-size: .9rem;
}
.tenencia-mini-card small {
  font-size: .74rem;
  line-height: 1.3;
}

.featured-tenencia-body {
  display: grid;
  gap: 1rem;
}
.featured-tenencia-copy p {
  margin: .85rem 0 1rem;
  font-size: .96rem;
}
.featured-tenencia-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: 1rem 0 1.1rem;
}
.featured-tenencia-metrics span {
  display: grid;
  gap: .1rem;
}
.featured-tenencia-metrics strong {
  color: var(--v7-violet);
  font-size: 1.3rem;
}
.featured-tenencia-metrics small {
  color: var(--v7-muted);
  font-size: .73rem;
}
.featured-tenencia-media {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  gap: .65rem;
}
.featured-tenencia-media img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}
.featured-main {
  grid-row: span 2;
  min-height: 250px;
}
.featured-side,
.featured-bottom {
  min-height: 120px;
}

/* middle row */
.directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.directory-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .8rem;
  border: 1px solid var(--v7-line);
  border-radius: 999px;
  color: var(--v7-violet);
  background: #f6f3ff;
  font-size: .76rem;
  font-weight: 800;
}
.directory-filters .is-active {
  color: #fff;
  background: var(--v7-violet);
  border-color: var(--v7-violet);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.directory-item-card {
  display: grid;
  gap: .45rem;
  padding: .65rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: #fff;
}
.directory-item-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 12px;
}
.directory-item-card strong {
  color: var(--v7-ink);
  font-size: .92rem;
  line-height: 1.2;
}
.directory-item-card small,
.directory-item-card em {
  font-size: .74rem;
  line-height: 1.3;
}
.directory-item-card em {
  color: var(--v7-violet);
  font-style: normal;
  font-weight: 800;
}

.events-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.mini-event-card {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #152b74, #2b2d8a);
}
.mini-event-card strong,
.mini-event-card small,
.mini-event-date {
  color: #fff;
}
.mini-event-card strong {
  font-size: .88rem;
  line-height: 1.2;
}
.mini-event-card small {
  color: rgba(255,255,255,.75);
  font-size: .73rem;
}
.mini-event-date {
  display: inline-grid;
  justify-items: start;
  gap: 0;
}
.mini-event-date span {
  font-size: .7rem;
  letter-spacing: .08em;
}
.mini-event-date b {
  font-size: 1.2rem;
  line-height: 1;
}

.featured-event-body {
  display: grid;
  gap: .9rem;
}
.featured-event-copy h3 {
  margin: 0 0 .55rem;
  color: var(--v7-ink);
  font-size: 1.6rem;
  line-height: 1.02;
}
.featured-event-copy p {
  margin: .25rem 0;
}
.featured-event-body img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 220px;
}

/* bottom row */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.program-card {
  display: grid;
  gap: .35rem;
  min-height: 120px;
  padding: .9rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: #fff;
}
.program-icon {
  color: var(--v7-violet);
  font-size: 1.2rem;
}
.program-card strong {
  color: var(--v7-ink);
  font-size: .95rem;
}
.program-card small {
  font-size: .76rem;
  line-height: 1.35;
}
.jobs-list {
  display: grid;
  gap: .75rem;
}
.job-item {
  display: grid;
  gap: .18rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--v7-line);
}
.job-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.job-item strong {
  color: var(--v7-ink);
}
.job-item small,
.job-item em {
  font-size: .78rem;
}
.job-item em {
  color: var(--v7-violet);
  font-style: normal;
  font-weight: 800;
}
.investment-stats {
  display: grid;
  gap: .9rem;
}
.investment-stats span {
  display: grid;
  gap: .18rem;
  padding: .85rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8f9ff);
}
.investment-stats strong {
  color: var(--v7-ink);
}
.investment-stats small {
  font-size: .78rem;
  line-height: 1.35;
}

/* footer */
.site-footer-v7 {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #10245f 0%, #1e326f 46%, #343680 100%);
}
.footer-grid-v7 {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.footer-brand-block {
  min-width: 0;
}
.footer-grid-v7 h2 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: .98rem;
}
.footer-grid-v7 ul {
  gap: .42rem;
}
.footer-grid-v7 .footer-brand {
  margin-bottom: .65rem;
}
.footer-grid-v7 .footer-brand .brand-mark {
  font-size: 3rem;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}
.footer-socials a:hover {
  background: rgba(255,255,255,.12);
}
.footer-bottom {
  padding-top: .9rem;
  padding-bottom: 1rem;
}

/* responsive */
@media (max-width: 520px) {
  .brand-divider,
  .brand-product small,
  .brand-copy {
    display: none;
  }
  .brand-product strong {
    font-size: .86rem;
  }
  .portal-shortcuts a {
    min-height: 106px;
    padding: .85rem .55rem;
  }
  .portal-shortcuts a strong {
    font-size: .81rem;
  }
}

@media (min-width: 760px) {
  .portal-hero-content {
    padding-top: 4.7rem;
    padding-bottom: 6.2rem;
  }
  .portal-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portal-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .tenencias-explorer-layout,
  .featured-tenencia-body,
  .featured-event-body {
    align-items: start;
  }
  .directory-grid,
  .events-strip,
  .programs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .events-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .footer-grid-v7 {
    grid-template-columns: 1.2fr .75fr .75fr .75fr 1fr;
  }
}

@media (min-width: 980px) {
  .site-header-v7 .header-inner {
    min-height: 84px;
  }
  .primary-nav-v7 {
    position: static;
    display: flex;
    align-items: center;
    gap: .1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    inset: auto;
  }
  .primary-nav-v7 a {
    padding: .5rem .7rem;
    font-size: .81rem;
    border-radius: 10px;
  }
  .portal-shortcuts {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .portal-grid-row--top {
    grid-template-columns: 1.15fr .95fr;
  }
  .tenencias-explorer-layout {
    grid-template-columns: 1.08fr .92fr;
  }
  .portal-grid-row--middle {
    grid-template-columns: 1.25fr .9fr .9fr;
  }
  .portal-grid-row--bottom {
    grid-template-columns: 1.1fr .85fr .85fr;
  }
  .directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .featured-event-body {
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
  }
}

@media (min-width: 1240px) {
  .container {
    width: min(calc(100% - 64px), 1260px);
  }
  .portal-hero-copy {
    max-width: 560px;
  }
  .portal-card {
    padding: 1.15rem;
  }
  .card-heading h2 {
    font-size: 1.25rem;
  }
}
