/* Variables CSS basadas en el documento de estrategia */
:root {
  --color-carbon: #333333;
  --color-gold: #F5C226;
  --color-white: #FFFFFF;
  --color-bg-light: #F7F7F7;
  --color-bg-dark: #1A1A1A;
  --color-text-muted: #666666;
  --color-text-light: #CCCCCC;
  --color-whatsapp: #25D366;
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-whatsapp: 0 4px 15px rgba(37,211,102,0.4);
  
  /* Radio de bordes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  
  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-carbon);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  padding: 0.7rem 0;
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.nav-logo-right {
  margin-left: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.navbar.scrolled .nav-logo-right {
  opacity: 1;
  pointer-events: auto;
}

.logo img {
  height: 3.2rem;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(245,194,38,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(245,194,38,0.5));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), #FFD966);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8A910 100%);
  color: var(--color-carbon) !important;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(245,194,38,0.45);
}

.cta-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8A910 100%);
  color: var(--color-carbon);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-medium);
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.cta-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(245,194,38,0.4);
}

.trust-badges { display: none; }
.badge { display: none; }

/* Efecto de pulsación mejorado para WhatsApp */
.whatsapp-btn {
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.whatsapp-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-secondary {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.cta-secondary:hover {
  color: var(--color-gold);
}

.cta-secondary:hover .arrow {
  animation: bounce 0.6s infinite alternate;
}

.arrow {
  transition: transform var(--transition-fast);
}

@keyframes bounce {
  to {
    transform: translateY(4px);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-logo-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  left: -12vw;
  animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-large-logo {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 10px 30px rgba(245,194,38,0.3));
  opacity: 0.88;
  transform: translateY(0);
  animation: float 10s ease-in-out infinite;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
  max-width: 650px;
  padding: 0 1rem;
  animation: fadeInLeft 0.8s ease-out;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,194,38,0.12);
  border: 1px solid rgba(245,194,38,0.3);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  animation: fadeInLeft 0.8s ease-out 0.3s both;
}

.gold-text {
  background: linear-gradient(135deg, var(--color-gold) 0%, #FFD966 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p, .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 560px;
  animation: fadeInLeft 0.8s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInLeft 0.8s ease-out 0.5s both;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats .number {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.2rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.hero-stats .label {
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  white-space: nowrap;
}

.hero-stats .stat:last-child {
  position: relative;
  padding-bottom: 0;
}

.hero-stats .stat:last-child::after {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  z-index: 10;
}

.scroll-indicator a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 10px;
}

.scroll-indicator a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.scroll-indicator svg {
  animation: bounce 2s infinite ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== PROMO SECTION ===== */
.promo-section {
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 50%, #0D0D0D 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.promo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/quiero_que_generes_una_imagen_202605281940.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.promo-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,194,38,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.promo-text {
  position: relative;
  z-index: 2;
}

.promo-label {
  display: inline-block;
  background: rgba(245,194,38,0.1);
  border: 1px solid rgba(245,194,38,0.25);
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.promo-text h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

.promo-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.promo-highlight {
  font-weight: 700 !important;
  color: var(--color-gold) !important;
  font-size: 1.1rem !important;
  margin-top: 0.5rem;
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 0.75rem;
  padding: 10px 0;
  transition: gap 0.3s ease, color 0.3s ease;
}

.promo-cta svg {
  transition: transform 0.3s ease;
}

.promo-cta:hover {
  color: #FFD966;
  gap: 14px;
}

.promo-cta:hover svg {
  transform: translateX(4px);
}

.promo-image-wrap {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,194,38,0.15);
}

.promo-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), #FFD966, var(--color-gold));
}

.promo-image-wrap .promo-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  transform: none;
  opacity: 1;
  animation: none;
}

.promo-image-wrap:hover .promo-img {
  transform: scale(1.04);
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.promo-text .reveal-up:nth-child(1) { transition-delay: 0s; }
.promo-text .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.promo-text .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.promo-text .reveal-up:nth-child(4) { transition-delay: 0.3s; }
.promo-text .reveal-up:nth-child(5) { transition-delay: 0.4s; }
.promo-text .reveal-up:nth-child(6) { transition-delay: 0.5s; }

.promo-image-wrap.reveal-up { transition-delay: 0.2s; }

.services {
  background-color: #FAFAFA;
  padding: 6rem 0;
}

.services h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-carbon);
}

.services .subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(245,194,38,0.15);
  border-color: rgba(245,194,38,0.3);
  background: linear-gradient(180deg, var(--color-white) 0%, #FFFDF5 100%);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), #FFD966);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(245,194,38,0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  color: var(--color-gold);
  position: relative;
  transform: rotate(-5deg);
}

.service-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  border: 2px dashed var(--color-gold);
  opacity: 0;
  transition: all 0.4s ease;
  transform: scale(0.9) rotate(5deg);
}

.service-card:hover .service-icon-wrap {
  transform: rotate(0) scale(1.1);
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(245,194,38,0.3);
}

.service-card:hover .service-icon-wrap::after {
  opacity: 0.5;
  transform: scale(1) rotate(0);
}

.service-icon-wrap svg {
  width: 40px;
  height: 40px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon-wrap svg {
  transform: scale(1.15);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-carbon);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #D4A017;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* History Reveal Stagger */
.history-text .reveal-up:nth-child(1) { transition-delay: 0s; }
.history-text .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.history-text .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.history-text .reveal-up:nth-child(4) { transition-delay: 0.3s; }
.history-text .reveal-up:nth-child(5) { transition-delay: 0.4s; }
.history-text .reveal-up:nth-child(6) { transition-delay: 0.5s; }
.history-image.reveal-up { transition-delay: 0.3s; }

/* Propuesta de Valor / Historia */
.history {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.history::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/quiero_que_generes_una_imagen_202605281940%20(1).jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.history-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.history-text {
  max-width: 500px;
}

.history h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}

.history .subtitle {
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.history p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat .number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-gold);
  display: block;
}

.stat .label {
  font-size: 0.875rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Línea decorativa */
.history-text::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 1.5rem 0;
}

.history-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-medium);
}

.history-image:hover img {
  transform: scale(1.03);
}

/* Galería */
.gallery {
  background-color: var(--color-bg-light);
  padding: 4rem 0;
}

.gallery h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-carbon);
}

.gallery .subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Gallery Reveal Stagger */
.gallery > .container > h2.reveal-up { transition-delay: 0s; }
.gallery > .container > p.reveal-up { transition-delay: 0.1s; }

.gallery-grid .gallery-item.reveal-up:nth-child(1) { transition-delay: 0.1s; }
.gallery-grid .gallery-item.reveal-up:nth-child(2) { transition-delay: 0.2s; }
.gallery-grid .gallery-item.reveal-up:nth-child(3) { transition-delay: 0.3s; }
.gallery-grid .gallery-item.reveal-up:nth-child(4) { transition-delay: 0.4s; }
.gallery-grid .gallery-item.reveal-up:nth-child(5) { transition-delay: 0.5s; }
.gallery-grid .gallery-item.reveal-up:nth-child(6) { transition-delay: 0.6s; }

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-medium);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-medium);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--color-white);
  padding: 1rem;
  font-size: 0.875rem;
  opacity: 0;
  transition: var(--transition-medium);
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Reseñas Marquee */
.reviews {
  background-color: var(--color-bg-light); /* Or slightly different */
  padding: 5rem 0;
  overflow: hidden;
}

.reviews .reviews-badge {
  display: inline-block;
  background-color: #FEF7E0;
  color: var(--color-carbon);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.reviews h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--color-carbon);
  margin-bottom: 0.5rem;
}

.reviews .subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
  border: 1px solid #EAEAEA;
}

.google-rating-badge .g-icon {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #4285F4;
}

.google-rating-badge .rating-info {
  text-align: left;
}

.google-rating-badge .stars {
  color: #FBBC05;
  font-size: 1rem;
  line-height: 1;
}

.google-rating-badge span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.google-rating-badge strong {
  color: var(--color-carbon);
  font-size: 0.9rem;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.review-card {
  width: 350px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 1.5rem;
  border: 1px solid #F0F0F0;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-meta h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-carbon);
  margin: 0;
}

.review-meta span {
  font-size: 0.75rem;
  color: #999;
}

.review-rating {
  color: #FBBC05;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.review-footer {
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-carbon) 100%);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}

.cta-section .subtitle {
  color: var(--color-text-light);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
}

.contact-item span {
  font-size: 0.875rem;
  opacity: 0.9;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-gold);
  color: var(--color-carbon);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-medium);
  box-shadow: 0 4px 15px rgba(245, 194, 38, 0.3);
  margin: 0 auto;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 194, 38, 0.5);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 194, 38, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(245, 194, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 194, 38, 0);
  }
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

.cta-footer {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Contact Form Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  padding-top: 60px;
}

.modal-content {
  background-color: var(--color-white);
  margin: 5% auto 15% auto;
  border: none;
  width: 80%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  position: relative;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  animation: modalfade 0.3s;
}

@keyframes modalfade {
  from {opacity: 0}
  to {opacity: 1}
}

.close-modal {
  color: var(--color-carbon);
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--color-gold);
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-carbon);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(245, 194, 38, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-response {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
}

.form-response.success {
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--color-whatsapp);
  border: 1px solid var(--color-whatsapp);
}

.form-response.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.footer-map {
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.footer-map iframe {
  display: block;
}

.footer-column a {
  color: var(--color-text-light);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-gold);
}

.footer-logo img {
  height: 3.5rem;
  width: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 2px 8px rgba(245,194,38,0.25));
}

.footer-column p {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-carbon);
  color: var(--color-text-light);
  font-size: 0.75rem;
}

/* Animaciones globales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    height: auto;
    min-height: 600px;
    padding: 8rem 0 4rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    background-color: rgba(15,15,15,0.97);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: left 0.4s ease;
    padding: 5rem 2rem 2rem;
    z-index: 999;
    justify-content: center;
    gap: 2rem;
  }
  
  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-logo-col {
    display: none; /* Hide large logo on mobile to save space */
  }

  .nav-logo-right {
    margin-left: 0;
    margin-right: auto;
  }
  
  .promo-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .promo-image-wrap .promo-img {
    min-height: 260px;
  }
  
  .history-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .history-text {
    margin-bottom: 2rem;
  }
  
  .history-image img {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-slider {
    justify-content: center;
  }
  
  .review-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column {
    margin-bottom: 1.5rem;
  }
  
  .footer-column:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 0.875rem;
  }
  
  .history h2 {
    font-size: 1.5rem;
  }
  
  .gallery h2 {
    font-size: 1.5rem;
  }
  
  .reviews h2 {
    font-size: 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .hero-stats .label {
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--color-gold);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 15px;
  font-size: 1.1rem;
  text-align: center;
  max-width: 80%;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 3px;
  user-select: none;
  background: rgba(0, 0, 0, 0.5);
  border: none;
}

.lightbox-prev {
  left: -50px;
}

.lightbox-next {
  right: -50px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 0px; }
  .lightbox-next { right: 0px; }
  .lightbox-close { top: -40px; right: 0px; }
}