/* broker-white mirror — argentina-4.css */
:root {
  --est-paper: #ebe2d3;
  --est-ink: #2c1810;
  --est-terra: #a8431f;
  --est-olive: #4a5d3f;
  --est-muted: #6b5c52;
  --est-cream: #f7f2ea;
  --est-serif: "Lora", Georgia, serif;
  --est-sans: "Jost", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.est-body {
  font-family: var(--est-sans);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(168, 67, 31, 0.07), transparent 55%),
    linear-gradient(180deg, var(--est-cream) 0%, var(--est-paper) 220px);
  color: var(--est-ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--est-terra); }
img { max-width: 100%; display: block; }

/* Fotos Estancia — solo recorte, sin estirar */
body.est-body .est-hero__visual img,
body.est-body .est-gallery img,
body.est-body .est-split__media img,
body.est-body .est-wide img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.est-masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  text-align: center;
  padding: 1rem 1.5rem .65rem;
  border-bottom: 1px solid rgba(44, 24, 16, 0.12);
  background: rgba(247, 242, 234, 0.9);
  backdrop-filter: blur(10px);
}
.est-masthead__name {
  font-family: var(--est-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-decoration: none;
  color: var(--est-ink);
  display: block;
  letter-spacing: 0.02em;
}
.est-masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  margin-top: .65rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.est-masthead nav a {
  text-decoration: none;
  color: var(--est-olive);
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.est-masthead nav a:hover { color: var(--est-terra); border-color: rgba(168, 67, 31, 0.45); }

.est-kicker {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--est-olive);
  margin-bottom: .85rem;
  font-weight: 600;
}
.est-kicker--light { color: #e8c4a8; }

.est-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 1.5rem clamp(2rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.est-hero__copy h1 {
  font-family: var(--est-serif);
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.est-hero__copy h1::first-letter { color: var(--est-terra); font-weight: 700; }
.est-hero__copy > p {
  color: var(--est-muted);
  max-width: 32rem;
  font-size: 1rem;
  margin-bottom: 1.35rem;
}
.est-btn {
  display: inline-block;
  padding: .65rem 1.35rem;
  background: var(--est-ink);
  color: #f5ebe5 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 4px;
  letter-spacing: .04em;
  transition: transform 0.2s ease, background 0.2s ease;
}
.est-btn:hover { background: var(--est-terra); transform: translateY(-1px); }
.est-hero__visual {
  margin: 0;
  overflow: hidden;
}
.est-hero__visual img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(52vw, 480px);
  object-position: center 38%;
}

.est-band { padding: clamp(2.25rem, 4vw, 3rem) 0; }
.est-band--light {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(44, 24, 16, 0.06);
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
}
.est-band__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.est-section-title {
  font-family: var(--est-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  margin-bottom: 1.25rem;
  text-align: center;
}
.est-section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--est-terra);
  margin: .55rem auto 0;
}

.est-columns {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  column-count: 2;
  column-gap: 2.25rem;
}
.est-columns h2 {
  column-span: all;
  font-family: var(--est-serif);
  font-size: 1.65rem;
  margin-bottom: 1rem;
  text-align: left;
}
.est-columns h2::after { display: none; }
.est-columns p {
  margin-bottom: 1rem;
  font-size: .95rem;
  color: var(--est-muted);
  break-inside: avoid;
}

.est-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.est-cards article {
  padding: 1.2rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(44, 24, 16, 0.08);
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.06);
}
.est-cards h3 {
  font-family: var(--est-serif);
  font-size: 1.02rem;
  margin-bottom: .45rem;
  color: var(--est-ink);
}
.est-cards p { font-size: .88rem; color: var(--est-muted); line-height: 1.55; }

.est-gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem clamp(2.5rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 1.15rem;
  align-items: stretch;
  min-height: clamp(300px, 36vw, 420px);
}
.est-gallery figure {
  margin: 0;
  overflow: hidden;
  display: block;
  min-height: 0;
  height: 100%;
}
.est-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
}
.est-gallery__wide img { object-position: center 40%; }
.est-gallery__tall img { object-position: center 30%; }

.est-split {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.est-split__copy h2 {
  font-family: var(--est-serif);
  font-size: 1.65rem;
  margin-bottom: .75rem;
}
.est-lede {
  color: var(--est-muted);
  font-size: .95rem;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.est-split__media {
  margin: 0;
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.est-split__media img {
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center 36%;
}

@media (min-width: 821px) {
  .est-split__media {
    position: relative;
    top: auto;
  }
}
@media (max-width: 820px) {
  .est-split__media {
    display: block;
    height: auto;
  }
  .est-split__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

.est-box {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(44, 24, 16, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.05);
}
.est-box h3 {
  font-family: var(--est-serif);
  margin-bottom: .65rem;
  font-size: 1.05rem;
}
.est-list {
  list-style: none;
  font-size: .9rem;
  color: var(--est-muted);
}
.est-list li {
  padding: .4rem 0 .4rem 1.1rem;
  position: relative;
  border-bottom: 1px dotted rgba(44, 24, 16, 0.12);
}
.est-list li:last-child { border-bottom: none; }
.est-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--est-terra);
}

.est-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.est-steps li {
  padding: 1.35rem 1.15rem 1.15rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(44, 24, 16, 0.09);
  box-shadow: 0 10px 28px rgba(44, 24, 16, 0.05);
  position: relative;
  padding-top: 2.85rem;
}
.est-steps li::before {
  content: counter(est);
  counter-increment: est;
  position: absolute;
  left: 1.15rem;
  top: 1rem;
  font-family: var(--est-serif);
  font-size: 1.35rem;
  color: var(--est-terra);
  font-weight: 600;
}
.est-proceso { counter-reset: est; }
.est-steps h3 { font-size: .98rem; margin-bottom: .3rem; }
.est-steps p { font-size: .88rem; color: var(--est-muted); }

.est-wide {
  margin: 0;
  overflow: hidden;
}
.est-wide img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
  object-position: center 40%;
}
.est-wide--advisor img {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  object-position: center 48%;
}

.est-pricing { text-align: center; }
.est-pricing__note {
  color: var(--est-muted);
  font-size: .9rem;
  margin: -.5rem auto 1.25rem;
  max-width: 28rem;
}
.est-pricing__card {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(44, 24, 16, 0.1);
  box-shadow: 0 14px 36px rgba(44, 24, 16, 0.08);
}
.est-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.est-table th,
.est-table td {
  padding: .65rem .35rem;
  border-bottom: 1px solid rgba(44, 24, 16, 0.12);
  text-align: left;
}
.est-table th { font-family: var(--est-serif); font-weight: 600; }
.est-table tr:last-child td { border-bottom: none; }

.est-voices {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.est-voices article {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--est-terra);
  font-size: .92rem;
  color: var(--est-muted);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.05);
}
.est-voices cite {
  display: block;
  margin-top: .65rem;
  font-weight: 600;
  color: var(--est-ink);
  font-style: normal;
  font-size: .8rem;
}

.est-faq {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}
.est-faq .est-section-title { margin-bottom: 1rem; }
.est-faq details {
  padding: .65rem 0;
  border-bottom: 1px dotted rgba(44, 24, 16, 0.22);
}
.est-faq summary { cursor: pointer; font-weight: 600; font-size: .95rem; }
.est-faq p { margin-top: .45rem; color: var(--est-muted); font-size: .88rem; }

.est-closing {
  padding: clamp(2.25rem, 4vw, 3rem) 1.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(44, 24, 16, 0.1);
}
.est-closing__inner {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.15rem;
  border-left: 4px solid var(--est-terra);
}
.est-closing h2 {
  font-family: var(--est-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--est-ink);
}
.est-closing__text {
  font-size: 0.94rem;
  color: var(--est-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.est-closing__reach {
  font-family: var(--est-serif);
  font-size: 1.02rem;
  color: var(--est-ink);
  margin-bottom: 0.65rem;
}
.est-closing__reach a {
  color: var(--est-terra);
  font-weight: 600;
  text-decoration: none;
}
.est-closing__reach a:hover { text-decoration: underline; }
.est-closing__fine {
  font-size: 0.8rem;
  color: var(--est-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.est-sitefoot {
  margin-top: 0;
  padding: 0 1.5rem 2.5rem;
  background: var(--est-paper);
  color: var(--est-muted);
  font-size: 0.88rem;
}
.est-sitefoot__rule {
  height: 3px;
  max-width: 980px;
  margin: 0 auto 1.75rem;
  background: repeating-linear-gradient(
    90deg,
    var(--est-terra) 0,
    var(--est-terra) 48px,
    var(--est-olive) 48px,
    var(--est-olive) 96px
  );
}
.est-sitefoot__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.est-sitefoot__brand {
  font-family: var(--est-serif);
  font-size: 1.35rem;
  color: var(--est-ink);
  margin-bottom: 0.35rem;
}
.est-sitefoot__lede {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--est-olive);
  margin-bottom: 1.35rem;
}
.est-sitefoot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(44, 24, 16, 0.12);
  border-bottom: 1px solid rgba(44, 24, 16, 0.12);
}
.est-sitefoot__label {
  font-family: var(--est-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--est-terra);
}
.est-sitefoot a { color: var(--est-terra); text-decoration: none; }
.est-sitefoot a:hover { text-decoration: underline; }
.est-sitefoot__fine {
  font-size: 0.76rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto 1rem;
}
.est-sitefoot__copy {
  font-size: 0.72rem;
  color: var(--est-muted);
  opacity: 0.85;
}

/* Sin cl-reveal sobre marcos de foto (evita transform / parpadeo en img) */
body.est-body .est-hero__visual,
body.est-body .est-gallery figure,
body.est-body .est-split__media,
body.est-body .est-wide {
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 640px) {
  .est-cards { grid-template-columns: repeat(2, 1fr); }
  .est-steps { grid-template-columns: repeat(3, 1fr); }
  .est-steps li { padding-top: 1.35rem; padding-left: 1.15rem; }
  .est-steps li::before { top: auto; position: static; display: block; margin-bottom: .35rem; }
}

@media (min-width: 960px) {
  .est-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .est-hero { grid-template-columns: 1fr; }
  .est-hero__visual { order: -1; }
  .est-hero__visual img { aspect-ratio: 16 / 9; max-height: 320px; height: auto; }
  .est-columns { column-count: 1; padding: 0; }
  .est-gallery {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .est-gallery figure { height: auto; }
  .est-gallery img {
    height: auto;
    aspect-ratio: unset;
  }
  .est-gallery__wide img { aspect-ratio: 16 / 9; }
  .est-gallery__tall img { aspect-ratio: 3 / 4; }
  .est-split { grid-template-columns: 1fr; align-items: start; }
  .est-split__media { position: static; }
  .est-voices { grid-template-columns: 1fr; }
  .est-wide--advisor img { object-position: center 45%; }
  .est-sitefoot__cols { grid-template-columns: 1fr; text-align: center; }
}
/* Shared site footer — themed via --ft-* on each landing */
.cl-footer {
  margin-top: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--ft-border, rgba(255,255,255,0.1));
  background: var(--ft-bg, #0a0f18);
  color: var(--ft-text, rgba(255,255,255,0.72));
  font-size: 0.88rem;
  line-height: 1.55;
}
.cl-footer a {
  color: var(--ft-link, inherit);
  text-decoration: none;
}
.cl-footer a:hover {
  color: var(--ft-link-hover, #fff);
  text-decoration: underline;
}
.cl-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 2rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.cl-footer__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ft-title, #fff);
  margin-bottom: 0.35rem;
}
.cl-footer__tagline {
  font-size: 0.8rem;
  opacity: 0.82;
  margin-bottom: 0.55rem;
  max-width: 36ch;
}
.cl-footer__addr {
  font-size: 0.85rem;
  max-width: 28ch;
  opacity: 0.88;
}
.cl-footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--ft-muted, rgba(255,255,255,0.5));
}
.cl-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
  font-size: 0.85rem;
}
.cl-footer__contact { font-size: 0.85rem; line-height: 1.75; margin: 0; }
.cl-footer__risk {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.88;
  color: var(--ft-text, rgba(255,255,255,0.72));
}
.cl-footer__copy {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.65;
}
@media (max-width: 800px) {
  .cl-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
/* Preserve intrinsic aspect ratio — no forced squash */
.cord-hero__visual img,
.cord-split__img img,
.cord-galeria img,
.cord-team img,
.lit-hero figure img,
.lit-app-shot,
.lit-section > figure img,
.lit-gallery img,
.aus-compliance + figure img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center;
}

.cord-galeria figure,
.map-galeria figure,
.lit-gallery figure,
.cord-split__img,
.map-photo-row figure {
  background: rgba(0, 0, 0, 0.12);
}

.lit-testi img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Wide banners: gentle cap on ultra-tall viewports */
.class-wide img,
.cord-class img {
  max-height: min(52vh, 520px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 900px) {
  .cord-hero__visual img {
    max-height: min(85vh, 960px);
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Chile-2 Mapocho — photos fill their frames (editorial crop) */
.map-mast {
  align-items: stretch;
}
.map-mast__photo {
  overflow: hidden;
  display: block;
  min-height: clamp(280px, 42vh, 520px);
  height: 100%;
}
.map-mast__photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.map-photo-row figure,
.map-split > figure {
  overflow: hidden;
  margin: 0;
  position: relative;
  background: #e8dfd4;
  border-radius: 6px;
}
.map-galeria figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.map-photo-row figure {
  aspect-ratio: 3 / 2;
}
.map-photo-row figure.map-figure--portrait {
  aspect-ratio: 3 / 4;
}
.map-photo-row figure.map-figure--portrait img {
  object-fit: cover;
  object-position: center top;
  height: 100%;
}
.map-split > figure {
  aspect-ratio: 5 / 4;
  min-height: min(52vw, 360px);
}
.map-section--dark .map-split > figure {
  background: rgba(255, 255, 255, 0.06);
}

.map-galeria img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #e8dfd4;
}
.map-photo-row img,
.map-split > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Chile-5 Austral — framed crops (override generic img rules) */
.aus-intro__visual img,
.aus-split__media img,
.aus-inline-photo img,
.aus-mercados-top__photo img,
.aus-cards--media img,
.aus-duo img,
.aus-triple img,
.aus-panel figure img,
.pac-hero__bg img,
.pac-bento__wide img,
.pac-mercados__img img,
.lit-mast__visual img,
.lit-zigzag img,
.lit-banner img {
  object-fit: cover !important;
  object-position: center;
  max-height: none !important;
}
/* Argentina — unique layouts (image framing only) */

.obl-veil__bg img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center 35%;
}
.obl-tile--wide figure:not(.obl-figure--team) {
  min-height: clamp(160px, 28vw, 280px);
  background: #0a1628;
}
.obl-tile--wide figure:not(.obl-figure--team) img,
.obl-band figure:not(.obl-figure--team) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 901px) {
  .obl-mercados-photos .obl-figure--land img {
    object-fit: cover !important;
    object-position: center 40% !important;
  }
  .obl-mercados-photos .obl-figure--team img {
    object-fit: contain !important;
    height: 100% !important;
    max-height: 100% !important;
  }
}
@media (max-width: 900px) {
  .obl-mercados-photos .obl-figure--team img {
    height: auto !important;
    object-fit: unset !important;
    max-height: none !important;
  }
}
.obl-figure--team img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: unset !important;
  object-position: center center !important;
}
.obl-figure--inset img,
.obl-end__bg img {
  object-fit: cover;
  object-position: center 32%;
}
.obl-figure--faq img {
  object-position: center 55%;
}

.mlg-collage__main {
  aspect-ratio: 4 / 5;
  max-height: min(62vh, 520px);
}
.mlg-collage__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.mlg-collage__stack figure {
  aspect-ratio: 3 / 4;
  min-height: 140px;
}
.mlg-collage__stack img,
.mlg-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mlg-wide { aspect-ratio: 16 / 9; max-height: 420px; overflow: hidden; }
.mlg-figure--land img,
.mlg-gallery-duo img,
.mlg-banner img {
  object-fit: cover !important;
}
.mlg-figure--land img { object-position: center 38% !important; }
.mlg-figure--sign img {
  object-fit: contain !important;
  height: auto !important;
  max-height: 300px !important;
  object-position: center center !important;
}
.mlg-collage__stack figure:first-child img { object-position: center 25% !important; }
.mlg-banner img { object-position: center 40% !important; }
.mlg-contact__bg img {
  object-fit: cover !important;
  object-position: center 35% !important;
}

/* sur-digital — framing tuned per asset aspect (hero 3:4, friends/meetup 16:9) */
.sur-phone.sur-thumb--port { min-height: 0; }
.sur-zig__row .sur-thumb--wide { min-height: clamp(200px, 32vw, 320px); }
.sur-scroll--trio .sur-thumb--card {
  background: #e8f2ef;
}
.sur-scroll--trio .sur-thumb--card img {
  object-fit: cover !important;
  object-position: center 38% !important;
}
.sur-scroll--trio article:nth-child(3) .sur-thumb--card img {
  object-position: center 32% !important;
}
.sur-banner img,
.sur-panel__visual img {
  object-fit: cover !important;
}
.sur-banner img { object-position: center 40% !important; }
.sur-panel__visual img { object-position: center 38% !important; }
.sur-thumb--onboard img { object-fit: cover !important; object-position: center 35% !important; }
.sur-faq__img img { object-fit: cover !important; object-position: center 42% !important; }
.sur-zig .sur-thumb--wide img {
  object-fit: cover !important;
  object-position: center 28% !important;
}
.sur-phone.sur-thumb--port img {
  object-fit: cover !important;
  object-position: center 20% !important;
}

body.est-body .est-hero__visual img,
body.est-body .est-gallery img,
body.est-body .est-split__media img,
body.est-body .est-wide img {
  object-fit: cover !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.est-body .est-hero__visual img {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-position: center 38% !important;
}
@media (min-width: 821px) {
  body.est-body .est-gallery img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }
  body.est-body .est-gallery__wide img { object-position: center 40% !important; }
  body.est-body .est-gallery__tall img { object-position: center 30% !important; }
  body.est-body .est-split__media img {
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: unset !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 36% !important;
  }
}
@media (max-width: 820px) {
  body.est-body .est-gallery img {
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }
  body.est-body .est-gallery__wide img {
    aspect-ratio: 16 / 9 !important;
    object-position: center 40% !important;
  }
  body.est-body .est-gallery__tall img {
    aspect-ratio: 3 / 4 !important;
    object-position: center 30% !important;
  }
  body.est-body .est-split__media img {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    max-height: none !important;
    object-position: center 36% !important;
  }
}
body.est-body .est-wide--advisor img {
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  max-height: none !important;
  object-position: center 48% !important;
}

.prn-hero__photo {
  object-fit: cover !important;
  object-position: center 30% !important;
}
.prn-slab__fig--land img {
  object-fit: cover !important;
  object-position: center 36% !important;
}
.prn-slab__fig--sq img {
  object-fit: cover !important;
  object-position: center 40% !important;
}
.prn-grid2__visual img,
.prn-grid2__port img {
  object-fit: cover !important;
  height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: unset !important;
}
.prn-grid2__visual img { object-position: center 38% !important; }
.prn-grid2__port img { object-position: center 30% !important; }
/* Scroll reveal + subtle UI motion (AR / CL landings) */
.cl-nav-in {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-nav-in.cl-visible,
.cl-motion-off .cl-nav-in {
  opacity: 1;
  transform: none;
}

.cl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--cl-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.cl-reveal--hero {
  transform: translateY(28px) scale(0.985);
}
.cl-reveal.cl-visible,
.cl-motion-off .cl-reveal {
  opacity: 1;
  transform: none;
}

.cord-top nav a,
.map-bar nav a,
.pac-nav nav a,
.lit-nav__links a,
.aus-header nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.cord-btn,
.map-pill,
.pac-btn,
.lit-btn,
.aus-cta,
.ban-cta,
.pam-btn,
.rio-btn,
.obl-cta,
.mlg-btn,
.sur-go,
.prn-go,
.prn-handoff__action,
.est-closing__reach a,
.est-cta a {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.cord-btn:hover,
.map-pill:hover,
.pac-btn:hover,
.lit-btn:hover,
.aus-cta:hover,
.ban-cta:hover,
.pam-btn:hover,
.rio-btn:hover,
.obl-cta:hover,
.mlg-btn:hover,
.sur-go:hover,
.prn-go:hover,
.prn-handoff__action:hover,
.est-closing__reach a:hover,
.est-cta a:hover {
  transform: translateY(-2px);
}
.obl-head nav a,
.mlg-side nav a,
.sur-float nav a,
.est-masthead nav a,
.prn-dock nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.cord-card,
.lit-card,
.aus-cards article,
.pac-bento article,
.ban-cards article,
.pam-columns article,
.rio-features article {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cord-card:hover,
.lit-card:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cl-reveal.cl-visible.cord-card:hover,
.cl-reveal.cl-visible.lit-card:hover {
  transform: translateY(-3px);
}

details {
  transition: background 0.2s ease;
}
details[open] summary {
  color: inherit;
}

@keyframes cl-glow-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}
.aus-glow {
  animation: cl-glow-pulse 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cl-reveal,
  .cl-nav-in,
  .aus-glow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .cord-btn:hover,
  .map-pill:hover,
  .pac-btn:hover,
  .lit-btn:hover,
  .aus-cta:hover,
  .cord-card:hover,
  .lit-card:hover {
    transform: none;
  }
}
