:root {
  --bg: #fff7f9;
  --bg-soft: #fdeef2;
  --pink-50: #fde4eb;
  --pink-100: #f9d0dc;
  --pink-300: #f2a7bd;
  --pink-500: #e4789a;
  --rose: #b84f73;
  --text: #4b2a36;
  --muted: #8a6170;
  --gold-1: #b8862b;
  --gold-2: #e2bb5e;
  --gold-3: #f7e2a4;
  --gold: linear-gradient(135deg, #b8862b 0%, #e9c46a 45%, #f7e2a4 60%, #c9962f 100%);
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(184, 79, 115, .14);
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--rose); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 247, 249, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--pink-100); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--head); font-size: 22px; }
.brand b { color: var(--pink-500); font-weight: 600; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-2); }
.links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.links a { color: var(--text); text-decoration: none; }
.links a:hover { color: var(--pink-500); }
.links .pill { background: var(--pink-500); color: #fff; padding: 8px 18px; border-radius: 999px; }
.links .pill:hover { background: var(--rose); color: #fff; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--rose); border: 2px solid var(--pink-300); }
.btn.big { font-size: 19px; padding: 18px 32px; }
.wa-ico { width: 22px; height: 22px; flex: none; }

/* Hero */
.hero { position: relative; padding: 70px 0 90px; background: radial-gradient(circle at 85% 20%, var(--pink-50), transparent 55%), radial-gradient(circle at 5% 90%, #fbefd6, transparent 45%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.kicker { font-family: var(--head); color: var(--gold-1); font-weight: 600; letter-spacing: .5px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-logo { display: grid; place-items: center; }
.hero-logo img { width: min(420px, 85vw); height: auto; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--gold-2), 0 30px 60px rgba(184, 79, 115, .25); animation: float 6s ease-in-out infinite; }
.balloon { position: absolute; border-radius: 50% 50% 48% 52%; opacity: .55; z-index: 0; }
.balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 70px; background: rgba(184, 134, 43, .4); }
.b1 { width: 70px; height: 84px; background: var(--pink-300); left: 4%; top: 12%; animation: float 7s ease-in-out infinite; }
.b2 { width: 46px; height: 56px; background: var(--gold-2); left: 44%; top: 6%; animation: float 5s ease-in-out infinite .5s; }
.b3 { width: 56px; height: 68px; background: var(--pink-100); right: 3%; bottom: 10%; animation: float 8s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Secciones */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 { font-size: clamp(30px, 4vw, 42px); }
.sub { color: var(--muted); max-width: 680px; margin: 0 auto 40px; font-size: 17px; }

/* Ocasiones */
.occasions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.occ { text-align: left; background: #fff; border: 1px solid var(--pink-100); border-radius: var(--radius); padding: 22px; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; font: inherit; color: inherit; }
.occ:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.occ .em { font-size: 30px; display: block; margin-bottom: 8px; }
.occ h3 { font-size: 20px; margin-bottom: 6px; }
.occ p { margin: 0; color: var(--muted); font-size: 15px; }
.occ .count { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--gold-1); }

/* Tabs */
.tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; justify-content: center; flex-wrap: wrap; }
.tab { flex: none; border: 2px solid var(--pink-100); background: #fff; color: var(--text); padding: 8px 16px; border-radius: 999px; font: 700 14px var(--body); cursor: pointer; white-space: nowrap; }
.tab:hover { border-color: var(--pink-300); }
.tab[aria-selected="true"] { background: var(--pink-500); border-color: var(--pink-500); color: #fff; }
.cat-desc { text-align: center; color: var(--muted); min-height: 1.6em; margin: 6px auto 28px; max-width: 640px; }

/* Galería */
.gallery { columns: 3 280px; column-gap: 18px; }
.card { break-inside: avoid; margin-bottom: 18px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(184, 79, 115, .1); cursor: pointer; position: relative; transition: transform .15s, box-shadow .15s; border: 0; padding: 0; width: 100%; text-align: left; font: inherit; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { position: relative; background: var(--pink-50); }
.card img, .card video { width: 100%; height: auto; }
.card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.card .play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.card .play span::before { content: ""; border-left: 18px solid var(--pink-500); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.card .info { padding: 14px 16px 16px; }
.card .badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold-1); background: #fdf3dc; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.card h3 { font-size: 17px; margin: 0 0 4px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.empty { text-align: center; background: #fff; border: 2px dashed var(--pink-300); border-radius: var(--radius); padding: 40px 20px; color: var(--muted); }
.empty p { margin: 0 0 6px; }
.empty .btn { margin-top: 14px; }
.more { text-align: center; margin-top: 10px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--pink-100); position: relative; }
.step span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff; font: 700 20px var(--head); margin-bottom: 14px; text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.step h3 { font-size: 21px; }
.step p { margin: 0; color: var(--muted); }
.note { margin-top: 30px; background: linear-gradient(135deg, #fff, #fdf3dc); border: 1px solid var(--gold-3); border-radius: var(--radius); padding: 20px 24px; }
.note p { margin: 0; }

.final { background: linear-gradient(135deg, var(--pink-100), #fbe9d0); }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--pink-100); padding: 30px 0 100px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); }
.foot-brand img { border-radius: 50%; }
.foot-brand small { font-family: var(--body); color: var(--muted); }
.social { display: flex; gap: 14px; }
.social a { font-weight: 700; text-decoration: none; }
.footer > .wrap > small { color: var(--muted); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); animation: pulse 2.4s infinite; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { background: var(--wa-dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(60, 25, 38, .88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb-body { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; max-width: 960px; width: 100%; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.lb-media { background: #2a1520; display: grid; place-items: center; min-height: 200px; flex: 1 1 auto; overflow: hidden; }
.lb-media img, .lb-media video { max-height: 70vh; width: auto; max-width: 100%; }
.lb-body figcaption { padding: 18px 22px 22px; }
.lb-body figcaption p { color: var(--muted); margin: 0 0 14px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .9); border: 0; color: var(--rose); cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(280px, 70vw); }
  .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .links a:not(.pill) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .occasions { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .occ { padding: 16px; }
  .occ .em { font-size: 24px; }
  .occ h3 { font-size: 16px; }
  .occ p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; }
  .gallery { columns: 2 150px; column-gap: 12px; }
  .card { margin-bottom: 12px; }
  .card .info { padding: 10px 12px 12px; }
  .card p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
