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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background: #0b0e11;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* Cada bloque scrub es alto (300vh): mientras se hace scroll dentro de
   ese alto, el contenido queda pineado y el video avanza cuadro a cuadro. */
.scrub-block {
  position: relative;
  height: 300vh;
}

.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.scrub-sticky video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.layer {
  position: relative;
  z-index: 2;
}

/* Hero y paneles fotograficos: foto fija con zoom lento tipo Ken Burns,
   ligado a un keyframe CSS, mas un parallax adicional via JS al hacer scroll. */
.hero-photo, .photo-panel {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.kenburns {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  animation: kenburns 18s ease-in-out infinite alternate;
  z-index: 0;
  will-change: transform;
}

@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 2;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.hero-content, .panel-content {
  max-width: 640px;
  padding: 0 60px;
  will-change: transform, opacity;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content p, .panel-content p {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  background: #d9491f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.panel-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.cta {
  display: inline-block;
  background: #d9491f;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  transition: transform 0.2s, background 0.2s;
}
.cta:hover {
  background: #c23d17;
  transform: translateY(-2px);
}

.contact {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #14181d;
  padding: 80px 20px;
}

.contact-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
  max-width: 600px;
}

.contact-content p {
  opacity: 0.8;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 36px; }
  .panel-content h2 { font-size: 28px; }
  .nav-links { display: none; }
  .scrub-block { height: 200vh; }
  .kenburns { animation-duration: 14s; }
}
