/* ============================================================
   "En el quirófano" — full-bleed cinematic surgery gallery
   Dark immersive band; editorial asymmetric grid.
   ============================================================ */
.or-band {
  position: relative;
  background: #14200C;            /* deep forest, lets dark photos blend */
  color: #ECE8DC;
  padding-block: clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.or-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(74,93,35,.45), transparent 60%),
    radial-gradient(90% 80% at 100% 100%, rgba(201,160,92,.16), transparent 55%);
  opacity: .9;
}
.or-band .wrap { position: relative; z-index: 1; }

.or-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
.or-head .eyebrow { color: var(--gold); }
.or-head .eyebrow::before { background: var(--gold); }
.or-head h2 {
  color: #fff; font-size: clamp(27px, 3.4vw, 44px);
  margin-top: 16px; max-width: 20ch;
}
.or-head .lede { color: #BFC3B0; margin-top: 16px; max-width: 56ch; }

/* Editorial grid: tall feature left, two stacked right */
.or-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: clamp(420px, 52vw, 660px);
}
.or-grid figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 14px; background: #0c140a;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
.or-feature { grid-row: 1 / 3; }
.or-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.2,.7,.3,1), filter .5s ease;
  filter: saturate(1.02);
}
.or-grid figure:hover img { transform: scale(1.05); }
/* subtle gold hairline frame on hover */
.or-grid figure::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: box-shadow .35s ease; pointer-events: none;
}
.or-grid figure:hover::after { box-shadow: inset 0 0 0 2px rgba(201,160,92,.55); }

/* Reveal: figures rise in (works with .reveal base + data-d) */
@media (max-width: 760px) {
  .or-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    gap: 12px;
  }
  /* On mobile, give each photo its own true ratio so cover doesn't crop faces */
  .or-feature { grid-row: auto; aspect-ratio: 3 / 2; }
  .or-side-a  { aspect-ratio: 3 / 2; }     /* close-up face — show it whole */
  .or-side-b  { aspect-ratio: 11 / 10; }   /* team + instrumental */
  .or-feature img { object-position: center 38%; }
  .or-side-a img  { object-position: center 28%; }
  .or-side-b img  { object-position: center; }
}

/* ---- Dónde opero — institution logos on white tiles ---- */
.or-where { margin-top: clamp(30px, 4.5vw, 54px); }
.or-where-head { max-width: 64ch; margin: 0 auto 28px; text-align: center; }
.or-where-title {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(25px, 3vw, 38px); font-weight: 600; line-height: 1.1;
  margin: 0 0 12px;
}
.or-where-head p { color: #BFC3B0; font-size: 15.5px; line-height: 1.6; margin: 0 auto; max-width: 58ch; }
.or-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin-inline: auto; }
.or-logo {
  background: #fff; border-radius: 14px; display: grid; place-items: center;
  padding: 22px 26px; min-height: 104px;
  box-shadow: 0 18px 44px -24px rgba(0,0,0,.7);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.or-logo:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(0,0,0,.8); }
.or-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 760px) {
  .or-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .or-logo { padding: 18px; min-height: 88px; }
  .or-logo img { max-height: 48px; }
}

@media (max-width: 620px){ .or-logos{ grid-template-columns: 1fr 1fr; } .or-logos .or-logo:last-child{ grid-column: 1 / -1; max-width: calc(50% - 8px); justify-self: center; width: 100%; } }
