/* ===========================
   GLOBAL.CSS — Momenti Design System
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-main:    #FCF8F5;
  --bg-alt:     #FAF3EE;
  --rose:       #E5989B;
  --rose-hover: #D68285;
  --gold:       #C5A880;
  --terracota:  #D16F6F;
  --text-dark:  #1F1A17;
  --text-mid:   #6E6560;
  --font-serif: 'Playfair Display', serif;
  --font-sans:  'Plus Jakarta Sans', sans-serif;
  --font-ui:    'Montserrat', sans-serif;
  --shadow:     0 10px 30px rgba(31, 26, 23, 0.06);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-dark);
}
p { color: var(--text-mid); }

.label-gold {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

/* ======= NAVBAR ======= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(252, 248, 245, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: none;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(252, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(31, 26, 23, 0.07);
}

.header-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.site-header.scrolled .header-logo img {
  height: 48px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--rose); }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-svg-icon {
  height: 22px;
  width: 22px;
  color: var(--text-dark);
  transition: color 0.25s ease;
  display: block;
}
.nav-icon-btn:hover .nav-svg-icon {
  color: var(--rose);
  transform: translateY(-1px);
}

/* ======= BUTTONS ======= */
.btn-primary {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #E5989B;
  background-image: none;
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border: none;
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  filter: none;
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #D68285;
  background-image: none;
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #E5989B !important;
  color: #FFFFFF !important;
  font-family: var(--font-ui) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 13px 34px !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 152, 155, 0.3) !important;
  text-shadow: none !important;
  filter: none !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
  white-space: nowrap;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #D68285 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(229, 152, 155, 0.4) !important;
}

/* ======= ANIMATIONS ======= */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(3deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ======= WIDGET FLOTANTE DE WHATSAPP ======= */
#momenti-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  z-index: 99999;
}

/* Enlace contenedor del círculo */
.whatsapp-link {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  order: 2;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.whatsapp-link:hover { transform: scale(1.08); }

/* Icono SVG interior */
.svg-whatsapp-icon {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 5;
}

/* Burbuja de texto "Chatea con nosotros" */
.whatsapp-bubble {
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  margin-right: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  position: relative;
  order: 1;
  animation: fadeInBubble 0.5s 1s ease both;
}
/* Flecha apuntando al círculo */
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #25D366;
}

/* Ondas de pulso expansivas detrás del botón */
.whatsapp-wave {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}
.whatsapp-wave:nth-child(2) { animation: pulseWave 2.5s infinite ease-in-out; }
.whatsapp-wave:nth-child(3) { animation: pulseWave 2.5s 1.25s infinite ease-in-out; }

/* Keyframes del widget */
@keyframes pulseWave {
  0%   { transform: scale(1);   opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0;   }
}
@keyframes fadeInBubble {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0);    }
}

/* Oculta la burbuja en móviles pequeños para no tapar nada */
@media (max-width: 480px) {
  .whatsapp-bubble { display: none; }
  #momenti-whatsapp { bottom: 16px; right: 16px; }
}

/* Corazón de imagen inline (reemplazo de emojis) */
.inline-heart-img {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
  object-fit: contain;
  margin-left: 4px;
  position: relative;
  top: -1px;
}
