@charset "UTF-8";

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 72px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.25) 100%),
    linear-gradient(to right, rgba(8,8,8,0.3) 0%, transparent 70%);
  z-index: 1;
}


/* ===========================
   FOTOS FLOTANTES / GHOST
   Aparecen y desaparecen con
   baja opacidad, distribuidas
   horizontalmente en el hero.
   =========================== */

.hero-ghost-photos {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Cada foto flotante */
.ghost-photo {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  /* opacidad máxima muy baja — fantasmal */
}

.ghost-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*
  Posicionamiento horizontal distribuido.
  Las fotos aparecen en diferentes alturas
  y anchos para dar sensación de profundidad.
*/

.ghost-1 {
  width: 160px;
  height: 200px;
  top: 10%;
  left: 4%;
  animation: ghostFloat 14s ease-in-out 0s infinite;
}

.ghost-2 {
  width: 130px;
  height: 170px;
  top: 30%;
  left: 20%;
  animation: ghostFloat 18s ease-in-out 3s infinite;
}

.ghost-3 {
  width: 180px;
  height: 220px;
  top: 8%;
  left: 38%;
  animation: ghostFloat 16s ease-in-out 6s infinite;
}

.ghost-4 {
  width: 140px;
  height: 180px;
  top: 45%;
  left: 55%;
  animation: ghostFloat 20s ease-in-out 1.5s infinite;
}

.ghost-5 {
  width: 120px;
  height: 155px;
  top: 12%;
  left: 70%;
  animation: ghostFloat 15s ease-in-out 4.5s infinite;
}

.ghost-6 {
  width: 150px;
  height: 190px;
  top: 35%;
  left: 83%;
  animation: ghostFloat 17s ease-in-out 8s infinite;
}

.ghost-7 {
  width: 110px;
  height: 140px;
  top: 60%;
  left: 12%;
  animation: ghostFloat 19s ease-in-out 2s infinite;
}

/*
  La animación:
  - sube ligeramente mientras aparece
  - se mantiene un momento
  - baja un poco mientras desaparece
  - opacidad máxima: 0.18 — muy tenue, fantasmal
*/
@keyframes ghostFloat {
  0%   { opacity: 0;    transform: translateY(12px); }
  15%  { opacity: 0.18; transform: translateY(0px); }
  40%  { opacity: 0.14; transform: translateY(-6px); }
  70%  { opacity: 0.18; transform: translateY(-2px); }
  85%  { opacity: 0.10; transform: translateY(6px); }
  100% { opacity: 0;    transform: translateY(12px); }
}


/* ===========================
   HERO CONTENT
   =========================== */

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-main);
  font-weight: var(--weight-regular);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(56px, 10vw, 130px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244,239,230,0.28);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--black);
  padding: 14px 34px;
  font-family: var(--font-main);
  font-weight: var(--weight-semibold);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(244,239,230,0.65);
  padding: 13px 34px;
  font-family: var(--font-main);
  font-weight: var(--weight-regular);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(244,239,230,0.18);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 48px;
  right: 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(200,255,0,0.45));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
  50%       { opacity: 0.9; transform: scaleY(0.65) translateY(-8px); }
}


/* ===========================
   ABOUT
   =========================== */

.about-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-2xl) 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-carousel {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
  width: 100%;
}

.about-carousel .carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.about-carousel .carousel-track img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  flex: 0 0 100%;
}

.about-gallery-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.about-content { padding: var(--space-md) 0; }

.about-text { margin-bottom: var(--space-lg); }

.about-text p {
  font-size: 16px;
  font-weight: var(--weight-regular);
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 10px;
}

/* ═══ FOOTER — más angosto, sin logo ni tagline ═══ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  position: relative; z-index: 1;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 6%; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-socials { display: flex; align-items: center; gap: 20px; }
.social-link { font-size: 11px; letter-spacing: 0.05em; color: var(--muted); transition: color 0.2s; text-decoration: none; }
.social-link:hover { color: var(--accent); }
.footer-copy { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.15); }

/* ===========================
   MOBILE HOME
   =========================== */

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about-carousel { aspect-ratio: 16 / 9; }

  /* En mobile reducimos el tamaño de las fotos flotantes */
  .ghost-photo { transform: scale(0.7); }
  .ghost-3, .ghost-4, .ghost-5 { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 0 5% 60px; }
  .hero-scroll-indicator { display: none; }
  /* Solo 2-3 fotos en móvil para no saturar */
  .ghost-2, .ghost-4, .ghost-5, .ghost-6, .ghost-7 { display: none; }
}
