:root {
  --magenta: #e0178a;
  --magenta-2: #c81277;
  --magenta-deep: #a60e60;
  --wine: #7a0e45;
  --wine-2: #5e0a35;
  --gold: #e3c07a;
  --gold-2: #f3dca0;
  --gold-deep: #c2974a;
  --blush: #fbd3e4;
  --cream: #fff7f2;
  --ink: #3a0a22;
  --white: #ffffff;
  --card-w: min(560px, 94vw);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Poppins", system-ui, sans-serif;
  --shadow-gold: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(243, 220, 160, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 50% -12%, #ff63b3 0%, transparent 58%),
    radial-gradient(820px 520px at 8% 26%, rgba(243, 220, 160, 0.20), transparent 60%),
    radial-gradient(760px 520px at 96% 70%, rgba(255, 99, 179, 0.30), transparent 60%),
    linear-gradient(165deg, #b30e63 0%, var(--wine) 58%, var(--wine-2) 100%);
  background-attachment: fixed;
  padding: clamp(16px, 4vw, 56px) 0;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ---------- Destellos dorados de fondo ---------- */
.sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sparkles i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-2), transparent 70%);
  opacity: 0; animation: twinkle 5s ease-in-out infinite, floaty 12s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s, 0s; }
.sparkles i:nth-child(2) { left: 22%; top: 62%; animation-delay: .8s, 1.5s; width: 4px; height: 4px; }
.sparkles i:nth-child(3) { left: 41%; top: 12%; animation-delay: 1.6s, .6s; }
.sparkles i:nth-child(4) { left: 57%; top: 78%; animation-delay: .4s, 2.2s; width: 5px; height: 5px; }
.sparkles i:nth-child(5) { left: 70%; top: 30%; animation-delay: 2.1s, 1.1s; }
.sparkles i:nth-child(6) { left: 84%; top: 58%; animation-delay: 1.2s, .3s; width: 4px; height: 4px; }
.sparkles i:nth-child(7) { left: 92%; top: 16%; animation-delay: 2.6s, 1.8s; }
.sparkles i:nth-child(8) { left: 15%; top: 88%; animation-delay: .6s, 2.6s; width: 5px; height: 5px; }
.sparkles i:nth-child(9) { left: 63%; top: 8%; animation-delay: 1.9s, .9s; width: 4px; height: 4px; }
.sparkles i:nth-child(10) { left: 35%; top: 44%; animation-delay: 2.4s, 1.4s; }
.sparkles i:nth-child(11) { left: 78%; top: 84%; animation-delay: .2s, 2.0s; width: 5px; height: 5px; }
.sparkles i:nth-child(12) { left: 48%; top: 92%; animation-delay: 1.4s, .5s; }

/* ---------- Tarjeta digital ---------- */
.card-shell {
  position: relative; z-index: 1;
  width: var(--card-w); margin: 0 auto;
  border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow-gold);
  background: linear-gradient(180deg, var(--magenta) 0%, var(--magenta-2) 100%);
  isolation: isolate;
}
/* Marco dorado con gradiente */
.card-shell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 5; pointer-events: none;
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep) 35%, rgba(243, 220, 160, 0.35) 55%, var(--gold-2) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* Brillo que recorre el marco */
.card-shell::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 6; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
  background-size: 250% 250%; animation: shimmer 6s linear infinite; mix-blend-mode: screen; opacity: .55;
}

/* ---------- Tipografía de marca ---------- */
.script { font-family: var(--script); color: var(--gold-2); font-weight: 400; line-height: 1; }
.serif { font-family: var(--serif); }
.gold { color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center; padding: 46px 30px 40px;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(251, 211, 228, 0.55), transparent 70%),
    radial-gradient(300px 200px at 85% 90%, rgba(243, 220, 160, 0.22), transparent 70%);
}
.logo-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 18px; }
.logo-wrap img {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover; position: relative; z-index: 2;
  border: 3px solid var(--gold-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.logo-wrap::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: 1;
  box-shadow: 0 0 0 2px rgba(243, 220, 160, 0.5), 0 0 38px 6px rgba(243, 220, 160, 0.45);
  animation: halo 3.4s ease-in-out infinite;
}
.brand-name { font-family: var(--serif); font-size: clamp(34px, 9vw, 46px); font-weight: 800; letter-spacing: .5px; }
.brand-name b { color: var(--gold-2); font-style: italic; }
.brand-tag { font-family: var(--script); font-size: clamp(28px, 7vw, 38px); color: var(--gold-2); margin-top: 2px; }
.hero p { margin: 16px auto 24px; max-width: 420px; color: var(--blush); font-size: 15px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; font-family: var(--sans);
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .3px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--wine-2); box-shadow: 0 10px 24px rgba(194, 151, 74, 0.45); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(194, 151, 74, 0.6); }
.btn-outline { background: transparent; color: var(--gold-2); border: 1.6px solid rgba(243, 220, 160, 0.7); }
.btn-outline:hover { background: rgba(243, 220, 160, 0.14); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Divisor dorado ---------- */
.divider { display: flex; align-items: center; gap: 12px; padding: 0 30px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(243, 220, 160, 0.7), transparent); }
.divider span { color: var(--gold-2); font-size: 12px; transform: rotate(45deg); }

/* ---------- Secciones ---------- */
.section { padding: 38px 30px; }
.section.wine { background: linear-gradient(180deg, var(--wine), var(--wine-2)); }
.section.magenta { background: linear-gradient(180deg, var(--magenta-2), var(--magenta-deep)); }
.sec-head { text-align: center; margin-bottom: 24px; }
.sec-kicker { font-family: var(--script); font-size: 30px; color: var(--gold-2); display: block; }
.sec-title { font-family: var(--serif); font-size: clamp(24px, 6vw, 30px); font-weight: 800; letter-spacing: .5px; }

/* ---------- Servicios (franja tipo imagen) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.svc {
  text-align: center; padding: 20px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(243, 220, 160, 0.25);
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.12); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }
.svc .ico {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(243, 220, 160, 0.6);
}
.svc h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.svc p { font-size: 12.5px; color: var(--blush); line-height: 1.45; }

/* ---------- Promociones ---------- */
.promo-list { display: grid; gap: 14px; }
.promo {
  position: relative; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(243, 220, 160, 0.4);
  transition: transform .18s ease, box-shadow .2s ease;
}
.promo:hover { transform: translateX(4px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }
.promo .badge {
  flex: 0 0 auto; min-width: 64px; text-align: center; padding: 10px 8px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--wine-2);
  font-weight: 800; font-size: 14px; line-height: 1.1;
}
.promo h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.promo p { font-size: 13px; color: var(--blush); }
.promo .valid { font-size: 11.5px; color: var(--gold-2); margin-top: 4px; font-weight: 600; }

/* ---------- Nosotros / cita ---------- */
.quote {
  text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 5vw, 26px);
  color: var(--gold-2); line-height: 1.4; padding: 6px 10px 22px;
}
.checks { list-style: none; display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--cream); }
.checks li::before { content: "✦"; color: var(--gold-2); }

/* ---------- Contacto / redes ---------- */
.contact-cta { text-align: center; }
.contact-cta > p { color: var(--blush); margin-bottom: 18px; font-size: 14px; }
.socials { display: flex; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.social {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px;
  transition: transform .18s ease;
}
.social:hover { transform: translateY(-5px); }
.social .ring {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1.6px solid rgba(243, 220, 160, 0.6);
  transition: background .2s ease, box-shadow .2s ease;
}
.social:hover .ring { background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); box-shadow: 0 10px 22px rgba(194, 151, 74, 0.5); }
.social .ring svg { width: 26px; height: 26px; fill: var(--gold-2); transition: fill .2s ease; }
.social:hover .ring svg { fill: var(--wine-2); }
.social .handle { font-size: 11px; color: var(--blush); text-align: center; line-height: 1.3; }
.social .net { font-size: 12px; font-weight: 700; color: var(--white); }

/* ---------- Footer ---------- */
.foot { background: var(--wine-2); text-align: center; padding: 22px 24px; }
.foot .brand-name { font-size: 22px; }
.foot p { font-size: 12px; color: rgba(251, 211, 228, 0.8); margin-top: 8px; }
.foot a { color: var(--gold-2); font-weight: 600; }

/* ---------- Estados de carga ---------- */
.loading, .empty-msg { text-align: center; color: var(--blush); font-size: 13px; padding: 14px; grid-column: 1 / -1; }

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--magenta), var(--magenta-deep));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); border: 2px solid var(--gold-2);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: #fff; }
.fab::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold-2);
  animation: pulsering 2.2s ease-out infinite;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 40;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: var(--wine-2);
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1.2); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 2px rgba(243, 220, 160, 0.4), 0 0 26px 4px rgba(243, 220, 160, 0.35); } 50% { box-shadow: 0 0 0 3px rgba(243, 220, 160, 0.7), 0 0 46px 10px rgba(243, 220, 160, 0.6); } }
@keyframes shimmer { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
@keyframes pulsering { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

@media (max-width: 560px) {
  body { padding: 0; }
  .card-shell { width: 100%; border-radius: 0; min-height: 100vh; }
  .fab { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sparkles { display: none; }
}
