@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 88px; font-family: Montserrat, sans-serif; color: #3d1a25; background: #fff; }

/* ---- Language ---- */
.en-only { display: block; }
.es-only { display: none; }
body.lang-es .en-only { display: none !important; }
body.lang-es .es-only { display: block !important; }
span.en-only, a.en-only, button.en-only { display: inline !important; }
span.es-only, a.es-only, button.es-only { display: none !important; }
body.lang-es span.en-only, body.lang-es a.en-only, body.lang-es button.en-only { display: none !important; }
body.lang-es span.es-only, body.lang-es a.es-only, body.lang-es button.es-only { display: inline !important; }

/* ---- Animations ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sparkle { 0%,100% { opacity:.3; transform:scale(.8); } 50% { opacity:1; transform:scale(1.2); } }
.fade-up   { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s  ease both; }

/* ---- Sparkle hero ---- */
#sparkle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }

/* ---- Nav ---- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 88px; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(61,26,37,.08); display: flex; align-items: center; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 26px; color: #3d1a25; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link { font-family: Montserrat, sans-serif; font-size: 15px; color: rgba(61,26,37,.65); text-decoration: none; position: relative; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #c9a84c; transition: width .3s; }
.nav-link:hover { color: #3d1a25; }
.nav-link:hover::after { width: 100%; }
.nav-cta { font-family: Montserrat, sans-serif; font-size: 14px; letter-spacing: .06em; background: #f5aec0; color: #3d1a25; padding: 12px 26px; border-radius: 999px; text-decoration: none; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }
.nav-right { display: flex; align-items: center; gap: 16px; }
#lang-btn { font-family: Montserrat, sans-serif; font-size: 13px; letter-spacing: .1em; border: 1px solid rgba(61,26,37,.2); background: transparent; color: rgba(61,26,37,.5); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
#lang-btn:hover { border-color: rgba(61,26,37,.4); color: #3d1a25; }
#menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: #3d1a25; }
#mobile-menu { display: none; position: fixed; top: 88px; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(61,26,37,.08); padding: 16px 24px 24px; z-index: 49; }
#mobile-menu a { display: block; font-family: Montserrat, sans-serif; font-size: 16px; color: #3d1a25; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(61,26,37,.07); }
#mobile-menu .nav-cta { display: block; text-align: center; margin-top: 16px; padding: 15px; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  #menu-btn { display: block; }
}

/* ---- Cards ---- */
.dress-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(61,26,37,.07); transition: transform .2s, box-shadow .2s; }
.dress-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(61,26,37,.12); }
.gold-line { height: 1px; background: #c9a84c; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.dress-card:hover .gold-line { transform: scaleX(1); }

/* ---- Form ---- */
.sg-input { width: 100%; font-family: Montserrat, sans-serif; font-size: 14px; background: #fff; border: 1.5px solid rgba(61,26,37,.15); border-radius: 12px; padding: 13px 16px; outline: none; transition: border-color .2s, box-shadow .2s; color: #3d1a25; }
.sg-input:focus { border-color: #f5aec0; box-shadow: 0 0 0 3px rgba(245,174,192,.25); }
.sg-label { display: block; font-family: Montserrat, sans-serif; font-size: 11px; color: rgba(61,26,37,.55); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.sg-btn { font-family: Montserrat, sans-serif; font-size: 13px; letter-spacing: .06em; background: #f5aec0; color: #3d1a25; border: none; padding: 15px 28px; border-radius: 999px; cursor: pointer; transition: opacity .2s; width: 100%; }
.sg-btn:hover { opacity: .87; }
.sg-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Time slots ---- */
.time-slot { cursor: pointer; text-align: center; font-family: Montserrat, sans-serif; font-size: 12px; padding: 9px 4px; border-radius: 10px; border: 1.5px solid rgba(61,26,37,.12); color: rgba(61,26,37,.65); transition: all .15s; user-select: none; }
.time-slot:hover { border-color: #f5aec0; color: #3d1a25; }
.time-slot.selected { background: #f5aec0; color: #3d1a25; border-color: #f5aec0; }

/* ---- WhatsApp FAB ---- */
#wa-fab { position: fixed; bottom: 90px; right: 20px; z-index: 45; width: 52px; height: 52px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.18); text-decoration: none; transition: transform .2s; }
#wa-fab:hover { transform: scale(1.08); }

/* ---- Mobile sticky bar ---- */
#mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid rgba(61,26,37,.08); }
#mobile-sticky a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; gap: 3px; text-decoration: none; font-family: Montserrat, sans-serif; font-size: 10px; color: rgba(61,26,37,.55); transition: color .2s; }
#mobile-sticky a:last-child { background: #f5aec0; color: #3d1a25; }
@media (max-width: 767px) {
  body { padding-top: 88px; padding-bottom: 64px; }
  #mobile-sticky { display: flex; }
  #wa-fab { bottom: 80px; }
  #sg-chat-wrap { bottom: 80px !important; }
}
