/* =========================================
PLATAFORMA 950 - ESTILOS PRINCIPALES
========================================= */
@font-face {
  font-family: 'AliceInWonderland';
  src: url('fonts/Alice_in_Wonderland_3.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --dorado-oscuro: #8e623b;
  --crema: #efe7de;
  --dorado: #bd956a;
  --blanco-hielo: #edf2f5;
  --taupe: #c3b19b;
  --marron: #9a8b7f;
  --negro-profundo: #1a1a1a;
  --gris-oscuro: #2d2d2d;
  --whatsapp: #25D366;
  --instagram-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --tiktok-cyan: #00f2ea;
  --tiktok-magenta: #ff0050;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--blanco-hielo);
  color: #4a4a4a;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* =========================================
NAVEGACIÓN
========================================= */
nav {
  background: rgba(239, 231, 222, 0.98);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ✅ LOGO CON EFECTO SHIMMER DE JOYERÍA */
.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(189, 149, 106, 0.15) 40%,
    rgba(255, 220, 150, 0.35) 50%,
    rgba(189, 149, 106, 0.15) 60%,
    transparent 100%
  );
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 200%; }
}

.logo:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.logo:hover::after {
  animation-duration: 1.5s;
}

.logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  max-width: 180px;
  transition: filter 0.3s ease;
}

/* ✅ Controles de navegación pegados a la derecha */
.nav-controls { 
  display: flex; 
  gap: 0.8rem; 
  align-items: center; 
  justify-content: flex-end; /* Asegura alineación a la derecha */
}

.lang-selector {
  background: var(--dorado-oscuro);
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.lang-selector:hover {
  background: var(--dorado);
  transform: translateY(-2px);
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  text-decoration: none;
  color: var(--marron);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--dorado-oscuro); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--dorado-oscuro);
  cursor: pointer;
}

/* =========================================
HERO SECTION (ESTABLE SIN SALTOS)
========================================= */
.hero {
  position: relative;
  min-height: 75vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--negro-profundo); /* Fondo de seguridad */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    rgba(237, 242, 245, 0.32) 0%,
    rgba(189, 149, 106, 0.14) 45%,
    rgba(239, 231, 222, 0.28) 100%
  );
  z-index: 1;
}

/* ✅ Centrado robusto sin animaciones que causen saltos */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 85%;
  max-width: 600px;
  padding: 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(142, 98, 59, 0.92);
  color: white;
  padding: 0.4rem 1.5rem;
  border-radius: 25px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.4;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 2.2rem;
  color: #2a1a0a;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0,0,0,0.08);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #3a2a1a;
  margin-bottom: 1.2rem;
  font-style: italic;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.45rem 1rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-description {
  font-size: 0.95rem;
  color: #2a1a0a;
  margin-bottom: 1.8rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  line-height: 1.6;
}

/* ✅ Botones centrados */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}

.btn {
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  background: var(--dorado-oscuro);
  color: white;
  border: 2px solid var(--dorado-oscuro);
  box-shadow: 0 4px 15px rgba(142, 98, 59, 0.4);
}

.btn-primary:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 98, 59, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.98);
  color: var(--dorado-oscuro);
  border: 2px solid var(--dorado-oscuro);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  background: var(--dorado-oscuro);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 98, 59, 0.4);
}

/* =========================================
SECCIONES GENERALES
========================================= */
.features { padding: 4rem 2rem; background: white; }
.container { max-width: 960px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature { text-align: center; padding: 1.5rem; }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--dorado); }
.feature h3 { color: var(--dorado-oscuro); font-size: 1.3rem; margin-bottom: 0.5rem; }
.feature p { color: var(--marron); font-size: 1rem; }

.categories { padding: 5rem 2rem; background: var(--blanco-hielo); }

.section-title { text-align: center; margin-bottom: 3rem; }

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dorado-oscuro);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--dorado);
}

.section-title p { color: var(--taupe); font-size: 1.1rem; margin-top: 1.5rem; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(189, 149, 106, 0.2);
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(142, 98, 59, 0.25);
  border-color: var(--dorado);
}

.category-card:hover::before { transform: scaleX(1); }

.category-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-hielo) 100%);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img { transform: scale(1.05); }

.category-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dorado-oscuro);
  margin: 1.2rem 1rem 0.5rem;
  text-align: center;
}

.category-card p {
  color: var(--marron);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  padding: 0 1rem 1.5rem;
}

/* =========================================
MODALES
========================================= */
.category-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.category-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-gallery-container {
  background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-hielo) 100%);
  margin: auto;
  padding: 0;
  border-radius: 15px;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  color: var(--dorado-oscuro);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.modal-close:hover {
  color: var(--dorado);
  transform: rotate(90deg);
  background: white;
}

.modal-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-hielo) 100%);
  border-bottom: 2px solid var(--dorado);
}

.modal-header h2 {
  color: var(--dorado-oscuro);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--marron);
  font-size: 1.1rem;
  font-style: italic;
}

.gallery-wrapper { position: relative; padding: 2rem; background: white; }

.gallery-main {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--blanco-hielo);
  transition: opacity 0.3s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(142, 98, 59, 0.8);
  color: white;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.gallery-nav:hover {
  background: var(--dorado-oscuro);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(142, 98, 59, 0.9);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px; height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumbnail:hover { opacity: 0.9; transform: translateY(-3px); }

.thumbnail.active {
  border-color: var(--dorado-oscuro);
  opacity: 1;
  box-shadow: 0 4px 10px rgba(142, 98, 59, 0.3);
}

.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  padding: 2rem;
  background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-hielo) 100%);
  border-top: 2px solid var(--dorado);
  text-align: center;
}

.modal-info h3 { color: var(--dorado-oscuro); font-size: 1.4rem; margin-bottom: 1rem; }
.modal-info p { color: var(--marron); font-size: 1rem; line-height: 1.8; max-width: 700px; margin: 0 auto; }

.stats { background: var(--crema); padding: 3rem 2rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 { font-size: 2.5rem; color: var(--dorado-oscuro); margin-bottom: 0.3rem; }
.stat-item p { color: var(--taupe); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 2px; }

.about { padding: 5rem 2rem; background: white; }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about p { font-size: 1.1rem; color: var(--marron); line-height: 1.8; margin-bottom: 1.2rem; }

.custom-section { padding: 5rem 2rem; background: var(--blanco-hielo); }
.custom-content { max-width: 700px; margin: 0 auto; text-align: center; }
.custom-form { margin-top: 2rem; display: grid; gap: 1.2rem; }

.form-group { text-align: left; }

.form-group label {
  display: block;
  color: var(--dorado-oscuro);
  margin-bottom: 0.4rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--taupe);
  border-radius: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--dorado); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* =========================================
FOOTER
========================================= */
footer {
  background: linear-gradient(135deg, var(--negro-profundo) 0%, var(--gris-oscuro) 100%);
  color: white;
  padding: 4rem 2rem 1.5rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado), var(--dorado-oscuro));
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dorado);
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 2px;
  background: var(--dorado);
}

.footer-section p,
.footer-section a {
  color: #b8b8b8;
  text-decoration: none;
  line-height: 2;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section a:hover { color: var(--dorado); padding-left: 5px; }
.footer-section a.popup-link { cursor: pointer; }
.footer-section i { margin-right: 0.5rem; color: var(--dorado); width: 20px; }

.social-links { display: flex; gap: 1.2rem; margin-top: 1rem; }

.social-links a {
  color: var(--dorado);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 3px rgba(189, 149, 106, 0.3));
}

.social-links a:hover {
  color: var(--crema);
  filter: drop-shadow(0 4px 6px rgba(189, 149, 106, 0.5));
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(189, 149, 106, 0.3);
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom a { color: var(--dorado); text-decoration: none; }

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-hielo) 100%);
  margin: auto;
  padding: 2.5rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close-info {
  position: absolute;
  top: 1rem; right: 1.5rem;
  color: var(--dorado-oscuro);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close-info:hover { color: var(--dorado); }
.modal h2 { color: var(--dorado-oscuro); font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
.modal h3 { color: var(--dorado-oscuro); font-size: 1.3rem; margin: 1.5rem 0 0.8rem 0; }
.modal p { color: var(--marron); font-size: 1rem; line-height: 1.8; margin-bottom: 0.8rem; }
.modal-icon { text-align: center; font-size: 3rem; color: var(--dorado); margin-bottom: 1rem; }

/* =========================================
BOTONES FLOTANTES
========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 55px; height: 55px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  background: white;
  color: var(--negro-profundo);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  font-family: 'Cormorant Garamond', serif;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; right: 70px; }

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7); }
}

.instagram-float {
  position: fixed;
  bottom: 25px; left: 25px;
  width: 55px; height: 55px;
  background: var(--instagram-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(193, 53, 132, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-instagram 2s infinite;
}

.instagram-float:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(193, 53, 132, 0.6); }

.instagram-tooltip {
  position: absolute;
  left: 65px;
  background: white;
  color: var(--negro-profundo);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  font-family: 'Cormorant Garamond', serif;
}

.instagram-float:hover .instagram-tooltip { opacity: 1; visibility: visible; left: 70px; }

@keyframes pulse-instagram {
  0%, 100% { box-shadow: 0 5px 20px rgba(193, 53, 132, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(193, 53, 132, 0.7); }
}

.tiktok-float {
  position: fixed;
  bottom: 90px; left: 25px;
  width: 55px; height: 55px;
  background: linear-gradient(135deg, var(--tiktok-cyan) 0%, var(--tiktok-magenta) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(0, 242, 234, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-tiktok 2s infinite;
}

.tiktok-float:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(0, 242, 234, 0.6); }

.tiktok-tooltip {
  position: absolute;
  left: 65px;
  background: white;
  color: var(--negro-profundo);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  font-family: 'Cormorant Garamond', serif;
}

.tiktok-float:hover .tiktok-tooltip { opacity: 1; visibility: visible; left: 70px; }

@keyframes pulse-tiktok {
  0%, 100% { box-shadow: 0 5px 20px rgba(0, 242, 234, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(0, 242, 234, 0.7), 0 0 40px rgba(255, 0, 80, 0.3); }
}

.back-to-top {
  position: fixed;
  bottom: 90px; right: 25px;
  width: 45px; height: 45px;
  background: var(--dorado-oscuro);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 98, 59, 0.3);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover {
  background: var(--dorado);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(189, 149, 106, 0.4);
}

/* ✅ Animación solo para cards y features, NO para hero content para evitar saltos */
.feature, .category-card { animation: fadeInUp 0.8s ease; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .hamburger { display: block; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(239, 231, 222, 0.98);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
  }
  
  .nav-links.active { display: flex; }
  .nav-links li { margin: 0.4rem 0; }
  
  .nav-links a {
    display: block;
    padding: 0.7rem 1.5rem;
    text-align: center;
    font-size: 1.1rem;
  }
  
  .nav-links a::after { display: none; }
  
  .logo-img { max-height: 40px; }
  
  .hero-video {
    width: 200%;
    left: -50%;
    filter: saturate(0.92) contrast(1.04);
    transform: scale(1.06);
  }
  
  .hero-overlay {
    background: linear-gradient(
      160deg,
      rgba(237, 242, 245, 0.42) 0%,
      rgba(189, 149, 106, 0.18) 45%,
      rgba(239, 231, 222, 0.38) 100%
    );
  }
  
  .hero { min-height: 65vh; padding: 0; }
  .hero-content { width: 90%; padding: 1.2rem 0.8rem; }
  
  .hero h1 { 
    font-size: 1.5rem;
    color: #1a0a00;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.06);
  }
  
  .hero-subtitle { 
    font-size: 0.9rem; 
    padding: 0.45rem 0.8rem;
    background: rgba(255,255,255,0.72);
  }
  
  .hero-description { 
    font-size: 0.85rem;
    background: rgba(255,255,255,0.65);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }
  
  .btn { width: 100%; max-width: 260px; padding: 0.8rem 1.3rem; font-size: 0.75rem; }

  .features, .categories, .about, .custom-section, .stats { padding: 2.5rem 1rem; }
  .section-title h2 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .category-image { height: 150px; }
  .category-card h3 { font-size: 1.1rem; margin: 0.8rem 0.5rem 0.3rem; }
  .category-card p { font-size: 0.85rem; padding: 0 0.5rem 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item h3 { font-size: 2.2rem; }
  .stat-item p { font-size: 0.85rem; }
  
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer-section h3::after { left: 50%; transform: translateX(-50%); }
  .social-links { justify-content: center; }
  
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 15px; right: 15px; }
  .whatsapp-tooltip { display: none; }
  .instagram-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 75px; left: 15px; }
  .instagram-tooltip { display: none; }
  .tiktok-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 15px; left: 15px; }
  .tiktok-tooltip { display: none; }
  .back-to-top { width: 42px; height: 42px; bottom: 80px; right: 15px; font-size: 0.9rem; }
  
  .lang-selector { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
  
  .modal-content { padding: 2rem 1.5rem; width: 95%; }
  .modal h2 { font-size: 1.6rem; }
  .modal h3 { font-size: 1.2rem; }
  .modal-close-info { top: 0.8rem; right: 1rem; font-size: 1.8rem; }
  
  .modal-gallery-container { width: 98%; margin: 1rem auto; }
  .gallery-main { height: 300px; }
  .gallery-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .gallery-prev { left: 0.5rem; }
  .gallery-next { right: 0.5rem; }
  .thumbnail { width: 60px; height: 60px; }
  
  .modal-header { padding: 1.5rem 1.5rem 1rem; }
  .modal-header h2 { font-size: 1.6rem; }
  .modal-info { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 60vh; padding: 4rem 0.8rem 2.5rem; }
  .hero-content { width: 92%; padding: 1rem 0.6rem; }
  
  .hero h1 { font-size: 1.3rem; }
  .hero-subtitle { font-size: 0.85rem; padding: 0.4rem 0.7rem; background: rgba(255,255,255,0.78); }
  .hero-description { font-size: 0.8rem; background: rgba(255,255,255,0.7); }
  
  .hero-badge { font-size: 0.65rem; padding: 0.3rem 0.9rem; }
  .btn { padding: 0.75rem 1rem; font-size: 0.7rem; }
  
  .section-title h2 { font-size: 1.5rem; }
  .feature-icon { font-size: 2.2rem; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-image { height: 200px; }
  .gallery-main { height: 250px; }
  
  .logo-img { max-height: 36px; }
}

.dev-credit {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.85;
  text-align: center;
}
.dev-credit a {
  color: #c9a961;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.dev-credit a:hover {
  opacity: 1;
}