:root {
  /* Brand Palette (Olive/Gold Luxury) */
  --color-bg: #FDFBF7; /* Cream/Beige */
  --color-text-main: #111111; /* Dark text */
  --color-gold: #C5A880; /* Muted Gold */
  --color-olive: #4A5D23; /* Dark Olive */
  --color-rose: #DCAE96; /* Dusty Rose */
  --color-taupe: #8C7E74; /* Warm Taupe */
  --color-white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(197, 168, 128, 0.15); /* Gold tinted shadow */
  --shadow-olive: 0 20px 40px rgba(74, 93, 35, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Glassmorphism Liquid Glass --- */
.glass-card {
  background: rgba(253, 251, 247, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 8px 32px 0 rgba(74, 93, 35, 0.08) !important; /* Sombra sutil Olive */
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(197, 168, 128, 0.2) !important; /* Sombra Gold */
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 12px;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.4);
}

.btn-primary:hover {
  background-color: #b3956d;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.6);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-taupe);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(197, 168, 128, 0.05);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  z-index: 9999;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  transition: var(--transition-fast);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-gold);
}

@media (max-width: 992px) {
  .nav-links { display: none; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 120px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/quinceanera_hero_sharp.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* --- JeskoJets Scale-Through Hero --- */
.jesko-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jesko-bg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Reduced overlay so the image looks high quality and bright */
.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(8, 12, 5, 0.1) 0%, rgba(8, 12, 5, 0.4) 100%);
  z-index: 2;
}

.jesko-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 60vh;
  
  /* Physical dark wood/metal outer frame */
  border: 40px solid #1a1a1a;
  
  /* Massive box shadow stack to simulate photorealistic depth and matte */
  box-shadow: 
    0 0 0 200vw var(--color-bg), /* Outside solid fill */
    inset 0 0 30px rgba(0,0,0,0.8), /* Inner shadow falling onto the photograph */
    inset 0 0 0 5px #050505, /* Deepest inner rim gap */
    inset 0 0 0 12px var(--color-gold), /* Elegant inner gold accent */
    inset 0 0 0 50px var(--color-olive), /* Wide olive passepartout/matting */
    inset 0 0 20px 50px rgba(0,0,0,0.6), /* Shadow from the frame onto the matting */
    0 30px 60px rgba(0, 0, 0, 0.4); /* General shadow of the entire frame */
    
  z-index: 5;
  border-radius: 4px; /* Slight soft corner on the frame */
  pointer-events: none;
  transform-origin: center center;
}

@media (max-width: 768px) {
  .jesko-frame {
    width: 85vw;
    height: 50vh;
    border-width: 20px;
  }
}

.jesko-content-layer {
  position: relative;
  /* Placed behind the frame (z-index 5) so it looks truly "inside" */
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.jesko-content {
  padding: 3rem 2rem;
  max-width: 65vw; /* Restricted width to naturally fit inside the 70vw frame */
  text-align: center;
  /* Always visible now so GSAP can handle inner elements freely */
  opacity: 1;
  visibility: visible;
}

.jesko-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-white); /* Changed to pure white for contrast */
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: -0.02em;
  /* Cinematic Drop Shadow and soft glow */
  text-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 0, 0, 0.7);
}

.jesko-title span {
  /* Give the highlighted text a stroke/glow to separate it from dark backgrounds */
  color: var(--color-olive);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  text-shadow: 
    0 0 15px rgba(255, 255, 255, 0.4),
    0 4px 20px rgba(0, 0, 0, 0.9);
}

.editorial-p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--color-white); /* Lighter text */
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Glassmorphism subtle card for Hero */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(8, 12, 5, 0.1);
}

/* --- Promesa Única de Valor (PUV) --- */
.puv {
  padding: 80px 0;
  background-color: var(--color-white);
  text-align: center;
}

.puv .container {
  max-width: 900px;
}

.puv-badge {
  color: var(--color-gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.puv-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-text-main);
  line-height: 1.5;
  font-style: italic;
  font-weight: 500;
}

/* --- Intro / Video Marketing --- */
.intro {
  padding: 100px 0;
  background-color: var(--color-white);
  text-align: center;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.25rem;
  color: var(--color-taupe);
  font-weight: 400;
}

.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.video-wrapper:hover .video-thumb {
  opacity: 0.6;
  transform: scale(1.02);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.6);
  transition: var(--transition-smooth);
}

.play-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--color-white);
  margin-left: 6px;
}

.video-wrapper:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.features-icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 250px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(220, 174, 150, 0.15); /* Rose tint */
  color: var(--color-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-main);
}

/* --- Differentiators --- */
.differentiators {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.diff-stacked-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 450px;
}

.diff-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.diff-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background-color: rgba(197, 168, 128, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.diff-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.diff-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-olive);
}

.diff-card p {
  color: var(--color-taupe);
  font-size: 0.95rem;
}

/* --- Galería --- */
.gallery {
  padding: 100px 0;
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-cta {
  text-align: center;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-olive);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-taupe);
  font-size: 1.1rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testi-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-top: 4px solid transparent;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-rose);
}

.stars {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testi-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.testi-text {
  color: var(--color-taupe);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.testi-author {
  font-weight: 600;
  color: var(--color-olive);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author::before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--color-gold);
}

/* --- Packages --- */
.packages {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: start;
}

.pkg-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  border: 1px solid rgba(140, 126, 116, 0.2);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pkg-card:hover {
  border-color: var(--color-gold);
}

.pkg-card.highlight {
  background: var(--color-olive);
  color: var(--color-white);
  transform: scale(1.05);
  box-shadow: var(--shadow-olive);
  border: none;
  position: relative;
  z-index: 2;
}

.pkg-card.highlight .pkg-price { color: var(--color-gold); }
.pkg-card.highlight .pkg-desc { color: rgba(255,255,255,0.8); }
.pkg-card.highlight li,
.pkg-card.highlight li svg path { color: rgba(255,255,255,0.9); fill: var(--color-gold); }

.pkg-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.pkg-desc {
  font-size: 0.9rem;
  color: var(--color-taupe);
  margin-bottom: 24px;
  min-height: 48px;
}

.pkg-price {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  color: var(--color-olive);
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(140, 126, 116, 0.2);
}

.pkg-card.highlight .pkg-price {
  border-bottom-color: rgba(255,255,255,0.2);
}

.pkg-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pkg-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.pkg-features li svg {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  fill: var(--color-olive);
}

.pkg-card .btn {
  width: 100%;
}

/* --- Urgency Banner --- */
.urgency {
  background: var(--color-text-main);
  color: var(--color-white);
  padding: 40px 0;
  text-align: center;
}

.urgency p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.urgency strong {
  color: var(--color-gold);
  font-size: 1.3rem;
  display: inline-block;
  animation: pulseColor 2s infinite alternate;
}

/* --- Lead Magnet --- */
.lead-magnet {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-mockup {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 6px solid var(--color-rose);
}

.lead-mockup h3 {
  font-size: 2rem;
  color: var(--color-olive);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.lead-mockup p {
  color: var(--color-taupe);
  margin-bottom: 30px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form input {
  padding: 16px 20px;
  border: 1px solid rgba(140, 126, 116, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
  background-color: var(--color-bg);
}

.lead-form input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.1);
}

.lead-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.lead-text p {
  font-size: 1.1rem;
  color: var(--color-taupe);
  margin-bottom: 30px;
}

/* --- Footer CTA (Pre-footer) --- */
.footer-cta {
  padding: 120px 0;
  background-color: var(--color-white);
  text-align: center;
}

.footer-cta h2 {
  font-size: 3rem;
  color: var(--color-text-main);
  margin-bottom: 24px;
}

.footer-cta p {
  font-size: 1.2rem;
  color: var(--color-taupe);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- Main Site Footer --- */
.site-footer {
  background-color: var(--color-text-main);
  color: #E2E8F0;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  animation: heartbeatLogo 4s ease-in-out infinite;
}

@keyframes heartbeatLogo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 350px;
  font-size: 0.95rem;
}

.footer-links h3, .footer-contact h3 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-links ul, .footer-contact ul {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #CBD5E1;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-contact strong {
  color: var(--color-gold);
  font-weight: 500;
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--color-gold);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Animations --- */
/* Fade in en Scroll (Intersection Observer) */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes pulseColor {
  0% { text-shadow: 0 0 0 rgba(197, 168, 128, 0); }
  100% { text-shadow: 0 0 15px rgba(197, 168, 128, 0.4); }
}

/* --- UX Micro-Animations --- */
/* Fade-Up Staggering */
.fade-up-item {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.8s; }
.delay-4 { animation-delay: 1.1s; }

/* Glint Sweep on Button */
.btn-glint {
  position: relative;
  overflow: hidden;
}
.btn-glint::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: glintSweep 3.5s infinite;
}
@keyframes glintSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Scroll Indicator Bouncing */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  opacity: 0.8;
  animation: bounceScroll 2s infinite ease-in-out;
  z-index: 20;
}

/* Efecto Escritura Cursor */
@keyframes blink {
  50% { opacity: 0; }
}
.scroll-indicator svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-gold);
}
@keyframes bounceScroll {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 15px); }
}

/* --- Floating Mobile CTA --- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 16px;
  border-radius: 50px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.5);
  transition: var(--transition-fast);
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.floating-cta svg {
  fill: var(--color-white);
}

.floating-cta:active {
  transform: scale(0.95);
}

/* --- Cinematic Preloader --- */
#cinematic-preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    pointer-events: none;
}
.curtain {
    position: absolute;
    left: 0; width: 100%; height: 50vh;
    background: var(--color-black);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: all;
}
.curtain-top { top: 0; transform-origin: top; }
.curtain-bottom { bottom: 0; transform-origin: bottom; }

.preloader-text-wrapper {
    position: relative;
    z-index: 10000;
    text-align: center;
}
.pre-text-1, .pre-text-2 {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-gold);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    opacity: 0;
    white-space: nowrap;
}
.pre-text-1 {
    font-weight: 600;
    font-size: 2.5rem;
    animation: textFadeSync 2.5s ease-in-out forwards;
}
.pre-text-2 {
    font-weight: 400;
    font-style: italic;
    font-size: 1.8rem;
    animation: textFadeSync 2.5s ease-in-out 1.3s forwards;
}
@keyframes textFadeSync {
    0% { opacity: 0; transform: translate(-50%, -40%); filter: blur(10px); }
    30% { opacity: 1; transform: translate(-50%, -50%); filter: blur(0px); }
    80% { opacity: 1; transform: translate(-50%, -50%); filter: blur(0px); }
    100% { opacity: 0; transform: translate(-50%, -60%); filter: blur(10px); }
}

body.loaded .curtain-top { transform: translateY(-100%); }
body.loaded .curtain-bottom { transform: translateY(100%); }
body.loaded #cinematic-preloader { pointer-events: none; }

/* --- Editorial Hero Redesign --- */
.hero-video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: slowZoom 20s infinite alternate;
}
.editorial-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.editorial-overlay {
    background: linear-gradient(to right, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.5) 50%, rgba(17,17,17,0) 100%);
    z-index: 1;
}
.editorial-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 80px;
}
.editorial-content {
    max-width: 650px;
    text-align: left;
}
.cinematic-title {
    font-size: 4rem !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    margin-bottom: 25px;
}
.editorial-p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.85);
    max-width: 500px;
}
.hero-badge {
    display: inline-block; 
    padding: 8px 18px; 
    border: 1px solid var(--color-gold); 
    background: transparent; 
    color: var(--color-gold); 
    border-radius: 30px; 
    font-size: 0.8rem; 
    font-weight: 500; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 25px;
}

/* Rotating Badge */
.rotating-badge-container {
    width: 140px;
    height: 140px;
    animation: spinSlow 15s linear infinite;
    position: absolute;
    right: 5%;
    bottom: -15vh;
}
@keyframes spinSlow { 100% { transform: rotate(360deg); } }

/* Fix Stagger initial state */
.editorial-content .fade-up-item,
.rotating-badge-container.fade-up-item {
    opacity: 0;
    transform: translateY(40px);
}
.start-anim .fade-up-item,
.start-anim.fade-up-item {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Magnetic Button */
.magnetic-wrapper { 
    display: inline-block; 
    padding: 20px; 
    margin-left: -20px; 
    margin-top: 20px;
}
.btn-magnetic { 
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Mobile Adjustments for Editorial */
@media (max-width: 768px) {
    .editorial-content { text-align: center; margin: 0 auto; }
    .cinematic-title { font-size: 2.8rem !important; }
    .editorial-container { flex-direction: column; justify-content: center; }
    .editorial-overlay { background: rgba(17, 17, 17, 0.75); }
    .rotating-badge-container { display: none; }
    .magnetic-wrapper { margin-left: 0; }
}

/* --- Modals --- */
.modal {
  display: none; 
  position: fixed; 
  z-index: 10000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUpFade 0.3s ease-out forwards;
}

.close-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 32px;
  font-weight: 300;
  color: var(--color-taupe);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.close-modal:hover {
  color: var(--color-text-main);
  transform: rotate(90deg);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .pkg-card.highlight { transform: none; box-shadow: var(--shadow-sm); z-index: initial; border: 2px solid var(--color-gold); }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-mockup { order: 2; margin-top: 40px; }
  .lead-text { order: 1; text-align: center; }
  .features-icons { gap: 30px; }
  .puv, .intro, .differentiators, .gallery, .testimonials, .packages, .urgency, .lead-magnet, .footer-cta {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  /* Smaller paddings for mobile screen real estate */
  .hero { padding: 120px 20px 40px; }
  .puv, .intro, .differentiators, .gallery, .testimonials, .packages, .urgency, .lead-magnet, .footer-cta {
    padding: 60px 0;
  }
  
  /* Typography Scaling for Mobile Readability */
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); text-align: left; }
  .hero p { font-size: 1rem; text-align: left; margin-bottom: 30px; }
  .hero .btn { width: 100%; justify-content: center; }
  .section-header { text-align: left; margin-bottom: 40px; }
  .section-header h2 { font-size: 2rem; }
  .puv-text { font-size: 1.4rem; text-align: left; line-height: 1.4; }
  .puv-badge { text-align: left; margin-bottom: 16px; }
  .footer-cta h2 { font-size: 2rem; }
  .intro-text { font-size: 1.1rem; text-align: left; margin-bottom: 40px; }
  .footer-cta p { text-align: left; }
  .footer-cta .btn { width: 100%; justify-content: center; }
  
  /* Grid Stacking (1 Columns) */
  .diff-grid, .testi-grid, .pricing-grid, .gallery-grid { 
      grid-template-columns: 1fr; 
      gap: 24px;
      max-width: 100%;
  }
  
  /* Navbar Adjustments */
  .navbar { padding: 16px 0; }
  .nav-logo img { height: 45px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
  
  /* Form optimization */
  .lead-mockup { padding: 40px 24px; }
  .lead-form input, .lead-form button { width: 100%; }
  
  /* Floating CTA */
  .floating-cta { display: flex; }
  body { padding-bottom: 80px; } /* space for sticky button */
  
  /* Cards Optimization */
  .pkg-card { padding: 30px 24px; }
  .testi-card { padding: 30px 24px; }
  .diff-card { padding: 30px 24px; text-align: left; }
  .diff-icon { margin: 0 0 20px 0; }
  .feature-item { max-width: 100%; flex-direction: row; text-align: left; align-items: center; }
  .feature-icon { margin: 0; flex-shrink: 0; }
  
  .modal-content { padding: 30px 20px; }
  .close-modal { right: 16px; top: 16px; }
}

/* --- Golden Magnetic Cursor --- */
body.custom-cursor-active {
  cursor: none; /* Hide default mouse */
}

/* Standard states */
body.custom-cursor-active a, 
body.custom-cursor-active button,
body.custom-cursor-active .magnetic-wrapper,
body.custom-cursor-active .video-wrapper {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(197, 168, 128, 0.5); /* Semi-transparent gold */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Interaction States */
.cursor-dot.cursor-hovering {
  opacity: 0; /* Hide inner dot */
}

.cursor-outline.cursor-hovering {
  width: 60px;
  height: 60px;
  background-color: rgba(197, 168, 128, 0.1); /* Slight gold fill */
  border-color: var(--color-gold);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Disable custom cursor on mobile to avoid buggy touch tracking */
@media (max-width: 1024px) {
  body.custom-cursor-active { cursor: auto; }
  body.custom-cursor-active a, 
  body.custom-cursor-active button { cursor: pointer; }
  .cursor-dot, .cursor-outline { display: none !important; }
}

/* --- Mosaic Button Styles (AICON-inspired) --- */
.mosaic-btn-wrapper {
  position: relative;
  overflow: hidden; /* Contains the mosaic tiles */
  z-index: 1;
}

.mosaic-btn-wrapper > span,
.mosaic-btn-wrapper > svg,
.mosaic-btn-wrapper > text {
  position: relative;
  z-index: 3; /* Keep text above the mosaic */
}

.mosaic-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(4, 1fr);
  z-index: 2; /* Below text, above button background */
  pointer-events: none;
}

.mosaic-tile {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white highlight */
  opacity: 0; /* Hidden by default */
  width: 100%;
  height: 100%;
}
