:root {
  --g-blue: #005c81;
  --g-blue-deep: #07384c;
  --g-ink: #0a2732;
  --g-ink-soft: #29434d;
  --g-gold: #c26c00;
  --g-gold-light: #dda655;
  --g-sand: #f3efe7;
  --g-ice: #edf3f4;
  --g-paper: #fcfbf8;
  --g-white: #fff;
  --g-line: rgba(10, 39, 50, 0.14);
  --g-shadow: 0 22px 70px rgba(7, 56, 76, 0.12);
  --g-radius: 26px;
  --g-shell: 1380px;
  --g-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --g-display: "Fraunces", Georgia, serif;
}

body.gandini-modern-view {
  margin: 0;
  background: var(--g-paper);
  color: var(--g-ink);
  font-family: var(--g-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Fallback while the legacy sharing plugins are being retired. */
body.gandini-modern-view .a2a_floating_style,
body.gandini-modern-view .a2a_kit,
body.gandini-modern-view .essb_links,
body.gandini-modern-view .essb-click2chat,
body.gandini-modern-view .essb-mobile-sharebar,
body.gandini-modern-view .essb-mobile-sharepoint,
body.gandini-modern-view .essb-postfloat,
body.gandini-modern-view .essb-float {
  display: none !important;
}

.g-site,
.g-site *,
.g-site *::before,
.g-site *::after {
  box-sizing: border-box;
}

.g-site {
  overflow: clip;
  background: var(--g-paper);
  color: var(--g-ink);
  font-family: var(--g-ui);
}

/* The mobile menu is viewport-sized. Let it escape the site's decorative clip
   while it is open, especially when the home header starts as an overlay. */
.g-menu-open .g-site {
  overflow: visible;
}

.g-site img {
  display: block;
  max-width: 100%;
}

.g-site a {
  color: inherit;
  text-decoration: none;
}

.g-site button,
.g-site input,
.g-site select {
  font: inherit;
}

.g-site .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.g-shell {
  width: min(calc(100% - 64px), var(--g-shell));
  margin-inline: auto;
}

.g-section {
  padding-block: clamp(82px, 9vw, 138px);
}

.g-section--sand {
  background: var(--g-sand);
}

.g-section--ink {
  background: var(--g-ink);
  color: var(--g-white);
}

.g-section--ice {
  background: var(--g-ice);
}

.g-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--g-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.g-eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.g-eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.g-eyebrow--gold {
  color: var(--g-gold-light);
}

.g-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 26px;
  border: 1px solid var(--g-ink);
  border-radius: 999px;
  background: var(--g-ink);
  color: var(--g-white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.g-button:hover {
  transform: translateY(-2px);
}

.g-button--outline {
  background: transparent;
  color: var(--g-ink) !important;
}

.g-button--outline:hover {
  background: var(--g-ink);
  color: var(--g-white) !important;
}

.g-button--light {
  border-color: var(--g-white);
  background: var(--g-white);
  color: var(--g-ink) !important;
}

.g-button--full {
  width: 100%;
}

.g-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.g-whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--g-blue-deep);
  color: var(--g-white) !important;
  box-shadow: 0 16px 42px rgba(7, 56, 76, 0.24);
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.g-whatsapp-float:hover {
  background: var(--g-blue);
  transform: translateY(-2px);
}

.g-whatsapp-float svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.g-menu-open .g-whatsapp-float {
  pointer-events: none;
  opacity: 0;
}

.g-header {
  position: relative;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--g-line);
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.g-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(4, 24, 31, 0.4), transparent);
  color: var(--g-white);
  backdrop-filter: none;
}

.admin-bar .g-header--overlay {
  top: 32px;
}

.g-header--overlay.is-scrolled {
  position: fixed;
  top: 0;
  border-bottom-color: var(--g-line);
  background: rgba(252, 251, 248, 0.96);
  color: var(--g-ink);
  box-shadow: 0 12px 36px rgba(5, 32, 42, 0.08);
  backdrop-filter: blur(18px);
}

.admin-bar .g-header--overlay.is-scrolled {
  top: 32px;
}

.g-header__inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.g-brand {
  position: relative;
  z-index: 3;
  width: 162px;
  flex: 0 0 auto;
}

.g-brand img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.g-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 42px);
  font-size: 13px;
  font-weight: 600;
}

.g-nav > a:not(.g-nav__contact) {
  position: relative;
  padding-block: 12px;
}

.g-nav > a:not(.g-nav__contact)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.g-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.g-nav > a.is-current::after {
  transform: scaleX(1);
}

.g-nav__contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 26px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.g-menu-toggle {
  display: none;
}

.g-hero {
  position: relative;
  display: flex;
  min-height: min(880px, 94vh);
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--g-blue-deep), var(--g-ink));
  color: var(--g-white);
}

.g-hero.has-image {
  background-image: var(--g-hero-image);
  background-position: center 42%;
  background-size: cover;
}

.g-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 26, 34, 0.78) 0%, rgba(4, 26, 34, 0.3) 60%, rgba(4, 26, 34, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 26, 34, 0.62) 0%, transparent 54%);
}

.g-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  padding-top: 190px;
  padding-bottom: 178px;
}

.g-hero__copy {
  max-width: 900px;
}

.g-hero h1,
.g-intro h2,
.g-section-heading h2,
.g-map-section h2,
.g-valuation h2,
.g-listing-hero h1,
.g-single-property h1,
.g-contact-card h2 {
  margin: 0;
  font-family: var(--g-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.g-hero h1 {
  max-width: 930px;
  font-size: clamp(68px, 8.2vw, 132px);
}

.g-hero h1 em {
  color: #f5d19a;
  font-weight: 400;
}

.g-hero__copy > p {
  max-width: 580px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.25vw, 20px);
}

.g-hero__feature {
  display: grid;
  width: min(300px, 26vw);
  flex: 0 0 auto;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  background: rgba(4, 26, 34, 0.32);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, transform 180ms ease;
}

.g-hero__feature:hover {
  background: rgba(4, 26, 34, 0.56);
  transform: translateY(-4px);
}

.g-hero__feature span,
.g-hero__feature small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-hero__feature strong {
  font-family: var(--g-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.g-hero__feature small {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--g-white);
}

.g-search-bar {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 34px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  align-items: stretch;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(4, 26, 34, 0.28);
  color: var(--g-ink);
  backdrop-filter: blur(18px);
}

.g-search-bar label {
  display: grid;
  gap: 4px;
  padding: 11px 25px;
  border-right: 1px solid var(--g-line);
}

.g-search-bar label span,
.g-filter-form label span {
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.g-search-bar select,
.g-filter-form select,
.g-filter-form input {
  width: 100%;
  min-height: 34px;
  padding: 0 30px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--g-ink);
  font-size: 14px;
  font-weight: 600;
}

.g-search-bar button,
.g-filter-form button {
  display: inline-flex;
  min-width: 205px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 25px;
  border: 0;
  border-radius: 15px;
  background: var(--g-blue);
  color: var(--g-white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease;
}

.g-search-bar button:hover,
.g-filter-form button:hover {
  background: var(--g-ink);
}

.g-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  gap: clamp(70px, 11vw, 180px);
  align-items: end;
}

.g-intro h2,
.g-section-heading h2,
.g-map-section h2,
.g-valuation h2 {
  font-size: clamp(50px, 5.3vw, 84px);
}

.g-intro__copy p {
  margin: 0 0 34px;
  color: var(--g-ink-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.g-intro--promise {
  position: relative;
  background: var(--g-paper);
}

.g-intro--promise::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g-line) 14%, var(--g-line) 86%, transparent);
  content: "";
}

.g-intro--promise h2 {
  max-width: 850px;
}

.g-intro__copy--promise {
  padding-bottom: 5px;
}

.g-intro__copy--promise p {
  margin-bottom: 28px;
}

.g-home-stats {
  padding-block: clamp(22px, 2.4vw, 34px);
  background: var(--g-paper);
}

.g-about {
  scroll-margin-top: 100px;
}

.g-about h2 em {
  color: var(--g-blue);
  font-weight: 400;
}

.g-about__single h2 {
  max-width: 970px;
}

.g-about__body {
  max-width: 1060px;
  margin-top: clamp(52px, 6.5vw, 88px);
}

.g-about__body p {
  max-width: 940px;
  margin: 0 0 25px;
  color: var(--g-ink-soft);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.82;
}

.g-about__body .g-about__lead {
  max-width: 1060px;
  margin-bottom: 34px;
  color: var(--g-ink);
  font-size: clamp(23px, 2.05vw, 31px);
  line-height: 1.55;
}

.g-about__signature {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--g-line);
}

.g-about__signature span {
  color: var(--g-ink);
  font-size: 13px;
  font-weight: 700;
}

.g-about__signature small {
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 8vw, 120px);
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-stats--standalone {
  margin-top: 0;
}

.g-stats--standalone > div {
  padding-block: 20px;
}

.g-stats > div {
  display: grid;
  gap: 5px;
  padding: 32px 40px;
  border-right: 1px solid var(--g-line);
}

.g-stats > div:first-child {
  padding-left: 0;
}

.g-stats > div:last-child {
  border-right: 0;
}

.g-stats strong {
  color: var(--g-blue);
  font-family: var(--g-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.g-stats span {
  color: var(--g-ink-soft);
  font-size: 12px;
}

.g-section-heading,
.g-map-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(46px, 6vw, 82px);
}

.g-section-heading--compact {
  margin-bottom: 48px;
}

.g-section-heading--small {
  margin-bottom: 28px;
}

.g-section-heading--small h2 {
  font-size: clamp(36px, 4vw, 56px);
}

.g-property-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 24px;
}

.g-property-card {
  grid-column: span 4;
  min-width: 0;
}

.g-property-card--featured {
  grid-column: span 8;
}

.g-property-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.24 / 1;
  border-radius: var(--g-radius);
  background: #dbe2e4;
}

.g-property-card--featured .g-property-card__media {
  aspect-ratio: 1.7 / 1;
}

.g-property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.g-property-card:hover .g-property-card__media img {
  transform: scale(1.035);
}

.g-property-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d5dedf, #aebec3);
}

.g-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--g-blue);
  color: var(--g-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-chip--transaction {
  background: var(--g-gold);
}

.g-chip--status {
  background: var(--g-blue);
}

.g-property-card__chip {
  position: absolute;
  top: 18px;
  left: 18px;
}

.g-property-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--g-ink);
  font-size: 18px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.g-property-card:hover .g-property-card__arrow {
  transform: translateY(0);
  opacity: 1;
}

.g-property-card__body {
  padding: 20px 5px 0;
}

.g-property-card__location {
  margin-bottom: 8px;
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-property-card h3 {
  margin: 0 0 18px;
  font-family: var(--g-display);
  font-size: clamp(24px, 2.1vw, 33px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.g-property-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--g-line);
}

.g-property-card__meta strong {
  font-size: 14px;
}

.g-property-card__meta span {
  color: var(--g-ink-soft);
  font-size: 10px;
}

.g-place-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  gap: 22px;
}

.g-place-card {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--g-radius);
  background: var(--g-blue-deep);
  color: var(--g-white) !important;
}

.g-place-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.g-place-card:hover img {
  transform: scale(1.045);
}

.g-place-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 26, 34, 0.82), rgba(4, 26, 34, 0.04) 65%);
}

.g-place-card__content {
  position: absolute;
  right: 28px;
  bottom: 27px;
  left: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.g-place-card__content small {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-place-card__content strong {
  font-family: var(--g-display);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
}

.g-place-card__content b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-weight: 400;
}

.g-map-section__heading > p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
}

.g-map-section {
  padding-top: clamp(62px, 6.5vw, 96px);
}

.g-map {
  position: relative;
  width: 100%;
  height: clamp(500px, 54vw, 690px);
  overflow: hidden;
  border-radius: 30px;
  background: #d9e2e3;
}

.g-map::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--g-ink-soft);
  content: "Cargando mapa…";
  font-size: 12px;
}

.g-map-message {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--g-sand);
  color: var(--g-ink-soft);
  text-align: center;
}

.g-map[data-map-error="true"]::before {
  display: none;
}

.g-site .g-map-popup {
  display: grid;
  width: 230px;
  gap: 8px;
  color: var(--g-ink);
  font-family: var(--g-ui);
}

.g-map-popup img {
  width: 100%;
  height: 118px;
  border-radius: 12px;
  object-fit: cover;
}

.g-map-popup small,
.g-map-popup__eyebrow {
  display: block !important;
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: var(--g-blue) !important;
}

.g-map-popup strong,
.g-map-popup__title {
  display: block !important;
  color: #0a2732 !important;
  font-family: var(--g-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #0a2732 !important;
}

.g-map-popup__price {
  display: block !important;
  color: #0a2732 !important;
  font-size: 12px;
  font-weight: 700;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #0a2732 !important;
}

.g-map-popup__summary {
  display: block !important;
  margin-top: 10px;
  color: #0a2732 !important;
  font-family: var(--g-ui);
  font-weight: 400;
  line-height: 1.2;
  white-space: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #0a2732 !important;
}

.g-map-popup__summary .g-map-popup__eyebrow {
  margin-bottom: 8px;
}

.g-map-popup__summary .g-map-popup__title {
  margin: 0 0 10px;
}

.maplibregl-popup-content {
  padding: 12px !important;
  border-radius: 17px !important;
  box-shadow: var(--g-shadow) !important;
}

.maplibregl-popup-close-button {
  right: 17px !important;
  top: 17px !important;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--g-ink) !important;
}

.g-valuation__card {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  gap: clamp(50px, 10vw, 160px);
  align-items: end;
  padding: clamp(58px, 7vw, 100px);
  border-radius: 32px;
  background: var(--g-blue);
  color: var(--g-white);
}

.g-valuation p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

/* Valuation landing page. */
.g-valuation-hero {
  position: relative;
  display: flex;
  min-height: 820px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(0, 92, 129, 0.52), transparent 34%),
    linear-gradient(135deg, #061d25 0%, var(--g-ink) 54%, #0b4055 100%);
  color: var(--g-white);
}

.g-valuation-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}

.g-valuation-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(56px, 7vw, 116px);
  align-items: center;
  padding-top: 154px;
  padding-bottom: 92px;
}

.g-valuation-hero__copy {
  max-width: 850px;
}

.g-valuation-hero h1,
.g-valuation-intro h2,
.g-valuation-process h2,
.g-valuation-factors h2,
.g-valuation-request h2 {
  margin: 0;
  font-family: var(--g-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.g-valuation-hero h1 {
  font-size: clamp(68px, 7.25vw, 116px);
}

.g-valuation-hero h1 em {
  color: #f5d19a;
  font-weight: 400;
}

.g-valuation-hero__copy > p {
  max-width: 640px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.2vw, 20px);
}

.g-valuation-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.g-valuation-hero__phone {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--g-white) !important;
  font-size: 13px;
  font-weight: 700;
}

.g-valuation-hero__image {
  position: relative;
  min-height: 530px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 240px 240px 30px 30px;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.3);
}

.g-valuation-hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 31, 40, 0.78), transparent 52%);
  content: "";
}

.g-valuation-hero__image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-valuation-hero__image figcaption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: grid;
  gap: 7px;
}

.g-valuation-hero__image figcaption span {
  color: var(--g-gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.g-valuation-hero__image figcaption strong {
  max-width: 330px;
  font-family: var(--g-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.06;
}

.g-valuation-hero:not(.has-image) .g-valuation-hero__inner {
  grid-template-columns: minmax(0, 930px);
}

.g-valuation-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.7fr);
  gap: clamp(70px, 11vw, 170px);
  align-items: start;
}

.g-valuation-intro h2,
.g-valuation-process h2,
.g-valuation-factors h2,
.g-valuation-request h2 {
  font-size: clamp(52px, 6.1vw, 86px);
}

.g-valuation-intro__copy {
  padding-top: 44px;
}

.g-valuation-intro__copy > p {
  margin: 0 0 24px;
  color: var(--g-ink-soft);
  font-size: 17px;
}

.g-valuation-note {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding: 26px 0 0 30px;
  border-top: 1px solid var(--g-line);
  border-left: 3px solid var(--g-gold);
}

.g-valuation-note span {
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.g-valuation-note strong {
  max-width: 430px;
  font-family: var(--g-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.g-valuation-process .g-section-heading > p {
  max-width: 410px;
  margin: 0 0 7px;
  color: var(--g-ink-soft);
}

.g-valuation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-valuation-steps article {
  min-height: 310px;
  padding: 38px clamp(24px, 3.5vw, 54px) 42px;
  border-right: 1px solid var(--g-line);
}

.g-valuation-steps article:first-child {
  padding-left: 0;
}

.g-valuation-steps article:last-child {
  padding-right: 0;
  border-right: 0;
}

.g-valuation-steps article > span {
  display: block;
  margin-bottom: 70px;
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.g-valuation-steps h3 {
  margin: 0 0 13px;
  font-family: var(--g-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
}

.g-valuation-steps p {
  max-width: 330px;
  margin: 0;
  color: var(--g-ink-soft);
  font-size: 14px;
}

.g-valuation-factors__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(80px, 12vw, 190px);
  align-items: start;
}

.g-valuation-factors h2 {
  color: var(--g-white);
}

.g-valuation-factors__grid > div:first-child > p {
  max-width: 440px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.g-valuation-factors__list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.g-valuation-factors__list > div {
  display: grid;
  grid-template-columns: 46px minmax(180px, 0.85fr) minmax(210px, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.g-valuation-factors__list span {
  color: var(--g-gold-light);
  font-size: 10px;
  font-weight: 700;
}

.g-valuation-factors__list strong {
  color: var(--g-white);
  font-family: var(--g-display);
  font-size: 25px;
  font-weight: 400;
}

.g-valuation-factors__list small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.g-valuation-request {
  background: var(--g-paper);
}

.g-valuation-request__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.g-valuation-agent {
  position: sticky;
  top: 120px;
}

.g-valuation-agent > p {
  max-width: 540px;
  margin: 30px 0 38px;
  color: var(--g-ink-soft);
  font-size: 16px;
}

.g-valuation-agent__person {
  display: flex;
  align-items: center;
  gap: 20px;
}

.g-valuation-agent__photo {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--g-sand);
}

.g-valuation-agent__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.g-valuation-agent__person > div:last-child {
  display: grid;
}

.g-valuation-agent__person strong {
  font-size: 14px;
}

.g-valuation-agent__person span {
  color: var(--g-ink-soft);
  font-size: 11px;
}

.g-valuation-agent__person a {
  width: max-content;
  margin-top: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
}

.g-valuation-form {
  display: grid;
  gap: 22px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--g-line);
  border-radius: 30px;
  background: var(--g-white);
  box-shadow: var(--g-shadow);
}

.g-valuation-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.g-valuation-form label {
  display: grid;
  gap: 8px;
}

.g-valuation-form label > span {
  color: var(--g-blue-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-valuation-form label > span small {
  color: #6f7d82;
  font-size: 8px;
  font-weight: 500;
}

.g-valuation-form input,
.g-valuation-form select,
.g-valuation-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(10, 39, 50, 0.26);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--g-ink);
  font-family: var(--g-ui);
  font-size: 14px;
}

.g-valuation-form input,
.g-valuation-form select {
  min-height: 48px;
}

.g-valuation-form textarea {
  min-height: 102px;
  padding: 12px 0;
  resize: vertical;
}

.g-valuation-form input:focus,
.g-valuation-form select:focus,
.g-valuation-form textarea:focus {
  border-bottom-color: var(--g-blue);
}

.g-valuation-form .g-button {
  margin-top: 8px;
  border-color: var(--g-blue);
  background: var(--g-blue);
}

.g-valuation-form__privacy,
.g-valuation-form__status {
  margin: -7px 0 0;
  color: #6f7d82;
  font-size: 10px;
  text-align: center;
}

.g-valuation-form__status:empty {
  display: none;
}

.g-footer {
  padding: 88px 0 26px;
  background: #061d25;
  color: rgba(255, 255, 255, 0.76);
}

.g-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.75fr;
  gap: 70px;
}

.g-footer__brand img {
  width: 190px;
  margin-bottom: 28px;
}

.g-footer__brand p {
  max-width: 330px;
}

.g-footer p {
  margin: 0;
  font-size: 13px;
}

.g-footer a {
  display: block;
  width: max-content;
  margin-bottom: 9px;
  color: var(--g-white);
  font-size: 13px;
}

.g-footer__label {
  display: block;
  margin-bottom: 22px;
  color: var(--g-gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.g-footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 78px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g-listing-hero {
  padding: 108px 0 72px;
  background: var(--g-sand);
}

.g-listing-hero h1 {
  font-size: clamp(70px, 9vw, 128px);
}

.g-listing-hero p {
  margin: 18px 0 0;
  color: var(--g-ink-soft);
}

.g-listing-controls {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--g-line);
  background: rgba(252, 251, 248, 0.96);
  backdrop-filter: blur(16px);
}

.admin-bar .g-listing-controls {
  top: 32px;
}

.g-filter-form {
  display: grid;
  grid-template-columns: 0.72fr 0.86fr 0.94fr 0.82fr 1.05fr auto;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--g-line);
  border-radius: 18px;
  background: var(--g-white);
}

.g-filter-form--without-bedrooms {
  grid-template-columns: 0.72fr 0.86fr 0.94fr 1.05fr auto;
}

.g-filter-form__bedrooms[hidden] {
  display: none !important;
}

.g-filter-form label {
  display: grid;
  gap: 2px;
  padding: 11px 15px;
  border-right: 1px solid var(--g-line);
}

.g-filter-form button {
  min-width: 132px;
  margin: 7px;
}

.g-listings__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 38px;
  align-items: start;
}

#gandini-results {
  scroll-margin-top: 126px;
  outline: 0;
}

.g-listings__topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--g-ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.g-listings__topline a {
  border-bottom: 1px solid currentColor;
}

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

.g-property-grid--listing .g-property-card {
  grid-column: auto;
}

.g-property-grid--listing .g-property-card__media {
  aspect-ratio: 1.28 / 1;
}

.g-property-grid--listing .g-property-card h3 {
  font-size: clamp(23px, 2vw, 30px);
}

.g-listings__map {
  position: sticky;
  top: 110px;
}

.admin-bar .g-listings__map {
  top: 142px;
}

.g-map--sticky {
  height: calc(100vh - 142px);
  min-height: 620px;
}

.g-empty-state {
  grid-column: 1 / -1;
  padding: 80px 28px;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  text-align: center;
}

.g-empty-state > span {
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.g-empty-state h2 {
  margin: 12px 0;
  font-family: var(--g-display);
  font-size: 48px;
  font-weight: 400;
}

.g-empty-state p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--g-ink-soft);
}

.g-pagination {
  margin-top: 56px;
}

.g-pagination ul {
  display: flex;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.g-pagination a,
.g-pagination span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--g-line);
  border-radius: 50%;
  font-size: 12px;
}

.g-pagination .current {
  border-color: var(--g-ink);
  background: var(--g-ink);
  color: var(--g-white);
}

.g-single-property {
  padding-top: 62px;
}

.g-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--g-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g-breadcrumbs span:last-child {
  color: var(--g-blue);
}

.g-single-property__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.g-single-property__tags {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--g-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.g-single-property h1 {
  max-width: 1000px;
  font-size: clamp(54px, 6.4vw, 94px);
}

.g-single-property__title-row p {
  margin: 20px 0 0;
  color: var(--g-ink-soft);
}

.g-single-property__price {
  display: grid;
  gap: 4px;
  padding-bottom: 9px;
  text-align: right;
}

.g-single-property__price span {
  color: var(--g-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-single-property__price strong {
  white-space: nowrap;
  font-family: var(--g-display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
}

.g-property-gallery {
  position: relative;
  display: grid;
  height: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 10px;
  overflow: hidden;
  border-radius: 28px;
}

.g-property-gallery__item {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #d7dfe1;
}

.g-property-gallery__item--0 {
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 2 / 1;
}

.g-property-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.g-property-gallery__item:hover img {
  transform: scale(1.025);
}

.g-property-gallery--single {
  display: block;
  height: auto;
}

.g-property-gallery--single .g-property-gallery__item {
  aspect-ratio: 16 / 9;
}

.g-property-gallery__count {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 700;
}

.g-single-property__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  padding-block: clamp(70px, 8vw, 120px);
}

.g-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 74px;
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-feature-strip > div {
  display: grid;
  gap: 4px;
  padding: 24px 18px;
  border-right: 1px solid var(--g-line);
}

.g-feature-strip > div:first-child {
  padding-left: 0;
}

.g-feature-strip > div:last-child {
  border-right: 0;
}

.g-feature-strip strong {
  font-family: var(--g-display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.g-feature-strip span {
  color: var(--g-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g-property-description {
  margin-bottom: 86px;
}

.g-prose {
  max-width: 820px;
  color: var(--g-ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

.g-prose > *:first-child {
  margin-top: 0;
}

.g-prose h2,
.g-prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--g-ink);
  font-family: var(--g-display);
  font-weight: 400;
  line-height: 1.1;
}

.g-prose h2 {
  font-size: 42px;
}

.g-prose strong {
  color: var(--g-ink);
}

.g-property-location {
  margin-top: 70px;
}

.g-map--single {
  height: 520px;
}

.g-contact-card {
  position: sticky;
  top: 30px;
  padding: 34px;
  border-radius: 26px;
  background: var(--g-sand);
}

.admin-bar .g-contact-card {
  top: 62px;
}

.g-contact-card h2 {
  font-size: 44px;
}

.g-contact-card > p {
  margin: 18px 0 26px;
  color: var(--g-ink-soft);
  font-size: 14px;
}

.g-contact-card__agent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 15px 0;
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-contact-card__agent img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--g-white);
  object-fit: cover;
  object-position: center 24%;
}

.g-contact-card__agent div {
  display: grid;
}

.g-contact-card__agent strong {
  font-size: 13px;
}

.g-contact-card__agent span {
  color: var(--g-ink-soft);
  font-size: 10px;
}

.g-contact-card__phone {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.g-property-grid--three .g-property-card {
  grid-column: span 4;
}

@media (max-width: 1180px) {
  .g-header__inner {
    min-height: 84px;
  }

  .g-nav {
    gap: clamp(12px, 1.55vw, 19px);
    font-size: 11px;
  }

  .g-nav > a:not(.g-nav__contact) {
    display: block;
  }

  .g-nav__contact {
    min-height: 44px;
    gap: 14px;
    padding-inline: 16px;
  }

  .g-hero__feature {
    display: none;
  }

  .g-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  }

  .g-filter-form--without-bedrooms {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  .g-filter-form__keyword {
    display: none !important;
  }

  .g-listings__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

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

  .g-valuation-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
    gap: 48px;
  }

  .g-valuation-hero__image {
    min-height: 470px;
  }

  .g-valuation-request__grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(440px, 1fr);
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .g-shell {
    width: min(calc(100% - 40px), var(--g-shell));
  }

  .g-menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }

  .g-header {
    z-index: 1000;
  }

  .g-header.is-menu-open,
  .g-header--overlay.is-scrolled.is-menu-open {
    position: fixed;
    top: 0;
    bottom: 0;
    min-height: 100vh;
    min-height: 100dvh;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    background: var(--g-ink);
    color: var(--g-white);
    box-shadow: none;
    backdrop-filter: none;
  }

  .admin-bar .g-header.is-menu-open,
  .admin-bar .g-header--overlay.is-scrolled.is-menu-open {
    top: 32px;
  }

  .g-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .g-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .g-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .g-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 178px max(28px, calc((100vw - var(--g-shell)) / 2)) 38px;
    padding:
      clamp(178px, 22dvh, 232px)
      max(28px, calc((100vw - var(--g-shell)) / 2))
      max(38px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 90% 8%, rgba(0, 92, 129, 0.5), transparent 34%),
      var(--g-ink);
    color: var(--g-white);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .g-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .g-nav > a:not(.g-nav__contact) {
    display: block;
    width: 100%;
    padding: 27px 0 29px;
    padding:
      clamp(27px, 3.6dvh, 36px)
      0
      clamp(29px, 3.8dvh, 38px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--g-display);
    font-size: clamp(34px, 8.5vw, 48px);
    font-weight: 400;
    line-height: 1;
  }

  .g-nav__contact {
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
    margin-top: 30px;
    margin-top: clamp(30px, 4dvh, 42px);
    padding-inline: 22px;
  }

  .admin-bar .g-nav {
    top: 32px;
  }

  .g-hero__inner {
    padding-bottom: 250px;
  }

  .g-search-bar {
    bottom: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .g-search-bar label {
    border-bottom: 1px solid var(--g-line);
  }

  .g-search-bar label:nth-child(2) {
    border-right: 0;
  }

  .g-search-bar label:nth-child(3) {
    border-bottom: 0;
  }

  .g-search-bar button {
    min-height: 64px;
  }

  .g-intro__grid,
  .g-valuation__card,
  .g-single-property__layout {
    grid-template-columns: 1fr;
  }

  .g-property-card,
  .g-property-card--featured {
    grid-column: span 6;
  }

  .g-property-card--featured .g-property-card__media {
    aspect-ratio: 1.24 / 1;
  }

  .g-place-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g-place-card:first-child {
    grid-column: 1 / -1;
  }

  .g-map-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .g-footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .g-listings__layout {
    grid-template-columns: 1fr;
  }

  .g-listings__map {
    position: static;
    grid-row: 1;
  }

  .g-map--sticky {
    height: 520px;
    min-height: 0;
  }

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

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

  .g-filter-form--without-bedrooms .g-filter-form__city {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .g-filter-form label {
    border-bottom: 1px solid var(--g-line);
  }

  .g-filter-form__type,
  .g-filter-form__bedrooms {
    border-right: 0 !important;
  }

  .g-filter-form button {
    min-height: 56px;
    grid-column: 1 / -1;
  }

  .g-single-property__layout {
    gap: 50px;
  }

  .g-contact-card {
    position: static;
  }

  .g-valuation-hero {
    min-height: 0;
  }

  .g-valuation-hero__inner,
  .g-valuation-intro__grid,
  .g-valuation-factors__grid,
  .g-valuation-request__grid {
    grid-template-columns: 1fr;
  }

  .g-valuation-hero__inner {
    gap: 56px;
    padding-top: 168px;
    padding-bottom: 80px;
  }

  .g-valuation-hero__copy {
    max-width: 720px;
  }

  .g-valuation-hero__image {
    width: min(100%, 560px);
    min-height: 520px;
    justify-self: end;
  }

  .g-valuation-intro__copy {
    max-width: 620px;
    padding-top: 0;
  }

  .g-valuation-steps {
    grid-template-columns: 1fr;
  }

  .g-valuation-steps article,
  .g-valuation-steps article:first-child,
  .g-valuation-steps article:last-child {
    min-height: 0;
    padding: 30px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--g-line);
  }

  .g-valuation-steps article:last-child {
    border-bottom: 0;
  }

  .g-valuation-steps article > span {
    margin-bottom: 34px;
  }

  .g-valuation-factors__grid {
    gap: 64px;
  }

  .g-valuation-agent {
    position: static;
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  .g-nav {
    padding-top: 108px;
  }

  .g-nav > a:not(.g-nav__contact) {
    padding: 13px 0 15px;
  }

  .g-nav__contact {
    margin-top: 22px;
  }
}

@media (max-width: 680px) {
  .g-whatsapp-float {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 54px;
    min-height: 54px;
    padding: 0;
  }

  .g-whatsapp-float span {
    display: none;
  }

  .g-shell {
    width: min(calc(100% - 28px), var(--g-shell));
  }

  .g-section {
    padding-block: 74px;
  }

  .g-header__inner {
    min-height: 76px;
  }

  .g-brand {
    width: 135px;
  }

  .admin-bar .g-header--overlay,
  .admin-bar .g-header--overlay.is-scrolled {
    top: 46px;
  }

  .admin-bar .g-header.is-menu-open,
  .admin-bar .g-header--overlay.is-scrolled.is-menu-open,
  .admin-bar .g-nav {
    top: 46px;
  }

  .g-hero {
    min-height: 860px;
  }

  .g-hero__inner {
    align-items: flex-start;
    padding-top: 170px;
    padding-bottom: 310px;
  }

  .g-hero h1 {
    font-size: clamp(54px, 16vw, 82px);
    line-height: 1;
  }

  .g-hero__copy > p {
    margin-top: 22px;
    font-size: 15px;
  }

  .g-search-bar {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 18px;
  }

  .g-search-bar label {
    padding: 8px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--g-line) !important;
  }

  .g-search-bar label:nth-child(3) {
    display: none;
  }

  .g-search-bar button {
    min-width: 0;
    min-height: 58px;
    margin-top: 4px;
  }

  .g-intro h2,
  .g-section-heading h2,
  .g-map-section h2,
  .g-valuation h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .g-intro__grid {
    gap: 38px;
  }

  .g-intro--promise .g-intro__grid {
    gap: 32px;
  }

  .g-stats {
    grid-template-columns: 1fr;
  }

  .g-stats > div,
  .g-stats > div:first-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--g-line);
  }

  .g-stats > div:last-child {
    border-bottom: 0;
  }

  .g-home-stats {
    padding-block: 14px;
  }

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

  .g-stats--standalone > div,
  .g-stats--standalone > div:first-child {
    min-width: 0;
    padding: 14px 8px;
    border-right: 1px solid var(--g-line);
    border-bottom: 0;
  }

  .g-stats--standalone > div:first-child {
    padding-left: 0;
  }

  .g-stats--standalone > div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .g-stats--standalone strong {
    font-size: clamp(26px, 8.3vw, 35px);
  }

  .g-stats--standalone span {
    font-size: 8px;
    line-height: 1.35;
  }

  .g-map-section {
    padding-top: 56px;
  }

  .g-about__body {
    margin-top: 38px;
  }

  .g-about__body .g-about__lead {
    margin-bottom: 27px;
    font-size: 22px;
  }

  .g-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .g-property-grid,
  .g-property-grid--listing,
  .g-property-grid--three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .g-property-card,
  .g-property-card--featured,
  .g-property-grid--three .g-property-card {
    grid-column: auto;
  }

  .g-property-card__media,
  .g-property-card--featured .g-property-card__media {
    aspect-ratio: 1.3 / 1;
  }

  .g-property-card h3 {
    font-size: 28px;
  }

  .g-property-card__arrow {
    transform: none;
    opacity: 1;
  }

  .g-place-grid {
    grid-template-columns: 1fr;
  }

  .g-place-card,
  .g-place-card:first-child {
    min-height: 420px;
    grid-column: auto;
  }

  .g-map {
    height: 520px;
    border-radius: 22px;
  }

  .g-valuation__card {
    gap: 38px;
    padding: 42px 26px;
    border-radius: 24px;
  }

  .g-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .g-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .g-listing-hero {
    padding: 72px 0 48px;
  }

  .g-listing-hero h1 {
    font-size: 64px;
  }

  .g-listing-controls {
    position: static;
  }

  .g-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .g-filter-form label {
    padding: 9px 13px;
    border-bottom: 1px solid var(--g-line);
  }

  .g-filter-form__type,
  .g-filter-form__bedrooms {
    border-right: 0;
  }

  .g-filter-form button {
    min-height: 54px;
    grid-column: 1 / -1;
  }

  .g-listings__map {
    display: none;
  }

  .g-single-property {
    padding-top: 38px;
  }

  .g-single-property__title-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .g-single-property h1 {
    font-size: 50px;
  }

  .g-single-property__price {
    text-align: left;
  }

  .g-property-gallery,
  .g-property-gallery--single {
    display: flex;
    height: auto;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    border-radius: 22px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .g-property-gallery::-webkit-scrollbar {
    display: none;
  }

  .g-property-gallery__item {
    min-width: 92%;
    height: auto;
    aspect-ratio: 16 / 10;
    scroll-snap-align: start;
  }

  .g-property-gallery__item--0 {
    aspect-ratio: 16 / 10;
  }

  .g-property-gallery--single .g-property-gallery__item {
    min-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .g-feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-feature-strip > div:nth-child(2) {
    border-right: 0;
  }

  .g-feature-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--g-line);
  }

  .g-prose {
    font-size: 16px;
  }

  .g-valuation-hero__inner {
    gap: 44px;
    padding-top: 142px;
    padding-bottom: 62px;
  }

  .g-valuation-hero h1 {
    font-size: clamp(51px, 14.5vw, 72px);
    line-height: 0.98;
  }

  .g-valuation-hero__copy > p {
    margin-top: 23px;
    font-size: 15px;
  }

  .g-valuation-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .g-valuation-hero__image {
    width: 100%;
    min-height: 390px;
    border-radius: 160px 160px 24px 24px;
  }

  .g-valuation-hero__image figcaption {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .g-valuation-hero__image figcaption strong {
    font-size: 23px;
  }

  .g-valuation-intro h2,
  .g-valuation-process h2,
  .g-valuation-factors h2,
  .g-valuation-request h2 {
    font-size: clamp(43px, 12.5vw, 59px);
  }

  .g-valuation-note {
    padding-left: 20px;
  }

  .g-valuation-process .g-section-heading > p {
    margin-top: 10px;
  }

  .g-valuation-steps {
    margin-top: 48px;
  }

  .g-valuation-factors__list > div {
    grid-template-columns: 34px 1fr;
    gap: 5px 14px;
    padding: 22px 0;
  }

  .g-valuation-factors__list small {
    grid-column: 2;
  }

  .g-valuation-request__grid {
    gap: 48px;
  }

  .g-valuation-form {
    gap: 19px;
    padding: 27px 20px;
    border-radius: 22px;
  }

  .g-valuation-form__row {
    grid-template-columns: 1fr;
    gap: 19px;
  }
}

/* Editorial featured property on the homepage. */
.g-properties .g-property-card--featured {
  display: grid;
  min-height: 560px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 0.72fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--g-blue-deep);
  box-shadow: var(--g-shadow);
  color: var(--g-white);
}

.g-properties .g-property-card--featured .g-property-card__media {
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
  border-radius: 0;
}

.g-properties .g-property-card--featured .g-property-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(44px, 4.6vw, 72px);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 92, 129, 0.72), transparent 42%),
    linear-gradient(145deg, var(--g-blue-deep), var(--g-ink));
}

.g-properties .g-property-card--featured .g-property-card__location {
  margin-bottom: 18px;
  color: var(--g-gold-light);
}

.g-properties .g-property-card--featured h3 {
  margin-bottom: 34px;
  color: var(--g-white);
  font-size: clamp(39px, 3.35vw, 54px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.g-properties .g-property-card--featured h3 a {
  color: inherit;
}

.g-properties .g-property-card--featured .g-property-card__meta {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top-color: rgba(255, 255, 255, 0.2);
}

.g-properties .g-property-card--featured .g-property-card__meta strong {
  color: var(--g-white);
  font-size: 17px;
}

.g-properties .g-property-card--featured .g-property-card__meta span {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .g-properties .g-property-card--featured {
    min-height: 500px;
    grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.8fr);
  }

  .g-properties .g-property-card--featured .g-property-card__media {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .g-properties .g-property-card--featured {
    min-height: 0;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .g-properties .g-property-card--featured .g-property-card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.55 / 1;
  }

  .g-properties .g-property-card--featured .g-property-card__body {
    min-height: 310px;
    padding: 44px;
  }
}

@media (max-width: 680px) {
  .g-properties .g-property-card--featured {
    border-radius: 24px;
  }

  .g-properties .g-property-card--featured .g-property-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .g-properties .g-property-card--featured .g-property-card__body {
    min-height: 270px;
    padding: 32px 24px 36px;
  }

  .g-properties .g-property-card--featured h3 {
    margin-bottom: 24px;
    font-size: 34px;
  }
}

/* San José — Montevideo connection. */
.g-nexus {
  background: var(--g-white);
}

.g-valuation--home {
  background: var(--g-sand);
}

.g-nexus__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(64px, 9vw, 150px);
  align-items: center;
}

.g-nexus__copy h2 {
  margin: 0 0 34px;
  font-family: var(--g-display);
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.g-nexus__copy h2 em {
  color: var(--g-blue);
  font-weight: 400;
}

.g-nexus__copy > p {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--g-ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.g-nexus__copy > p.g-nexus__statement {
  margin: 28px 0;
  color: var(--g-ink);
  font-family: var(--g-display);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.35;
}

.g-nexus__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.g-nexus__route {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(38px, 4.5vw, 68px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 92, 129, 0.72), transparent 43%),
    linear-gradient(135deg, #061d25 0%, var(--g-ink) 72%);
  box-shadow: var(--g-shadow);
  color: var(--g-white);
}

.g-nexus__route::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.g-nexus__route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.g-nexus__route-head b {
  color: var(--g-gold-light);
  font-weight: 700;
}

.g-nexus__route-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(90px, 0.6fr) 1fr;
  gap: 20px;
  align-items: center;
  margin-top: clamp(72px, 7vw, 105px);
}

.g-nexus__place {
  display: grid;
  gap: 5px;
}

.g-nexus__place--right {
  justify-items: end;
  text-align: right;
}

.g-nexus__place small {
  color: var(--g-gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.g-nexus__place strong {
  font-family: var(--g-display);
  font-size: clamp(35px, 3.3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.g-nexus__place > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.g-nexus__connector {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-nexus__connector i {
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
}

.g-nexus__route-note {
  position: absolute;
  z-index: 1;
  right: clamp(38px, 4.5vw, 68px);
  bottom: clamp(38px, 4.5vw, 68px);
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--g-display);
  font-size: 21px;
  line-height: 1.25;
  text-align: right;
}

/* Editorial About page. */
.g-about-hero {
  position: relative;
  display: flex;
  min-height: min(900px, 96vh);
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(0, 92, 129, 0.56), transparent 32%),
    linear-gradient(130deg, #041921 0%, var(--g-ink) 52%, #0b4359 100%);
  color: var(--g-white);
}

.g-about-hero__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.g-about-hero__texture::after {
  position: absolute;
  right: -170px;
  bottom: -390px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 110px rgba(255, 255, 255, 0.025),
    0 0 0 220px rgba(255, 255, 255, 0.018);
  content: "";
}

.g-about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.52fr);
  gap: clamp(62px, 9vw, 150px);
  align-items: end;
  padding-top: 190px;
  padding-bottom: clamp(90px, 10vh, 124px);
}

.g-about-hero__copy {
  max-width: 1000px;
}

.g-about-hero h1 {
  margin: 0;
  font-family: var(--g-display);
  font-size: clamp(76px, 9.3vw, 142px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.g-about-hero h1 em {
  color: #f4cc91;
  font-weight: 400;
}

.g-about-hero__copy > p {
  max-width: 630px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.g-about-hero__seal {
  display: grid;
  min-height: 290px;
  align-content: space-between;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(5, 29, 38, 0.34);
  backdrop-filter: blur(9px);
}

.g-about-hero__seal > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.g-about-hero__seal > div {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.g-about-hero__seal strong {
  font-family: var(--g-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.g-about-hero__seal b {
  color: var(--g-gold-light);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-about-hero__seal i {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.g-about-hero__seal small {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--g-display);
  font-size: 18px;
  line-height: 1.3;
}

.g-about-intro {
  background: var(--g-white);
}

.g-about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
  gap: clamp(72px, 11vw, 175px);
  align-items: start;
}

.g-about-intro h2,
.g-about-team h2,
.g-about-story h2,
.g-about-principles h2,
.g-about-cta h2 {
  margin: 0;
  font-family: var(--g-display);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.g-about-intro h2 {
  max-width: 670px;
  font-size: clamp(53px, 5.8vw, 88px);
}

.g-about-intro__copy {
  padding-top: 42px;
}

.g-about-intro__copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--g-ink-soft);
  font-size: 17px;
  line-height: 1.82;
}

.g-about-intro__copy .g-about-intro__lead {
  margin-bottom: 32px;
  color: var(--g-ink);
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.55;
}

.g-about-intro__signature {
  display: grid;
  gap: 5px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--g-line);
}

.g-about-intro__signature strong {
  font-size: 13px;
}

.g-about-intro__signature span {
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.g-about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(82px, 9vw, 130px);
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-about-metrics > div {
  display: grid;
  min-height: 170px;
  align-content: center;
  padding: 28px clamp(24px, 3.5vw, 54px);
  border-right: 1px solid var(--g-line);
}

.g-about-metrics > div:first-child {
  padding-left: 0;
}

.g-about-metrics > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.g-about-metrics strong {
  font-family: var(--g-display);
  font-size: clamp(48px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.g-about-metrics span {
  margin-top: 7px;
  color: var(--g-ink-soft);
  font-size: 12px;
}

.g-about-metrics small {
  margin-top: 4px;
  color: var(--g-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g-about-team__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: end;
}

.g-about-team__heading--solo {
  display: block;
}

.g-about-team__heading--solo > div {
  max-width: 980px;
}

.g-about-team h2 {
  font-size: clamp(55px, 6.5vw, 98px);
}

.g-about-team h2 em {
  color: var(--g-blue);
  font-weight: 400;
}

.g-about-team__heading > p {
  max-width: 500px;
  margin: 0 0 8px;
  color: var(--g-ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.g-about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 6vw, 92px);
  margin-top: clamp(72px, 8vw, 120px);
}

.g-person-card--offset {
  margin-top: 88px;
}

.g-person-card__portrait {
  position: relative;
  aspect-ratio: 4 / 4.7;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #3d3b3b;
}

.g-person-card__portrait::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(4, 25, 33, 0.62));
  content: "";
}

.g-person-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 650ms ease;
}

.g-person-card__portrait--jesus img {
  object-position: center center;
}

.g-person-card:hover .g-person-card__portrait img {
  transform: scale(1.018);
}

.g-person-card__portrait figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.g-person-card__body {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 1fr);
  column-gap: 32px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--g-line);
}

.g-person-card__index {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--g-blue);
}

.g-person-card__index span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.g-person-card__index small {
  color: var(--g-ink-soft);
  font-size: 11px;
}

.g-person-card h3 {
  margin: 0;
  font-family: var(--g-display);
  font-size: clamp(45px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.g-person-card__role,
.g-person-card__position,
.g-person-card__body > p {
  grid-column: 2;
}

.g-person-card__body .g-person-card__position {
  margin: 19px 0 0;
  color: var(--g-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.g-person-card__body .g-person-card__role {
  margin: 8px 0 10px;
  color: var(--g-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.g-person-card__body > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--g-ink-soft);
  font-size: 14px;
}

.g-about-story {
  background: var(--g-white);
}

.g-about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 0.85fr);
  gap: clamp(80px, 12vw, 190px);
  align-items: start;
}

.g-about-story__heading {
  position: sticky;
  top: 140px;
}

.g-about-story h2 {
  max-width: 650px;
  font-size: clamp(54px, 6vw, 90px);
}

.g-about-story blockquote {
  max-width: 530px;
  margin: 58px 0 0;
  padding: 26px 0 0 30px;
  border-top: 1px solid var(--g-line);
  border-left: 3px solid var(--g-gold);
  color: var(--g-blue);
  font-family: var(--g-display);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.35;
}

.g-about-story__copy {
  padding-top: 48px;
}

.g-about-story__copy p {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--g-line);
  color: var(--g-ink-soft);
  font-size: 17px;
  line-height: 1.82;
}

.g-about-story__copy .g-about-story__lead {
  padding-top: 0;
  color: var(--g-ink);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.58;
}

.g-about-principles__heading {
  max-width: 900px;
}

.g-about-principles h2 {
  font-size: clamp(53px, 6vw, 90px);
}

.g-about-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--g-line);
  border-bottom: 1px solid var(--g-line);
}

.g-about-principles article {
  min-height: 330px;
  padding: 34px clamp(26px, 3.5vw, 54px) 40px;
  border-right: 1px solid var(--g-line);
}

.g-about-principles article:first-child {
  padding-left: 0;
}

.g-about-principles article:last-child {
  padding-right: 0;
  border-right: 0;
}

.g-about-principles article > span {
  display: block;
  margin-bottom: 72px;
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.g-about-principles h3 {
  max-width: 340px;
  margin: 0 0 18px;
  font-family: var(--g-display);
  font-size: clamp(28px, 2.6vw, 39px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.g-about-principles article p {
  max-width: 350px;
  margin: 0;
  color: var(--g-ink-soft);
  font-size: 14px;
}

.g-about-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.58fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: end;
  padding: clamp(52px, 6.5vw, 92px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 92, 129, 0.72), transparent 43%),
    var(--g-ink);
  box-shadow: var(--g-shadow);
  color: var(--g-white);
}

.g-about-cta h2 {
  font-size: clamp(50px, 5.4vw, 82px);
}

.g-about-cta__card > div:last-child > p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.g-about-cta__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.g-about-cta__actions .g-text-link {
  color: var(--g-white);
}

@media (max-width: 1180px) {
  .g-about-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.48fr);
    gap: 50px;
  }

  .g-about-intro__grid,
  .g-about-story__grid {
    gap: 75px;
  }

  .g-person-card__body {
    grid-template-columns: 60px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .g-nav > a.is-current {
    color: var(--g-gold-light);
  }

  .g-nav > a.is-current::after {
    display: none;
  }

  .g-about-hero {
    min-height: 820px;
  }

  .g-about-hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 172px;
    padding-bottom: 76px;
  }

  .g-about-hero__seal {
    width: min(100%, 560px);
    min-height: 230px;
    justify-self: end;
  }

  .g-about-intro__grid,
  .g-about-team__heading,
  .g-about-story__grid,
  .g-about-cta__card {
    grid-template-columns: 1fr;
  }

  .g-about-intro__copy,
  .g-about-story__copy {
    max-width: 720px;
    padding-top: 0;
  }

  .g-about-team__heading > p {
    max-width: 680px;
  }

  .g-about-team__grid {
    gap: 32px;
  }

  .g-person-card--offset {
    margin-top: 52px;
  }

  .g-about-story__heading {
    position: static;
  }

  .g-about-principles article {
    min-height: 300px;
    padding-inline: 28px;
  }

  .g-about-principles article:first-child {
    padding-left: 0;
  }

  .g-about-principles article:last-child {
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .g-about-hero {
    min-height: 790px;
  }

  .g-about-hero__inner {
    gap: 42px;
    padding-top: 148px;
    padding-bottom: 58px;
  }

  .g-about-hero h1 {
    font-size: clamp(55px, 16.8vw, 76px);
    line-height: 0.92;
  }

  .g-about-hero__copy > p {
    margin-top: 26px;
    font-size: 16px;
  }

  .g-about-hero__seal {
    min-height: 200px;
    padding: 24px;
    border-radius: 22px;
  }

  .g-about-hero__seal > div {
    grid-template-columns: auto 1fr auto;
  }

  .g-about-hero__seal > div i:last-of-type,
  .g-about-hero__seal > div b {
    display: none;
  }

  .g-about-hero__seal strong {
    font-size: 24px;
  }

  .g-about-intro h2,
  .g-about-team h2,
  .g-about-story h2,
  .g-about-principles h2,
  .g-about-cta h2 {
    font-size: clamp(46px, 14vw, 65px);
  }

  .g-about-intro__grid,
  .g-about-team__heading,
  .g-about-story__grid {
    gap: 46px;
  }

  .g-about-intro__copy .g-about-intro__lead,
  .g-about-story__copy .g-about-story__lead {
    font-size: 21px;
  }

  .g-about-metrics {
    grid-template-columns: 1fr;
    margin-top: 68px;
  }

  .g-about-metrics > div,
  .g-about-metrics > div:first-child,
  .g-about-metrics > div:last-child {
    min-height: 126px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--g-line);
  }

  .g-about-metrics > div:last-child {
    border-bottom: 0;
  }

  .g-about-team__grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .g-person-card--offset {
    margin-top: 34px;
  }

  .g-person-card__portrait {
    aspect-ratio: 4 / 4.8;
    border-radius: 22px;
  }

  .g-person-card__body {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
  }

  .g-person-card h3 {
    font-size: 47px;
  }

  .g-about-story blockquote {
    margin-top: 38px;
  }

  .g-about-story__copy p {
    padding-block: 24px;
    font-size: 16px;
  }

  .g-about-principles__grid {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .g-about-principles article,
  .g-about-principles article:first-child,
  .g-about-principles article:last-child {
    min-height: 0;
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--g-line);
  }

  .g-about-principles article:last-child {
    border-bottom: 0;
  }

  .g-about-principles article > span {
    margin-bottom: 28px;
  }

  .g-about-cta__card {
    gap: 42px;
    padding: 42px 24px;
    border-radius: 24px;
  }

  .g-about-cta__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

/* Property lightbox: images stay inside the property instead of opening a raw file. */
.g-property-gallery__item {
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: zoom-in;
}

.g-property-gallery__item:focus-visible {
  outline: 3px solid var(--g-gold-light);
  outline-offset: -5px;
}

.g-property-gallery__count {
  pointer-events: none;
}

body.g-lightbox-open {
  overflow: hidden;
}

.g-lightbox[hidden] {
  display: none !important;
}

.g-lightbox {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.g-lightbox.is-open {
  opacity: 1;
}

.g-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(2, 14, 19, 0.96);
  cursor: zoom-out;
}

.g-lightbox__stage {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1500px, calc(100vw - 56px));
  height: calc(100dvh - 56px);
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 18px;
  align-items: center;
  pointer-events: none;
}

.g-lightbox__stage figure {
  display: grid;
  max-height: 100%;
  gap: 16px;
  justify-items: center;
  margin: 0;
  pointer-events: auto;
}

.g-lightbox__stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 128px);
  border-radius: 12px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.g-lightbox__stage figcaption {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.g-lightbox__stage figcaption strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-lightbox__close,
.g-lightbox__nav {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(4, 31, 41, 0.72);
  color: var(--g-white);
  cursor: pointer;
  place-items: center;
  pointer-events: auto;
  transition: background 160ms ease, transform 160ms ease;
}

.g-lightbox__close:hover,
.g-lightbox__nav:hover {
  background: var(--g-blue);
  transform: scale(1.04);
}

.g-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  font-size: 27px;
  font-weight: 300;
}

.g-lightbox__nav {
  font-size: 22px;
}

.g-lightbox__nav--prev {
  justify-self: start;
}

.g-lightbox__nav--next {
  justify-self: end;
}

@media (max-width: 1180px) {
  .g-nexus__grid {
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }

  .g-nexus__route {
    min-height: 470px;
  }

  .g-nexus__route-body {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 45px;
  }

  .g-nexus__place--right {
    justify-items: start;
    text-align: left;
  }

  .g-nexus__connector {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 900px) {
  .g-nexus__grid {
    grid-template-columns: 1fr;
  }

  .g-nexus__copy > p {
    max-width: 720px;
  }

  .g-nexus__route-body {
    grid-template-columns: 1fr minmax(90px, 0.6fr) 1fr;
    margin-top: 80px;
  }

  .g-nexus__place--right {
    justify-items: end;
    text-align: right;
  }

  .g-nexus__connector {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .g-nexus__copy h2 {
    font-size: clamp(51px, 15vw, 68px);
  }

  .g-nexus__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .g-nexus__route {
    min-height: 510px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .g-nexus__route-body {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 42px;
  }

  .g-nexus__place--right {
    justify-items: start;
    text-align: left;
  }

  .g-nexus__place strong {
    font-size: 39px;
  }

  .g-nexus__connector {
    max-width: 240px;
  }

  .g-nexus__route-note {
    right: 24px;
    bottom: 30px;
    left: 24px;
    font-size: 19px;
    text-align: left;
  }

  .g-lightbox__stage {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 5px;
  }

  .g-lightbox__stage img {
    max-height: calc(100dvh - 115px);
    border-radius: 8px;
  }

  .g-lightbox__close,
  .g-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .g-lightbox__close {
    top: 4px;
    right: 4px;
  }

  .g-lightbox__stage figcaption strong {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-site *,
  .g-site *::before,
  .g-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
