/* Recorrido cinematográfico de inversión: fotografía conceptual y capas animadas. */
.hero {
  min-height: 740px;
  isolation: isolate;
  background: #231a1d;
  text-align: left;
  place-items: center start;
}
.architecture-scene,
.architecture-image,
.purchase-image,
.hero-film,
.architecture-light,
.architecture-shade { position: absolute; inset: 0; pointer-events: none; }
.architecture-scene { z-index: -1; overflow: hidden; transform: translate3d(var(--hero-pan-x, 0px), var(--hero-pan-y, 0px), 0); transition: transform .35s ease-out; }
.architecture-image {
  inset: -12%;
  background: url('assets/investment-drone.png') center center / cover no-repeat;
  transform-origin: 70% 45%;
  animation: architecture-camera 14s cubic-bezier(.45,0,.55,1) infinite alternate;
  will-change: transform;
  transition: opacity 1.4s ease;
}
.purchase-image {
  inset: -12%;
  background: url('assets/investment-keys-v1.png') center center / cover no-repeat;
  opacity: 0;
  transform-origin: 65% 55%;
  animation: purchase-camera 13s cubic-bezier(.45,0,.55,1) infinite alternate;
  transition: opacity 1.4s ease;
}
.hero[data-scene="purchase"] .architecture-image { opacity: 0; }
.hero[data-scene="purchase"] .purchase-image { opacity: 1; }
.hero[data-scene="purchase"] .investment-sign { animation: none; opacity: 0; }
.hero-film { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-film.is-playing { opacity: 1; }
.architecture-light {
  opacity: .3;
  background: linear-gradient(111deg, transparent 30%, rgba(255, 229, 191, .28) 48%, transparent 62%);
  animation: architecture-light 11s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.architecture-shade {
  background: linear-gradient(90deg, rgba(24, 18, 22, .82) 0%, rgba(37, 24, 28, .67) 35%, rgba(42, 26, 27, .18) 67%, rgba(35, 24, 26, .04) 100%),
    linear-gradient(0deg, rgba(17, 12, 15, .38), transparent 40%);
}
.drone-cloud {
  position: absolute;
  pointer-events: none;
  width: 72vw;
  height: 38vh;
  filter: blur(23px);
  opacity: .45;
  background: radial-gradient(ellipse at 24% 53%, rgba(255,244,233,.64), transparent 37%),
    radial-gradient(ellipse at 65% 59%, rgba(255,240,226,.57), transparent 44%);
}
.drone-cloud-back { top: 11%; right: -38%; animation: cloud-drift-back 24s linear infinite alternate; opacity: .28; }
.drone-cloud-front { bottom: -13%; left: -35%; animation: cloud-drift-front 18s linear infinite alternate; }
.investment-sign {
  position: absolute;
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fffaf3;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(254, 1, 0, .75);
  box-shadow: 0 0 0 9px rgba(255, 249, 235, .09), 0 8px 34px rgba(25, 8, 9, .34);
  font: 500 27px/1 Georgia, serif;
  backdrop-filter: blur(7px);
  opacity: 0;
  animation: investment-arrival 9s ease-in-out infinite;
}
.investment-sign::after { content: ""; position: absolute; top: 100%; height: 22px; border-left: 1px solid rgba(255,255,255,.66); }
.investment-sign-one { top: 29%; right: 15%; animation-delay: .8s; }
.investment-sign-two { top: 48%; right: 26%; animation-delay: 2.8s; }
.investment-sign-three { top: 64%; right: 10%; animation-delay: 4.8s; }
.investment-brand {
  position: absolute;
  bottom: 15%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font: 600 9px/1.35 'DM Sans', sans-serif;
  letter-spacing: .13em;
  text-shadow: 0 2px 12px rgba(0,0,0,.38);
  opacity: 0;
  animation: brand-arrival 1.5s ease 2.2s forwards;
}
.investment-brand-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 50%;
  background: rgba(84, 16, 25, .35);
  font: 500 18px Georgia, serif;
  letter-spacing: -.06em;
}
.investment-brand-logo { width: 92px; height: 92px; filter: url(#filgueira-white-cutout) drop-shadow(0 0 8px rgba(255,255,255,.36)); }
.hero-copy {
  width: min(780px, 78vw);
  margin: 8vh 0 0 7vw;
  text-align: left;
  text-shadow: 0 4px 30px rgba(22, 5, 10, .32);
}
.hero .eyebrow { font-size: 11px; letter-spacing: .26em; color: #ffdbd6; }
.hero h1 { font-size: clamp(48px, 6.4vw, 95px); line-height: 1.04; margin: 24px 0 24px; }
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line > span { display: block; transform: translateX(-110%); animation: architecture-title 1.25s cubic-bezier(.17,.8,.18,1) .25s forwards; }
.hero-line-second > span { animation-delay: .75s; }
.hero-lead { max-width: 480px; font-size: 16px; line-height: 1.6; animation-delay: 1.35s; }
.hero-story-controls { position: absolute; z-index: 4; bottom: 7%; right: 5vw; display: flex; gap: 8px; }
.hero-story-controls button { border: 1px solid rgba(255,255,255,.45); background: rgba(25,17,21,.36); color: #fff; padding: 11px 13px; font: 600 10px 'DM Sans', sans-serif; letter-spacing: .03em; backdrop-filter: blur(10px); cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.hero-story-controls button:hover { transform: translateY(-3px); border-color: #fff; }
.hero-story-controls button[aria-pressed="true"] { background: var(--brand-red, #fe0100); border-color: var(--brand-red, #fe0100); }
.hero-story-controls button span { font-size: 9px; opacity: .8; margin-right: 8px; }
.discover { left: 7vw; bottom: 9%; translate: 0 0; }
.discover:hover { transform: scale(1.06); }
.scroll-cue { display: none; }
@keyframes architecture-camera {
  from { transform: scale(1.03) translate3d(-4%, 3%, 0) rotate(-.8deg); }
  to { transform: scale(1.23) translate3d(4%, -3%, 0) rotate(.7deg); }
}
@keyframes purchase-camera {
  from { transform: scale(1.02) translate3d(2%, 1%, 0); }
  to { transform: scale(1.16) translate3d(-3%, -2%, 0); }
}
@keyframes architecture-light {
  from { transform: translateX(-36%); opacity: .08; }
  to { transform: translateX(36%); opacity: .39; }
}
@keyframes cloud-drift-back { from { transform: translateX(-20%) scale(1); } to { transform: translateX(19%) scale(1.2); } }
@keyframes cloud-drift-front { from { transform: translateX(-22%) scale(1.05); } to { transform: translateX(27%) scale(1.28); } }
@keyframes investment-arrival {
  0%, 11% { opacity: 0; transform: translateY(24px) scale(.65); }
  23%, 63% { opacity: 1; transform: translateY(0) scale(1); }
  78%, 100% { opacity: 0; transform: translateY(-12px) scale(.92); }
}
@keyframes brand-arrival { to { opacity: 1; } }
@keyframes architecture-title { to { transform: translateX(0); } }
@media (max-width: 850px) {
  .hero-copy { width: min(650px, 85vw); margin-left: 7vw; }
  .architecture-image { background-position: 63% center; }
  .purchase-image { background-position: 57% center; }
  .architecture-shade { background: linear-gradient(90deg, rgba(30,20,24,.88), rgba(38,25,29,.59) 72%, rgba(38,25,29,.2)); }
  .investment-sign-two { right: 23%; }
}
@media (max-width: 520px) {
  .hero { min-height: 690px; }
  .hero-copy { width: calc(100% - 44px); margin: 6vh 22px 0; }
  .hero h1 { font-size: clamp(45px, 11vw, 64px); }
  .hero .eyebrow { font-size: 9px; line-height: 1.6; }
  .hero-lead { font-size: 14px; max-width: 310px; }
  .discover { left: 22px; bottom: 7%; }
  .architecture-image { background-position: 66% center; }
  .purchase-image { background-position: 60% center; }
  .architecture-shade { background: linear-gradient(90deg, rgba(30,20,24,.91), rgba(38,25,29,.66) 75%, rgba(38,25,29,.26)); }
  .investment-sign { width: 34px; font-size: 20px; }
  .investment-sign-one { top: 27%; right: 14%; }
  .investment-sign-two { top: 48%; right: 22%; }
  .investment-sign-three { top: 66%; right: 9%; }
  .investment-brand { bottom: 19%; right: 5%; gap: 7px; font-size: 7px; }
  .investment-brand-mark { width: 48px; height: 48px; font-size: 13px; }
  .investment-brand-logo { width: 64px; height: 64px; }
  .hero-story-controls { right: 18px; bottom: 8%; }
  .hero-story-controls button { padding: 8px; font-size: 9px; }
  .hero-story-controls button span { margin-right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-film { display: none; }
  .architecture-scene, .architecture-image, .purchase-image, .architecture-light, .drone-cloud, .investment-sign, .investment-brand, .hero-line > span { animation: none !important; transition: none !important; }
  .architecture-image, .purchase-image { transform: none; }
  .hero-line > span { transform: none; }
  .investment-sign, .investment-brand { opacity: 1; transform: none; }
}
