/*
 * Aristone Capital interior design system.
 * Full-bleed layouts for the supplied am-* and ab-bim-* page content.
 */

.designed-page,
.designed-page > .am-page,
.designed-page > .ab-bim-lite {
  width: 100%;
  margin: 0;
}

.designed-page > .am-page,
.designed-page > .ab-bim-lite,
.am-page,
.ab-bim-lite {
  overflow: clip;
}

.am-page {
  --interior-hero: url("../images/hero-aristone.webp");
}

.page-slug-construccion-industrializada .am-page {
  --interior-hero: url("../images/project-industrial.webp");
}

.page-slug-servicios .am-page,
.page-slug-solvencia .am-page {
  --interior-hero: url("../images/audience-investor.webp");
}

.page-slug-equipo .am-page,
.page-slug-empresa .am-page {
  --interior-hero: url("../images/project-residential.webp");
}

.page-slug-proyectos .am-page,
.page-slug-notas-de-prensa .am-page {
  --interior-hero: url("../images/project-villa.webp");
}

/* Editorial hero used by company, services, industrialization and solvency. */
.am-hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 72vh, 760px) !important;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background-color: var(--charcoal);
  background-image: var(--interior-hero);
  background-position: center;
  background-size: cover;
}

.am-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 20, 24, 0.94) 0%, rgba(15, 20, 24, 0.8) 48%, rgba(15, 20, 24, 0.22) 82%),
    linear-gradient(0deg, rgba(15, 20, 24, 0.62), transparent 48%);
}

.am-hero__geometry {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(42vw, 620px);
  height: 100%;
  opacity: 0.28;
  border-left: 1px solid rgba(213, 172, 108, 0.72);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 86px 86px;
  transform: skewX(-11deg) translateX(13%);
  transform-origin: bottom;
}

.am-hero__inner {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
  padding-block: clamp(82px, 11vw, 150px) clamp(74px, 9vw, 118px);
}

.am-hero__kicker,
.am-service-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #d5ac6c;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.am-hero__kicker::before,
.am-service-hero__kicker::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.am-display {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 7.3vw, 7rem);
  font-weight: 430;
  letter-spacing: -0.062em;
  line-height: 0.94;
  text-wrap: balance;
}

.am-hero__lead {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1.04rem, 1.55vw, 1.34rem);
  line-height: 1.65;
}

.am-section--tight {
  padding-block: clamp(54px, 6vw, 82px);
}

.am-section--dark .am-title,
.am-section--blue .am-title,
.am-contact-band .am-display {
  color: #fff;
}

.am-section--dark .am-eyebrow,
.am-section--blue .am-eyebrow {
  color: #d5ac6c;
}

.am-btn--dark {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.am-btn--outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(16, 20, 24, 0.45);
}

.am-btn--outline:hover,
.am-btn--outline:focus-visible,
.am-btn--dark:hover,
.am-btn--dark:focus-visible {
  color: #fff;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* Service index and industrialization. */
.am-section--dark .am-feature-card {
  position: relative;
  min-height: 310px;
  padding: 34px 30px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

#servicios .am-grid-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.am-section--dark .am-feature-card::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--gold);
  content: "→";
  font-size: 1.35rem;
}

.am-section--dark .am-feature-card:hover,
.am-section--dark .am-feature-card:focus-visible {
  color: #fff;
  background: var(--gold-deep);
  transform: translateY(-6px);
}

.am-section--dark .am-feature-card:hover p,
.am-section--dark .am-feature-card:focus-visible p,
.am-section--dark .am-feature-card:hover .am-feature-card__num,
.am-section--dark .am-feature-card:focus-visible .am-feature-card__num {
  color: rgba(255, 255, 255, 0.76);
}

.am-feature-card p,
.am-trust p {
  color: var(--muted);
}

.am-industrial .am-process {
  gap: 0;
  margin-top: 58px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.am-industrial .am-process__item {
  min-height: 250px;
  padding: 34px 25px;
}

.am-industrial .am-process__item h3 {
  font-size: 1.35rem;
}

.am-industrial .am-process__item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Individual service pages. */
.am-service-hero {
  padding: clamp(50px, 7vw, 96px) 24px;
  background: linear-gradient(135deg, #eef0ed 0%, #fff 62%);
}

.am-service-hero__grid {
  display: grid;
  width: min(100%, 1320px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: clamp(40px, 7vw, 108px);
}

.am-service-hero__grid > div:first-child {
  padding-left: max(0px, calc((100vw - var(--shell)) / 2 - 24px));
}

.am-service-hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.7vw, 6.1rem);
  font-weight: 440;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.am-service-hero__grid > div > p:not(.am-service-hero__kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.am-service-hero__visual {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.am-service-hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(15, 20, 24, 0.84), transparent 56%);
}

.am-service-hero__visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.am-service-hero:hover .am-service-hero__visual img {
  transform: scale(1.025);
}

.am-service-hero__caption {
  position: absolute;
  z-index: 1;
  right: clamp(26px, 5vw, 64px);
  bottom: clamp(26px, 5vw, 64px);
  left: clamp(26px, 5vw, 64px);
  color: #fff;
}

.am-service-hero__caption span {
  color: #d5ac6c;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.am-service-hero__caption h2 {
  max-width: 560px;
  margin: 12px 0 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 470;
  line-height: 1.1;
}

.am-service-detail-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.am-service-detail-card {
  min-height: 290px;
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.66);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.am-service-detail-card > span,
.am-service-project > div > span {
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 750;
}

.am-service-detail-card h3 {
  margin: 50px 0 14px;
  font-size: 1.35rem;
  font-weight: 590;
}

.am-service-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.am-service-page .am-section--dark .am-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: rgba(255, 255, 255, 0.18);
}

.am-service-page .am-section--dark .am-process__item {
  min-height: 270px;
  border-color: rgba(255, 255, 255, 0.18);
}

.am-service-page .am-section--dark .am-process__item p {
  color: rgba(255, 255, 255, 0.62);
}

.am-service-project-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.am-service-project {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.am-service-project:hover,
.am-service-project:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.am-service-project figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.am-service-project figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.am-service-project:hover img {
  transform: scale(1.04);
}

.am-service-project > div {
  padding: 25px;
}

.am-service-project h3 {
  margin: 10px 0 5px;
  font-size: 1.3rem;
}

.am-service-project p {
  margin: 0;
  color: var(--muted);
}

.am-service-cta {
  display: grid;
  margin-top: clamp(54px, 8vw, 100px);
  padding: clamp(34px, 6vw, 70px);
  color: #fff;
  background: var(--charcoal);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
}

.am-service-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 470;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.am-service-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

/* Portfolio and project detail pages. */
.am-portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: clamp(34px, 7vw, 90px);
}

.am-portfolio-intro__aside {
  padding-left: 28px;
  color: var(--muted);
  border-left: 2px solid var(--gold);
}

.am-project-list {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
}

.am-project {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  grid-template-columns: 54px 1fr auto;
  align-content: end;
  align-items: end;
  gap: 8px 18px;
  isolation: isolate;
}

.am-project::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 14, 17, 0.94), rgba(10, 14, 17, 0.14) 78%);
  transition: background 260ms ease;
}

.am-project:hover::before,
.am-project:focus-visible::before {
  background: linear-gradient(0deg, rgba(148, 112, 55, 0.96), rgba(10, 14, 17, 0.2) 82%);
}

.am-project:nth-child(1) { background-image: url("/wp-content/uploads/aristone-invest/viviendas-unifamiliares-tenerife-01.webp"), url("../images/project-villa.webp"); }
.am-project:nth-child(2) { background-image: url("/wp-content/uploads/aristone-invest/edificio-aris-01.webp"), url("../images/project-residential.webp"); }
.am-project:nth-child(3) { background-image: url("/wp-content/uploads/aristone-invest/proyecto-malaga-01.webp"), url("../images/project-industrial.webp"); }
.am-project:nth-child(4) { background-image: url("/wp-content/uploads/aristone-invest/doce-apartamentos-tenerife-01.webp"), url("../images/project-interior.webp"); }
.am-project:nth-child(5) { background-image: url("/wp-content/uploads/aristone-invest/viviendas-atico-guadalajara-01.webp"), url("../images/audience-owner.webp"); }

.am-project:nth-child(5) {
  grid-column: 1 / -1;
}

.am-project__num {
  color: #d5ac6c;
  font-size: 0.73rem;
  font-weight: 750;
  grid-row: 1 / span 2;
  align-self: start;
}

.am-project h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  font-weight: 480;
  letter-spacing: -0.045em;
  line-height: 1;
}

.am-project p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.am-project__arrow {
  font-size: 2rem;
  grid-column: 3;
  grid-row: 1 / span 2;
  transition: transform 220ms ease;
}

.am-project:hover .am-project__arrow {
  transform: translateX(7px);
}

.am-project-hero {
  position: relative;
  display: grid;
  min-height: clamp(600px, 80vh, 840px);
  align-items: end;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 14, 17, 0.88), rgba(10, 14, 17, 0.08)), var(--project-cover) center / cover;
}

.am-project-hero__inner {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
  padding-block: 90px 74px;
}

.am-project-hero__num {
  color: #d5ac6c;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.am-project-hero h1 {
  max-width: 960px;
  margin: 20px 0 36px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.am-project-meta {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.28);
}

.am-project-meta__item {
  padding: 20px 24px 20px 0;
}

.am-project-meta__item span,
.am-project-meta__item b {
  display: block;
}

.am-project-meta__item span {
  margin-bottom: 5px;
  color: #d5ac6c;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.am-project-meta__item b {
  font-weight: 520;
}

.am-project-narrative {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(34px, 7vw, 100px);
}

.am-project-narrative__label {
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.am-project-narrative__text {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.am-project-keygrid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.am-project-key {
  min-height: 225px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.am-project-key > span {
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 750;
}

.am-project-key h3 {
  margin: 32px 0 10px;
}

.am-project-key p {
  color: var(--muted);
  font-size: 0.9rem;
}

.am-project-gallery {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.am-project-gallery figure {
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  grid-column: span 6;
}

.am-project-gallery figure:nth-child(3n + 1) {
  grid-column: span 8;
}

.am-project-gallery figure:nth-child(3n + 2) {
  grid-column: span 4;
}

.am-project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.am-project-gallery figure:hover img {
  transform: scale(1.025);
}

.am-project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.am-project-services span {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
}

.am-project-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.am-project-next small,
.am-project-next strong {
  display: block;
}

.am-project-next small {
  margin-bottom: 7px;
  color: #d5ac6c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.am-project-next strong {
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 480;
}

.am-project-next > span {
  font-size: 2.6rem;
}

/* Corporate cards, team, accreditations and press. */
.am-team-grid,
.am-accreditation-grid,
.am-press-grid,
.am-media-brand-grid,
.am-entity-mini-grid {
  margin-top: 42px;
}

.am-team-card {
  position: relative;
  min-height: 230px;
  padding-top: 84px;
}

.am-team-card::before {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 34px;
  height: 34px;
  content: "";
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.am-person-name,
.am-person-role {
  display: block;
}

.am-person-name {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.am-person-role {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.am-accreditation-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 26px;
}

.am-accreditation-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.am-accreditation-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.am-accreditation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.am-press-card {
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.am-press-card:hover,
.am-press-card:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.am-press-card__body > span {
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.am-press-card__body h3 {
  margin: 12px 0;
  font-size: 1.4rem;
}

.am-press-card__body p {
  color: var(--muted);
}

.am-entity-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
}

.am-entity-showcase > div:not(.am-entity-visual) {
  padding: clamp(34px, 6vw, 72px);
}

.am-entity-visual {
  position: relative;
  min-height: 470px;
  background: var(--charcoal) center / cover;
}

.am-entity-visual__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 34px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 14, 17, 0.9), transparent);
}

/* Legal pages supplied as HTML. */
.legal-page-hero {
  padding-block: 54px;
  color: #fff;
  background: var(--charcoal);
}

.legal-page-hero .shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.legal-page-hero .eyebrow {
  margin: 0;
  color: #d5ac6c;
}

.legal-page-hero span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.legal-page-layout {
  display: grid;
  padding-block: clamp(64px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: clamp(42px, 8vw, 100px);
}

.legal-document {
  max-width: 820px;
  color: #3f484f;
}

.legal-document > .eyebrow {
  color: var(--gold-deep);
}

.legal-document h1 {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-document h2 {
  margin: 2.2em 0 0.7em;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.8vw, 2.45rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-document h3 {
  margin-top: 1.8em;
  color: var(--ink);
}

.legal-document a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-document li {
  margin-bottom: 8px;
}

.legal-draft-warning {
  margin-bottom: 42px;
  padding: 22px 24px;
  color: #5d431d;
  background: #f5ead8;
  border-left: 3px solid var(--gold-deep);
}

.legal-pending {
  padding: 0.1em 0.32em;
  color: #6c241f;
  background: #ffe3df;
}

.legal-page-nav {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 25px;
  background: var(--stone);
  border-top: 3px solid var(--gold);
}

.legal-page-nav p {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page-nav a {
  display: block;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.legal-consent {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 20px;
  background: var(--stone);
  border: 1px solid var(--line);
}

.legal-consent__summary {
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-consent label {
  font-size: 0.82rem;
}

.legal-consent input {
  margin-right: 7px;
}

.aristone-contact-form__trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.aristone-contact-form .am-field input,
.aristone-contact-form .am-field textarea {
  width: 100%;
}

.form-message {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 3px solid;
}

.form-message--success {
  color: #214f35;
  background: #e8f4ec;
  border-color: #3d8557;
}

.form-message--error {
  color: #702a25;
  background: #fbe8e6;
  border-color: #b6544c;
}

.am-legal-hero {
  color: #fff;
  background: var(--charcoal);
}

.am-legal-hero__inner {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
  padding-block: clamp(82px, 10vw, 130px);
}

.am-legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1;
}

.am-legal-wrap {
  display: grid;
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(40px, 7vw, 90px);
}

.am-legal-content {
  min-width: 0;
}

.am-legal-content h2 {
  margin: 2.1em 0 0.65em;
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  font-weight: 520;
  letter-spacing: -0.03em;
}

.am-legal-content h3 {
  margin-top: 1.9em;
}

.am-legal-content p,
.am-legal-content li,
.am-legal-table {
  color: #3f484f;
}

.am-legal-note {
  margin-block: 28px;
  padding: 22px 24px;
  background: #f4efe6;
  border-left: 3px solid var(--gold);
}

.am-legal-table {
  display: block;
  width: 100%;
  margin-block: 28px;
  border-collapse: collapse;
  overflow-x: auto;
}

.am-legal-table th,
.am-legal-table td {
  min-width: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.am-legal-table th {
  color: var(--ink);
  background: var(--stone);
}

.am-legal-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 26px;
  background: var(--stone);
  border-top: 3px solid var(--gold);
}

.am-legal-aside a {
  display: block;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.am-legal-meta {
  margin-top: 48px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* Real Estate landing. */
.realty-hero {
  position: relative;
  display: grid;
  min-height: clamp(680px, 82vh, 860px);
  align-items: center;
  color: #fff;
  background: url("../images/audience-buyer.webp") center / cover;
  isolation: isolate;
}

.realty-hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 17, 21, 0.95), rgba(12, 17, 21, 0.68) 50%, rgba(12, 17, 21, 0.18));
}

.realty-hero__content {
  padding-block: 92px 170px;
}

.realty-hero__content .eyebrow {
  color: #d5ac6c;
}

.realty-hero h1 {
  max-width: 930px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 420;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.realty-hero__content > p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.realty-hero .button-row {
  margin-top: 34px;
}

.realty-hero .button--outline {
  color: #fff;
  background: rgba(15, 20, 24, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}

.realty-quick-search {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 -20px 70px rgba(10, 14, 17, 0.18);
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, 0.7fr)) auto;
  align-items: end;
  gap: 14px;
}

.realty-quick-search label,
.realty-quick-search span {
  display: block;
}

.realty-quick-search span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.realty-quick-search input,
.realty-quick-search select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 0;
}

.realty-audiences {
  background: #fff;
}

.realty-audience-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.realty-audience {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: end;
  padding: 34px;
  color: #fff;
  background: var(--realty-card) center / cover;
  isolation: isolate;
}

.realty-audience::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 14, 17, 0.94), rgba(10, 14, 17, 0.18) 78%);
}

.realty-audience > div > p {
  color: #d5ac6c;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.realty-audience h3 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.realty-audience ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.realty-audience a {
  color: #d5ac6c;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.realty-featured {
  background: var(--stone);
}

.realty-empty {
  margin-top: 34px;
  padding: clamp(32px, 6vw, 68px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.realty-method {
  color: #fff;
  background: var(--charcoal);
}

.realty-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(48px, 9vw, 130px);
}

.realty-method h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 440;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.realty-method__grid > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
}

.realty-method ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.realty-method li {
  display: grid;
  padding-block: 24px;
  grid-template-columns: 55px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.realty-method li > span {
  color: #d5ac6c;
  font-size: 0.72rem;
  font-weight: 750;
}

.realty-method li strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.realty-method li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.realty-cta {
  padding-block: clamp(58px, 7vw, 90px);
  background: #fff;
}

.realty-cta .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.realty-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 460;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* Delta Realty catalogue and property detail. */
.catalog-hero {
  padding-block: clamp(82px, 10vw, 132px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 20, 24, 0.96), rgba(15, 20, 24, 0.58)),
    url("../images/audience-buyer.webp") center 62% / cover;
}

.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(42px, 8vw, 120px);
}

.catalog-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.catalog-hero__grid > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.catalog-controls {
  position: relative;
  z-index: 4;
  padding-block: 26px;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.catalog-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.catalog-filter label,
.catalog-filter label > span {
  display: block;
}

.catalog-filter label > span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-filter input,
.catalog-filter select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 20, 24, 0.22);
  border-radius: 0;
}

.catalog-filter input:focus,
.catalog-filter select:focus {
  outline: 2px solid rgba(183, 138, 69, 0.32);
  outline-offset: 1px;
  border-color: var(--gold);
}

.catalog-filter__search {
  grid-column: span 2;
}

.catalog-filter__actions {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
}

.catalog-filter__actions a {
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-summary p {
  margin: 0;
  color: var(--muted);
}

.catalog-summary strong {
  margin-right: 4px;
  color: var(--ink);
  font-size: 1.25rem;
}

.catalog-summary__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 24px;
}

.catalog-view-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-view-toggle:hover,
.catalog-view-toggle:focus-visible {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-map-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.catalog-map-split__map {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  min-width: 0;
}

.catalog-public-map {
  width: 100%;
  height: min(720px, calc(100vh - var(--header-height) - 44px));
  min-height: 540px;
  overflow: hidden;
  background: #dde4e7;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(17, 23, 28, 0.12);
}

.catalog-public-map img {
  max-width: none !important;
}

.catalog-map-split__results .property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog-map-split__results .property-card__body {
  padding: 14px;
}

.catalog-map-split__results .property-card h2 {
  font-size: 0.92rem;
}

.catalog-map-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 20px 55px rgba(17, 23, 28, 0.28);
}

.catalog-map-popup .leaflet-popup-content {
  width: 310px !important;
  margin: 0;
}

.catalog-map-preview {
  background: #fff;
}

.catalog-map-preview__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--stone);
}

.catalog-map-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-map-preview__body {
  padding: 15px 17px 17px;
}

.catalog-map-preview__body p {
  margin: 0 0 6px;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-map-preview__body h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.catalog-map-preview__body strong,
.catalog-map-preview__body > span {
  display: block;
}

.catalog-map-preview__body strong {
  color: var(--gold-deep);
  font-size: 0.95rem;
}

.catalog-map-preview__body > span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.7rem;
}

.catalog-map-preview__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-card__tags,
.property-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.property-card__tags {
  margin-bottom: 14px;
}

.property-card__tags span {
  padding: 5px 8px;
  color: var(--gold-deep);
  background: #f4efe6;
  font-size: 0.62rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-hero__tags {
  margin-bottom: 18px;
}

.property-hero__tags span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(15, 20, 24, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.property-hero__bottom {
  display: flex;
  align-items: center;
  gap: 24px;
}

.property-hero__bottom > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-hero__open {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 30px;
  padding: 11px 16px;
  color: #fff;
  background: rgba(15, 20, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.property-hero__open:hover,
.property-hero__open:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.property-gallery-rail {
  padding-block: 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.property-gallery-rail__inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.property-gallery-thumb {
  flex: 0 0 142px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: var(--stone);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 180ms ease, border 180ms ease;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover,
.property-gallery-thumb:focus-visible {
  opacity: 1;
  border-color: var(--gold);
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.lightbox-open {
  overflow: hidden;
}

.property-lightbox[hidden] {
  display: none;
}

.property-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: clamp(18px, 3vw, 44px);
  place-items: center;
  color: #fff;
  background: rgba(5, 8, 10, 0.96);
  backdrop-filter: blur(18px);
}

.property-lightbox__stage {
  display: grid;
  width: min(88vw, 1500px);
  height: min(84vh, 980px);
  margin: 0;
  place-items: center;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.property-lightbox__stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(min(84vh, 980px) - 42px);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.property-lightbox__stage figcaption {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-lightbox__stage figcaption [data-gallery-counter] {
  color: #dfb674;
}

.property-lightbox__close,
.property-lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.property-lightbox__close:hover,
.property-lightbox__close:focus-visible,
.property-lightbox__arrow:hover,
.property-lightbox__arrow:focus-visible {
  color: var(--ink);
  background: #fff;
  transform: scale(1.06);
}

.property-lightbox__close {
  top: 24px;
  right: 24px;
  font-size: 2rem;
  font-weight: 280;
}

.property-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.property-lightbox__arrow:hover,
.property-lightbox__arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.property-lightbox__arrow--prev {
  left: 24px;
}

.property-lightbox__arrow--next {
  right: 24px;
}

.property-section {
  padding-block: clamp(46px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.property-section h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 480;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.property-features {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.property-features li {
  position: relative;
  padding: 17px 20px 17px 46px;
  background: #fff;
}

.property-features li::before {
  position: absolute;
  left: 20px;
  color: var(--gold-deep);
  content: "✓";
}

.property-location > p:not(.eyebrow) {
  color: var(--muted);
}

.property-location__grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 4vw, 58px);
}

.property-location__grid--text {
  grid-template-columns: minmax(0, 760px);
}

.property-location__copy {
  align-self: center;
}

.property-location__copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 20px 0 24px;
  color: var(--muted);
}

.property-map-card {
  position: relative;
  min-width: 0;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8ecee;
  box-shadow: 0 20px 55px rgba(17, 23, 28, 0.12);
}

.property-public-map {
  width: 100%;
  min-height: 370px;
  height: 100%;
  background: #dfe6e9;
}

.property-public-map img {
  max-width: none !important;
}

.property-public-map .leaflet-control-attribution {
  font-size: 9px;
}

.property-map-note {
  position: absolute;
  z-index: 500;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(17, 23, 28, 0.15);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.property-map-note > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--gold-deep);
  border-radius: 50%;
  background: rgba(197, 154, 87, 0.14);
  font-size: 1.2rem;
}

.property-map-note strong,
.property-map-note small {
  display: block;
}

.property-map-note strong {
  font-size: 0.8rem;
}

.property-map-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.property-media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 40px;
}

.property-contact__image {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.property-contact__links {
  display: grid;
  gap: 4px;
  margin-block: 22px;
  padding-block: 18px;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.property-contact__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
}

/* BIM interactive experience. */
.ab-bim-lite {
  --bim-gold: #c59a57;
  --bim-bg: #11171c;
  --bim-panel: #1c252c;
  --bim-line: rgba(255, 255, 255, 0.13);
  color: #fff;
  background: var(--bim-bg);
}

.ab-bim-shell {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.ab-bim-hero {
  position: relative;
  padding-block: clamp(90px, 12vw, 160px) clamp(70px, 9vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(197, 154, 87, 0.22), transparent 30%),
    linear-gradient(135deg, #11171c 0%, #1c252c 100%);
}

.ab-bim-hero::after {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(197, 154, 87, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 0 82px rgba(255, 255, 255, 0.025), 0 0 0 164px rgba(255, 255, 255, 0.018);
}

.ab-bim-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--bim-gold);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-bim-dot {
  width: 8px;
  height: 8px;
  background: var(--bim-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(197, 154, 87, 0.13);
}

.ab-bim-title {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin-bottom: 30px;
  font-size: clamp(3.1rem, 7vw, 7rem);
  font-weight: 390;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.ab-bim-title strong {
  color: var(--bim-gold);
  font-weight: 480;
}

.ab-bim-lead {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.ab-bim-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 900px;
  margin-top: 54px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--bim-line);
}

.ab-bim-metric {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--bim-line);
}

.ab-bim-metric strong,
.ab-bim-metric span {
  display: block;
}

.ab-bim-metric strong {
  color: var(--bim-gold);
  font-size: 1.35rem;
}

.ab-bim-metric span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

.ab-bim-controls {
  position: sticky;
  z-index: 20;
  top: var(--header-height);
  padding-block: 14px;
  background: rgba(17, 23, 28, 0.94);
  border-block: 1px solid var(--bim-line);
  backdrop-filter: blur(15px);
}

.admin-bar .ab-bim-controls {
  top: calc(var(--header-height) + 32px);
}

.ab-bim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ab-bim-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ab-bim-btn {
  min-height: 42px;
  padding: 10px 17px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  border: 1px solid var(--bim-line);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border 180ms ease;
}

.ab-bim-btn:hover,
.ab-bim-btn:focus-visible,
.ab-bim-btn.is-active {
  color: #11171c;
  background: var(--bim-gold);
  border-color: var(--bim-gold);
}

.ab-bim-btn--ghost {
  color: #fff;
}

.ab-bim-stage {
  padding-block: clamp(70px, 9vw, 120px);
}

.ab-bim-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: stretch;
  gap: 22px;
}

.ab-bim-card {
  background: var(--bim-panel);
  border: 1px solid var(--bim-line);
}

.ab-bim-diagram-card {
  display: grid;
  min-height: 650px;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bim-panel);
  background-size: 40px 40px;
}

.ab-bim-diagram {
  position: relative;
  width: min(590px, 90%);
  aspect-ratio: 1;
}

.ab-bim-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ab-bim-orbit-bg,
.ab-bim-orbit-progress {
  fill: none;
  stroke-width: 3;
}

.ab-bim-orbit-bg {
  stroke: rgba(255, 255, 255, 0.13);
}

.ab-bim-orbit-progress {
  stroke: var(--bim-gold);
  stroke-linecap: round;
  transition: stroke-dasharray 500ms ease;
}

.ab-bim-center {
  position: absolute;
  display: grid;
  width: 35%;
  aspect-ratio: 1;
  place-items: center;
  top: 50%;
  left: 50%;
  padding: 18px;
  text-align: center;
  background: #11171c;
  border: 1px solid rgba(197, 154, 87, 0.52);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(197, 154, 87, 0.12);
  transform: translate(-50%, -50%);
}

.ab-bim-center small,
.ab-bim-center strong,
.ab-bim-center span {
  display: block;
}

.ab-bim-center small {
  color: var(--bim-gold);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ab-bim-center strong {
  margin-block: 3px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 470;
  line-height: 1;
}

.ab-bim-center span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  line-height: 1.3;
}

.ab-bim-node {
  position: absolute;
  z-index: 3;
  width: 84px;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.ab-bim-node-box {
  display: grid;
  min-height: 68px;
  padding: 8px;
  place-items: center;
  background: #182127;
  border: 1px solid var(--bim-line);
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.ab-bim-node:hover .ab-bim-node-box,
.ab-bim-node:focus-visible .ab-bim-node-box,
.ab-bim-node.is-active .ab-bim-node-box {
  color: #11171c;
  background: var(--bim-gold);
  border-color: var(--bim-gold);
  transform: scale(1.08);
}

.ab-bim-node-icon,
.ab-bim-node-label {
  display: block;
}

.ab-bim-node-icon {
  font-size: 1.15rem;
}

.ab-bim-node-label {
  font-size: 0.56rem;
  line-height: 1.15;
}

.ab-bim-panel {
  padding: clamp(30px, 5vw, 58px);
}

.ab-bim-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.ab-bim-phase,
.ab-bim-badge {
  color: var(--bim-gold);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ab-bim-badge {
  padding: 8px 11px;
  border: 1px solid rgba(197, 154, 87, 0.45);
}

.ab-bim-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ab-bim-panel > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.03rem;
  line-height: 1.65;
}

.ab-bim-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 28px;
}

.ab-bim-tag {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--bim-line);
  font-size: 0.67rem;
}

.ab-bim-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--bim-line);
  border: 1px solid var(--bim-line);
}

.ab-bim-info {
  padding: 20px;
  background: var(--bim-panel);
}

.ab-bim-info b,
.ab-bim-info span,
.ab-bim-outcome b {
  display: block;
}

.ab-bim-info b,
.ab-bim-outcome b {
  margin-bottom: 9px;
  color: var(--bim-gold);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ab-bim-info span,
.ab-bim-outcome p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.55;
}

.ab-bim-outcome {
  margin-top: 18px;
  padding: 20px;
  background: rgba(197, 154, 87, 0.1);
  border-left: 2px solid var(--bim-gold);
}

.ab-bim-outcome p {
  margin: 0;
}

.ab-bim-steps {
  padding-block: clamp(70px, 9vw, 120px);
  background: #eef0ed;
}

.ab-bim-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 23, 28, 0.18);
}

.ab-bim-step {
  min-height: 280px;
  padding: 30px 22px;
  color: #11171c;
  border-right: 1px solid rgba(17, 23, 28, 0.18);
}

.ab-bim-step-num {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 750;
}

.ab-bim-step h3 {
  margin: 54px 0 13px;
  font-size: 1.15rem;
}

.ab-bim-step p {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 1080px) {
  .am-display,
  .ab-bim-title {
    max-width: 860px;
  }

  .am-service-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .am-service-hero__visual,
  .am-service-hero__visual img {
    min-height: 560px;
    height: 560px;
  }

  .am-service-detail-grid,
  .am-service-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #servicios .am-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-service-page .am-section--dark .am-process,
  .am-project-keygrid,
  .ab-bim-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-bim-step:last-child {
    grid-column: 1 / -1;
  }

  .ab-bim-stage-grid {
    grid-template-columns: 1fr;
  }

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

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

  .realty-quick-search__main {
    grid-column: span 2;
  }

  .realty-quick-search .button {
    grid-column: 3;
  }

  .ab-bim-diagram-card {
    min-height: 700px;
  }

  .property-location__grid {
    grid-template-columns: 1fr;
  }

  .catalog-map-split {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .catalog-map-split__results .property-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .am-hero__inner,
  .am-project-hero__inner,
  .ab-bim-shell,
  .am-legal-wrap,
  .am-legal-hero__inner {
    width: min(calc(100% - 32px), var(--shell));
  }

  .am-hero {
    min-height: 620px !important;
    background-position: 62% center;
  }

  .am-hero::before {
    background: linear-gradient(90deg, rgba(15, 20, 24, 0.94), rgba(15, 20, 24, 0.6));
  }

  .am-hero__geometry {
    width: 62vw;
  }

  .am-display,
  .ab-bim-title,
  .am-project-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.8rem);
  }

  .am-service-hero {
    padding: 56px 16px 16px;
  }

  .am-service-hero__grid {
    grid-template-columns: 1fr;
  }

  .am-service-hero__grid > div:first-child {
    padding: 0 8px 20px;
  }

  .am-service-hero__visual,
  .am-service-hero__visual img {
    min-height: 470px;
    height: 470px;
  }

  .am-service-detail-grid,
  .am-service-project-grid,
  .am-project-list,
  .am-accreditation-grid,
  .am-press-grid,
  .am-entity-showcase,
  .am-portfolio-intro,
  .am-project-narrative,
  .am-legal-wrap {
    grid-template-columns: 1fr;
  }

  #servicios .am-grid-4 {
    grid-template-columns: 1fr;
  }

  .am-service-detail-card {
    min-height: 230px;
  }

  .am-service-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .am-project:nth-child(5) {
    grid-column: auto;
  }

  .am-project {
    min-height: 340px;
    padding: 26px;
    grid-template-columns: 38px 1fr auto;
  }

  .am-project-meta {
    grid-template-columns: 1fr;
  }

  .am-project-meta__item {
    padding-block: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .am-project-keygrid,
  .am-service-page .am-section--dark .am-process,
  .ab-bim-steps-grid {
    grid-template-columns: 1fr;
  }

  .am-project-gallery figure,
  .am-project-gallery figure:nth-child(3n + 1),
  .am-project-gallery figure:nth-child(3n + 2) {
    min-height: 240px;
    grid-column: 1 / -1;
  }

  .am-accreditation-card {
    grid-template-columns: 82px 1fr;
  }

  .am-accreditation-card img {
    width: 82px;
    height: 82px;
  }

  .am-legal-aside {
    position: static;
    grid-row: 1;
  }

  .legal-page-layout {
    grid-template-columns: 1fr;
  }

  .legal-page-nav {
    position: static;
    grid-row: 1;
  }

  .catalog-hero__grid,
  .catalog-filter {
    grid-template-columns: 1fr;
  }

  .realty-hero {
    min-height: 820px;
  }

  .realty-hero__content {
    padding-block: 74px 300px;
  }

  .realty-quick-search {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .realty-quick-search__main,
  .realty-quick-search .button {
    grid-column: auto;
  }

  .realty-audience-grid,
  .realty-method__grid {
    grid-template-columns: 1fr;
  }

  .realty-audience {
    min-height: 440px;
  }

  .realty-cta .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filter__search {
    grid-column: auto;
  }

  .catalog-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-summary__actions {
    justify-content: flex-start;
  }

  .catalog-map-split {
    grid-template-columns: 1fr;
  }

  .catalog-map-split__map {
    position: static;
  }

  .catalog-public-map {
    height: 480px;
    min-height: 420px;
  }

  .catalog-map-split__results .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-hero__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .property-hero__open {
    right: 16px;
    bottom: 16px;
  }

  .property-lightbox {
    padding: 72px 14px 82px;
  }

  .property-lightbox__stage {
    width: 100%;
    height: 100%;
  }

  .property-lightbox__stage img {
    max-height: calc(100vh - 180px);
  }

  .property-lightbox__close,
  .property-lightbox__arrow {
    width: 46px;
    height: 46px;
  }

  .property-lightbox__close {
    top: 14px;
    right: 14px;
  }

  .property-lightbox__arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .property-lightbox__arrow:hover,
  .property-lightbox__arrow:focus-visible {
    transform: scale(1.06);
  }

  .property-lightbox__arrow--prev {
    left: calc(50% - 58px);
  }

  .property-lightbox__arrow--next {
    right: calc(50% - 58px);
  }

  .property-features {
    grid-template-columns: 1fr;
  }

  .property-map-card,
  .property-public-map {
    min-height: 320px;
  }

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

  .ab-bim-controls {
    position: static;
  }

  .ab-bim-controls-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .ab-bim-btn {
    flex: 1 1 auto;
  }

  .ab-bim-diagram-card {
    min-height: 460px;
  }

  .ab-bim-diagram {
    width: 420px;
    max-width: 94%;
  }

  .ab-bim-node {
    width: 66px;
  }

  .ab-bim-node-box {
    min-height: 55px;
    padding: 5px;
  }

  .ab-bim-node-label {
    font-size: 0.48rem;
  }

  .ab-bim-info-grid,
  .ab-bim-steps-grid {
    grid-template-columns: 1fr;
  }

  .ab-bim-step,
  .ab-bim-step:last-child {
    min-height: 220px;
    grid-column: auto;
  }
}

@media (max-width: 460px) {

  .catalog-public-map {
    height: 390px;
    min-height: 360px;
  }

  .catalog-map-split__results .property-grid {
    grid-template-columns: 1fr;
  }
  .ab-bim-diagram-card {
    min-height: 370px;
  }

  .ab-bim-node {
    width: 56px;
  }

  .ab-bim-node-box {
    min-height: 48px;
  }

  .ab-bim-node-icon {
    font-size: 0.9rem;
  }

  .ab-bim-center {
    width: 38%;
  }

  .ab-bim-center span {
    font-size: 0.56rem;
  }
}
