@font-face {
  font-family: "BankGothic";
  src: url("assets/fonts/BankGothicRegular.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "BankGothic", sans-serif;
  color: #111;
  overflow-x: hidden;
  background: #eef3f8;
}

.page {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/img/cityimage.png") center bottom / cover no-repeat;
  opacity: 0.45;
  z-index: -2;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/img/Logo_Eagle_eye_ventana.png")
    center 5% / clamp(200px, 50vw, 380px) auto no-repeat;
  opacity: 0.10;
  z-index: -1;
  pointer-events: none;
}

/* HERO */

.hero {
  display: flex;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 32px;
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.brand {
  font-size: 3.1rem;
  letter-spacing: 0.35em;
  margin-bottom: 16px;
}

.slogan {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: clamp(1.8px, .35vw, 2.4px);
  opacity: 0.95;
}

/* REELS */

.reel-bridge {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.reel-stack {
  position: relative;
  z-index: 1;
}

.reel-stack.is-images {
  margin-top: 130px;
}

.reel {
  overflow: hidden;
}

.reel-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
}

.reel-track > * {
  flex: 0 0 auto;
}

.reel-track-left  { animation: scroll-left 28s linear infinite; }
.reel-track-right { animation: scroll-right 28s linear infinite; }

@keyframes scroll-left {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

@keyframes scroll-right {
  from { transform: translate3d(-50%,0,0); }
  to   { transform: translate3d(0,0,0); }
}

.reel-track img,
.reel-track video {
  width: 240px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.reel-track video {
  background: #000;
}

/* PHONE VIDEO */

.phone-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.phone-video {
  width: min(22vw, 220px);
  border-radius: 26px;
  object-fit: cover;
  background: #000;
  box-shadow:
    0 35px 90px rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* STORES */

.stores {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 26px 0 44px;
}

.stores img {
  height: 42px;
}

/* FOOTER */

.footer {
  font-size: 0.7rem;
  opacity: 0.55;
  padding: 18px 0 22px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-left {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-link {
  color: #111;
  text-decoration: none;
  opacity: 0.85;
  border-bottom: 1px solid rgba(17,17,17,0.25);
  padding-bottom: 1px;
}

.footer-link:hover {
  opacity: 1;
  border-bottom-color: rgba(17,17,17,0.55);
}

/* LEGAL PAGES */

.legal {
  padding: 10px 0 40px;
}

.legal-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* MOBILE FIRST RESPONSIVE */

@media (max-width: 900px) {
  .brand { font-size: 2.4rem; }
  .phone-video { width: min(64vw, 420px); }
}

@media (max-width: 768px) {
  .brand { font-size: 2.2rem; letter-spacing: 0.3em; }
  .slogan { font-size: clamp(20px, 4vw, 26px); }
  .hero { padding-top: 60px; padding-bottom: 28px; }
  .phone-video { width: min(70vw, 380px); }
  .reel-track img,
  .reel-track video { width: 200px; height: 133px; }
  .stores { gap: 18px; }
  .stores img { height: 38px; }
}

@media (max-width: 520px) {
  .brand { 
    font-size: 1.6rem; 
    letter-spacing: 0.25em;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .slogan { 
    font-size: clamp(18px, 5vw, 22px);
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
  .hero { 
    padding-top: 50px; 
    padding-bottom: 24px;
  }
  .hero-inner {
    padding: 0 16px;
  }
  .phone-video { 
    width: min(85vw, 300px);
    border-radius: 20px;
  }
  .reel-bridge { margin-top: 32px; }
  .reel-stack.is-images { margin-top: 100px; }
  
  .reel-track img,
  .reel-track video { 
    width: 160px; 
    height: 107px;
    border-radius: 12px;
  }
  .reel-track { gap: 20px; }
  
  .stores { 
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0 36px;
  }
  .stores img { height: 44px; }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .brand { font-size: 1.4rem; }
  .slogan { font-size: clamp(16px, 5.5vw, 20px); }
  .phone-video { width: min(90vw, 280px); }
  .reel-track img,
  .reel-track video { width: 140px; height: 93px; }
  .stores img { height: 40px; }
}

/* =========================
   ONE-SCREEN (sin apretar)
   ========================= */

/* Compacto suave: incluye 1366x768 (altura 768) */
@media (max-height: 820px) {
  .hero { padding-top: 62px; padding-bottom: 24px; }
  .brand { font-size: 2.85rem; margin-bottom: 12px; }
  .reel-bridge { margin-top: 34px; }
  .reel-stack.is-images { margin-top: 112px; }

  .stores { padding: 18px 0 26px; }
  .stores img { height: 40px; }

  .footer { padding: 14px 0 16px; }
}

/* Compacto fuerte: solo pantallas realmente bajitas */
@media (max-height: 700px) {
  .hero { padding-top: 48px; padding-bottom: 18px; }
  .brand { font-size: 2.55rem; letter-spacing: 0.32em; }
  .reel-bridge { margin-top: 22px; }
  .reel-stack.is-images { margin-top: 92px; }

  .reel-track img,
  .reel-track video { width: 210px; height: 140px; }

  .phone-video { width: min(20vw, 200px); }

  .stores { padding: 14px 0 18px; }
  .stores img { height: 38px; }

  .footer { padding: 12px 0 14px; }
}
