/* ============================================
   TODO! Producciones - Estilos principales
   Tema: CLARO — Blanco + Grises de marca + Naranja #F68C2C
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  /* Naranja corporativo */
  --orange:        #F68C2C;
  --orange-dark:   #D4751A;
  --orange-light:  #FFA955;
  --orange-pale:   #FFF3E6;

  /* Escala de grises de la marca */
  --gray-900:      #1A1A1A;   /* casi negro — titulares principales */
  --gray-700:      #3D3D3D;   /* texto cuerpo */
  --gray-500:      #5A6270;   /* gris medio del logo */
  --gray-400:      #8D96A3;   /* texto secundario */
  --gray-200:      #D8DCE2;   /* bordes, líneas */
  --gray-100:      #F0F2F5;   /* fondos alternativos */
  --white:         #FFFFFF;

  /* Semánticos */
  --bg:            var(--white);
  --bg-alt:        var(--gray-100);
  --bg-card:       var(--white);
  --border:        var(--gray-200);
  --text-primary:  var(--gray-900);
  --text-body:     var(--gray-700);
  --text-muted:    var(--gray-400);

  /* Tipografía */
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Barlow', sans-serif;

  --radius:        6px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 48px rgba(0,0,0,0.13);
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden; /* evita scroll horizontal global */
  max-width: 100vw;
}

::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ---- NAVBAR ---- */
#mainNav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  z-index: 1050;        /* siempre sobre todo */
  position: fixed;
  top: 0; left: 0; right: 0;
  /* Nunca dejar que AOS lo afecte */
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom: 2px solid var(--orange);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-md);
}

/* Logo en navbar */
.navbar-brand img {
  height: 44px;
  width: auto;
}
/* Fallback texto si no hay logo */
.navbar-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--orange) !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-700) !important;
  padding: 0.5rem 0.9rem !important;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--orange) !important; }

.btn-nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 0.45rem 1.3rem !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  border: 2px solid var(--orange) !important;
  transition: all var(--transition) !important;
  box-shadow: 0 3px 12px rgba(246,140,44,0.25) !important;
}
.btn-nav-cta::after { display: none; }
.btn-nav-cta:hover {
  background: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(246,140,44,0.35) !important;
}

/* Toggler oscuro (para fondo blanco) */
.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(58,64,72,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gray-900);
  overflow: hidden;
  max-width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

/* Patrón de puntos sutil */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246,140,44,0.22) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 65% 65% at 40% 55%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 40% 55%, black 20%, transparent 100%);
}
/* Franja naranja diagonal derecha */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dark) 100%);
  clip-path: polygon(22% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.12;
}

.hero-overlay { display: none; }
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100px) rotate(360deg); }
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--orange);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-title .highlight { color: var(--orange); }
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  font-weight: 400;
  line-height: 1.75;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator a {
  color: var(--orange);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.hero-stats {
  position: absolute;
  bottom: 3rem; right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-stat-item {
  text-align: right;
  border-right: 3px solid var(--orange);
  padding-right: 1.1rem;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

/* ---- BUTTONS ---- */
.btn-gold {
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(246,140,44,0.3);
}
.btn-gold:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,140,44,0.4);
}
.btn-outline-gold {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.83rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-outline-gold:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,140,44,0.3);
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.4) !important;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.83rem 2rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ---- SECTIONS ---- */
.section-padding { padding: 6rem 0; }
.bg-dark-alt { background-color: var(--bg-alt); }

.section-tag {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  margin-bottom: 0.65rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0.85rem auto 0;
  font-size: 0.95rem;
}
.text-muted-light { color: var(--text-muted); }

/* ---- SERVICES ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition);
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--orange-pale);
  border: 1px solid rgba(246,140,44,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--orange); }
.service-icon i { font-size: 1.3rem; color: var(--orange); transition: color var(--transition); }
.service-card:hover .service-icon i { color: #fff; }
.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.service-desc { color: var(--gray-500); font-size: 0.9rem; line-height: 1.75; }
.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 1.25rem;
  gap: 0.3rem;
  transition: all var(--transition);
}
.service-link:hover { color: var(--orange-dark); gap: 0.6rem; }

/* ---- PROJECTS ---- */
.project-filters { gap: 0.4rem; }
/* Transición suave para el filtro */
.project-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-500);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.42rem 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.project-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-img {
  height: 220px;
  background-color: var(--gray-100);
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 2rem;
  overflow: hidden;
}
.project-card:hover .project-img { transform: scale(1.04); }
.project-img-placeholder { background: var(--gray-100); }
.project-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(246,140,44,0.4);
}
.project-play:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
.project-info { padding: 1.4rem; }
.project-cat {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  margin: 0.3rem 0 0.45rem;
}
.project-client { font-size: 0.82rem; color: var(--gray-400); margin: 0 0 0.7rem; }
.project-more {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}
.project-more:hover { color: var(--orange-dark); }

/* ---- STATS — fondo naranja sólido ---- */
.stats-section {
  background: var(--orange);
  padding: 4rem 0;
}
.stat-card { padding: 1.5rem 1rem; text-align: center; }
.stat-icon { display: block; font-size: 2rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  margin-top: 0.3rem;
  display: block;
  font-weight: 600;
}

/* ---- ABOUT ---- */
.about-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--gray-500);
}
.about-feat-item i { color: var(--orange); font-size: 1rem; flex-shrink: 0; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo { height: 190px; background: var(--gray-100); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gray-300);
}
.team-info h5 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
  color: var(--gray-900);
}
.team-info small {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- TESTIMONIOS ---- */
.testimonios-section { background: var(--bg-alt); }
.testimonio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 900;
  color: var(--orange);
  line-height: 1; opacity: 0.15;
}
.testimonio-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.stars { color: var(--orange); font-size: 0.85rem; }
.testimonio-text { font-size: 0.92rem; font-style: italic; color: var(--gray-500); line-height: 1.8; margin-top: 0.75rem; }
.testimonio-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.author-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonio-author strong { font-size: 0.88rem; color: var(--gray-900); font-weight: 600; display: block; }
.testimonio-author small { color: var(--gray-400); font-size: 0.78rem; }

/* ---- CLIENTS MARQUEE ---- */
.clients-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.clients-track {
  display: flex; gap: 3.5rem;
  animation: marquee 25s linear infinite;
  width: max-content;
  align-items: center;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 120px; height: 60px; flex-shrink: 0;
}
.client-item img {
  max-height: 36px; max-width: 120px; object-fit: contain;
  filter: grayscale(100%); opacity: 0.4;
  transition: all var(--transition);
}
.client-item:hover img { filter: grayscale(0%); opacity: 1; }
.client-name-text {
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--transition); white-space: nowrap;
}
.client-item:hover .client-name-text { color: var(--orange); }

/* ---- CONTACTO ---- */
.contacto-section { background: var(--bg-alt); }
.contact-info-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.contact-info-item i { color: var(--orange); width: 22px; text-align: center; font-size: 1.1rem; }
.contact-info-item a { color: var(--gray-500); text-decoration: none; transition: color var(--transition); }
.contact-info-item a:hover { color: var(--orange); }
.contact-info-item span { color: var(--gray-500); }

/* Form */
.contact-form .form-control,
.contact-form .form-select,
.contact-form .form-floating > .form-control,
.contact-form .form-floating > .form-select {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gray-900);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: var(--white);
  border-color: var(--orange);
  color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(246,140,44,0.12);
}
.contact-form .form-floating > label { color: var(--gray-400); }
.contact-form .form-select option { background: var(--white); color: var(--gray-900); }
.contact-form textarea.form-control { resize: none; }

.alert-success-custom {
  background: var(--orange-pale);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}
.alert-success-custom i { font-size: 3rem; color: var(--orange); display: block; margin-bottom: 1rem; }
.alert-success-custom h4 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--gray-900); margin-bottom: 0.5rem;
}
.alert-success-custom p { color: var(--gray-500); margin: 0; }

/* Social links */
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 0.95rem; text-decoration: none;
  transition: all var(--transition);
  background: var(--white);
}
.social-links a:hover {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

/* ---- FOOTER — oscuro con acento naranja ---- */
.site-footer {
  background: var(--gray-900);
  border-top: 3px solid var(--orange);
  padding: 5rem 0 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 900;
  color: var(--orange);
  text-transform: uppercase;
}
/* Logo en footer */
.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { color: var(--gray-400); font-size: 0.88rem; line-height: 1.75; max-width: 280px; margin-top: 0.75rem; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray-400); text-decoration: none; font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact p { color: var(--gray-400); font-size: 0.88rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0; margin-top: 3rem;
}
.footer-bottom p { color: var(--gray-400); font-size: 0.82rem; margin: 0; }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9999;
  width: 56px; height: 56px;
  background: #25D366; color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  opacity: 1 !important;
  visibility: visible !important;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-stats { display: none; }
  .section-padding { padding: 4rem 0; }

  /* Navbar SIEMPRE sólida en mobile/tablet */
  #mainNav {
    background: #fff !important;
    border-bottom: 2px solid var(--orange) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10) !important;
    padding: 0.55rem 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Menú desplegado */
  #navbarMain {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0.6rem 0;
    margin-top: 0.35rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  /* Hero: padding-top para dejar espacio a la navbar fija */
  .hero-section .hero-content .row {
    padding-top: 80px;
  }
}

@media (max-width: 575px) {
  /* Título hero más pequeño en móvil pequeño */
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
    letter-spacing: 0;
    line-height: 1.1;
  }

  /* Subtítulo hero */
  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Botones hero apilados */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn-gold,
  .hero-actions .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  /* Sección padding más compacta */
  .section-padding { padding: 3rem 0; }
  .section-title { font-size: 1.8rem; }
  .stat-value { font-size: 2.4rem; }

  /* WhatsApp flotante más pequeño */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}


/* Prevenir overflow horizontal en cualquier elemento */
section, .container, .row {
  max-width: 100%;
}

/* ============================================
   SECCIÓN VIÑA CUCHA CUCHA — Video hero
   ============================================ */
.cucha-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0d0d;
}

/* Video de fondo */
.cucha-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Animación suave de entrada */
  opacity: 0;
  transition: opacity 1.2s ease;
}
.cucha-video.loaded { opacity: 1; }

/* Overlay degradado oscuro para legibilidad */
.cucha-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.65) 100%
    );
}

/* Contenido sobre el video */
.cucha-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

/* Tag */
.cucha-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

/* Título */
.cucha-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.cucha-title span {
  color: var(--orange);
  display: block;
}

/* Descripción */
.cucha-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Botón CTA */
.cucha-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(246,140,44,0.4);
  border: 2px solid var(--orange);
}
.cucha-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 767px) {
  .cucha-section  { min-height: 70vh; }
  .cucha-title    { font-size: 2.4rem; }
  .cucha-desc     { font-size: 0.92rem; }
  .cucha-btn      { padding: 0.85rem 1.75rem; font-size: 0.88rem; width: 100%; justify-content: center; }
}

/* ---- Segundo botón Cucha Cucha (play) ---- */
.cucha-btn-play {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 1rem;
}
.cucha-btn-play:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* ---- Modal video Cucha Cucha ---- */
.cucha-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  transition: background 0.35s ease, visibility 0s linear 0.35s;
}
.cucha-modal.open {
  background: rgba(0,0,0,0.88);
  visibility: visible;
  transition: background 0.35s ease, visibility 0s linear 0s;
}

.cucha-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  transform: scale(0.88) translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), opacity 0.3s ease;
}
.cucha-modal.open .cucha-modal-inner {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.cucha-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.cucha-modal-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

.cucha-modal-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.cucha-modal-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive modal */
@media (max-width: 575px) {
  .cucha-modal { padding: 1rem 0.75rem; }
  .cucha-modal-close { top: -40px; }
  .cucha-btn-play {
    margin-left: 0;
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }
}
