/* =========================================================
   SOLTAR — estilo cálido y terroso, con energía
   ========================================================= */
:root {
  --bg: #FBF3EA;
  --bg2: #F3E6D8;
  --card: #FFFAF4;
  --ink: #2F1F2A;
  --ink2: #806873;
  --plum: #6B3F55;
  --plum-deep: #3E2233;
  --berry: #A0476B;
  --terra: #D4734C;
  --coral: #EE8F6A;
  --peach: #F6B98E;
  --honey: #F3CF8A;
  --gold: #E2A84B;
  --rose: #E38B8B;
  --sage: #7E9C79;
  --line: rgba(47, 31, 42, .09);

  --g-sunset: linear-gradient(135deg, #F6B98E 0%, #EE8F6A 45%, #C85A6E 100%);
  --g-plum: linear-gradient(155deg, #7A4561 0%, #4A2639 70%, #3A1D2D 100%);
  --g-dawn: linear-gradient(135deg, #F8D9A0 0%, #F2A57A 100%);
  --g-glow: radial-gradient(circle at 30% 25%, #FFE3C7 0%, #F4A57E 45%, #C85A6E 100%);

  --shadow: 0 10px 30px -10px rgba(107, 63, 85, .22);
  --shadow-lg: 0 24px 50px -18px rgba(107, 63, 85, .45);
  --r: 26px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Lienzo de la app ---------- */
#app {
  max-width: 440px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); position: relative; overflow-x: hidden; isolation: isolate;
}
@media (min-width: 600px) { #app { box-shadow: 0 0 80px rgba(62, 34, 51, .12); } }

/* Textura de grano muy sutil */
#app::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05;
  max-width: 440px; margin: 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Manchas de color que flotan */
.blobs { position: absolute; inset: 0 0 auto 0; height: 560px; overflow: hidden; z-index: -1; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; animation: float 16s ease-in-out infinite; }
.blobs i:nth-child(1) { width: 260px; height: 260px; background: #F6B98E; top: -80px; left: -70px; }
.blobs i:nth-child(2) { width: 220px; height: 220px; background: #E39BC0; top: 40px; right: -90px; animation-delay: -5s; opacity: .4; }
.blobs i:nth-child(3) { width: 200px; height: 200px; background: #F3CF8A; top: 260px; left: 30%; animation-delay: -10s; opacity: .35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 20px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(.94); }
}

.screen { padding: 22px 20px 130px; position: relative; }
.screen > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.screen > *:nth-child(2) { animation-delay: .05s; }
.screen > *:nth-child(3) { animation-delay: .1s; }
.screen > *:nth-child(4) { animation-delay: .15s; }
.screen > *:nth-child(5) { animation-delay: .2s; }
.screen > *:nth-child(6) { animation-delay: .25s; }
.screen > *:nth-child(7) { animation-delay: .3s; }
.screen > *:nth-child(n+8) { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100, "opsz" 96;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; font-variation-settings: "SOFT" 100, "opsz" 36; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--coral); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; }
p { margin: 0; }
.muted { color: var(--ink2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.eyebrow { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); font-weight: 800; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.center { text-align: center; }
.spacer { flex: 1; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 14px; }
.section-title h3 { font-size: 22px; }
.section-title .tiny { font-weight: 700; color: var(--terra); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--plum); }
.logo svg { width: 32px; height: 32px; }
.logo span { font-family: var(--serif); font-weight: 600; letter-spacing: .3em; font-size: 18px; font-variation-settings: "SOFT" 50, "opsz" 24; }
.logo.big { flex-direction: column; gap: 10px; }
.logo.big svg { width: 84px; height: 84px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.15)); }
.logo.big span { font-size: 34px; }
.logo.light { color: #fff; }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 17px 22px; border-radius: 999px;
  background: var(--plum); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .01em;
  box-shadow: 0 12px 26px -10px rgba(107, 63, 85, .6);
  transition: transform .15s, box-shadow .2s; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn.sunset { background: var(--g-sunset); box-shadow: 0 14px 28px -10px rgba(200, 90, 110, .65); }
.btn.sunset::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn.light { background: #fff; color: var(--plum); box-shadow: 0 12px 26px -12px rgba(0,0,0,.35); }
.btn.ghost { background: transparent; color: var(--plum); box-shadow: none; border: 2px solid rgba(107,63,85,.25); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--plum); font-weight: 800; font-size: 14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.3);
}
.pill svg { width: 15px; height: 15px; }
.pill.glass { background: rgba(255,255,255,.2); color: #fff; box-shadow: none; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }

/* ---------- Tarjetas ---------- */
.card { position: relative; overflow: hidden; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.glass { background: rgba(255, 250, 244, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7); }
.card.plum { background: var(--g-plum); color: #fff; box-shadow: var(--shadow-lg); }
.card.sunset { background: var(--g-sunset); color: #fff; box-shadow: 0 24px 46px -18px rgba(200, 90, 110, .6); }
.card.plum .muted, .card.sunset .muted { color: rgba(255,255,255,.78); }
.card.plum .eyebrow { color: var(--honey); }
.card.sunset .eyebrow { color: #FFF1E4; }
/* Anillos decorativos */
.rings::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -150px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.14) 0 1.5px, transparent 1.5px 22px);
  pointer-events: none;
}
.glow-dot::after {
  content: ""; position: absolute; width: 180px; height: 180px; left: -60px; bottom: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 207, 138, .55), transparent 70%); pointer-events: none;
}
.card > * { position: relative; z-index: 1; }

.affirm { font-family: var(--serif); font-size: 25px; line-height: 1.22; font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.quote-mark { font-family: var(--serif); font-size: 80px; line-height: .5; height: 34px; color: var(--honey); font-weight: 700; }

/* ---------- Inicio: hero ---------- */
.hero {
  margin: -22px -20px 0; padding: 22px 20px 28px; position: relative;
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-sunset); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 19px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.8), 0 8px 18px -6px rgba(200,90,110,.6);
}
.date-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--plum); background: rgba(255,255,255,.65); padding: 6px 12px; border-radius: 999px; }
.date-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(238,143,106,.25); }

/* Check-in */
.moods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mood {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 2px 12px; border-radius: 20px;
  font-size: 11.5px; font-weight: 800; color: var(--plum-deep); background: var(--mbg); border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.mood .face { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: rgba(255,255,255,.75); }
.mood.on { border-color: #fff; transform: translateY(-4px); box-shadow: 0 14px 24px -10px var(--mshadow); }
.mood:active { transform: scale(.95); }

/* Progreso circular */
.ring-prog { width: 86px; height: 86px; flex: 0 0 86px; position: relative; }
.ring-prog svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-prog b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.phase { text-align: center; font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.55); }
.phase i { display: block; height: 5px; border-radius: 9px; background: rgba(255,255,255,.18); margin-bottom: 6px; }
.phase.on { color: #fff; }
.phase.on i { background: linear-gradient(90deg, var(--honey), var(--coral)); }

/* Carruseles */
.carousel { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; flex: 0 0 auto; }
.zone-card {
  width: 128px; height: 150px; border-radius: 24px; padding: 14px; color: #fff; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 14px 24px -12px var(--c2);
}
.zone-card::before { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: rgba(255,255,255,.18); }
.zone-card .zi { width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,.25); display: grid; place-items: center; position: relative; }
.zone-card .zi svg { width: 22px; height: 22px; }
.zone-card b { font-size: 14.5px; line-height: 1.2; position: relative; }
.zone-card span { font-size: 11.5px; opacity: .85; font-weight: 600; position: relative; }

.cover {
  width: 150px; text-align: left;
}
.cover .art {
  height: 150px; border-radius: 24px; position: relative; overflow: hidden; display: block;
  background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 14px 24px -12px var(--c2);
}
.cover .art::before { content: ""; position: absolute; width: 90px; height: 90px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(255,255,255,.15) 70%); animation: breathe 6s ease-in-out infinite; }
.cover .art::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.16) 0 1px, transparent 1px 16px); }
.cover .play-mini { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--c2); display: grid; place-items: center; z-index: 2; }
.cover .play-mini svg { width: 15px; height: 15px; margin-left: 2px; }
.cover b { display: block; font-size: 14.5px; margin-top: 10px; line-height: 1.25; }
.cover span { font-size: 12px; color: var(--ink2); font-weight: 600; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.85); } 50% { transform: translate(-50%, -50%) scale(1.08); } }

/* ---------- Lista ---------- */
.list-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--card); border-radius: 22px; padding: 12px 14px 12px 12px; box-shadow: var(--shadow);
  transition: transform .15s;
}
.list-item:active { transform: scale(.98); }
.list-item + .list-item { margin-top: 10px; }
.ico {
  flex: 0 0 48px; height: 48px; border-radius: 16px; color: #fff; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--c1, #F6B98E), var(--c2, #D4734C)); box-shadow: 0 8px 16px -8px var(--c2, #D4734C);
}
.ico svg { width: 23px; height: 23px; }
.list-item .txt { flex: 1; min-width: 0; }
.list-item .txt b { display: block; font-weight: 800; font-size: 15.5px; }
.list-item .chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--plum); }
.list-item .chev.play { background: var(--g-sunset); color: #fff; }
.list-item .chev.play svg { width: 14px; height: 14px; margin-left: 2px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
  font-size: 14.5px; font-weight: 700; transition: all .2s; border: 2px solid transparent;
}
.chip.on { background: var(--g-sunset); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(200,90,110,.6); }

/* ---------- Barra inferior flotante ---------- */
.tabbar {
  position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0 auto;
  width: calc(100% - 24px); max-width: 416px; z-index: 30;
  display: flex; justify-content: space-around; align-items: flex-end;
  background: rgba(255, 250, 244, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 28px; padding: 8px 4px 9px;
  box-shadow: 0 18px 40px -14px rgba(62, 34, 51, .35);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--ink2); padding: 4px 0; position: relative; }
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--plum); }
.tab.on::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); position: absolute; top: -3px; }
.tab.center-tab .bubble {
  width: 58px; height: 58px; margin-top: -30px; border-radius: 50%;
  background: var(--g-sunset); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--bg), 0 12px 22px -6px rgba(200, 90, 110, .65);
  animation: halo 3s ease-in-out infinite;
}
.tab.center-tab::after { display: none; }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 5px rgba(238,143,106,.0), 0 12px 22px -6px rgba(200,90,110,.65); } 50% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 11px rgba(238,143,106,.22), 0 12px 22px -6px rgba(200,90,110,.65); } }

/* ---------- Buscador ---------- */
.search {
  display: flex; align-items: center; gap: 10px; background: var(--card);
  border-radius: 999px; padding: 14px 18px; box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .2s;
}
.search:focus-within { border-color: var(--peach); }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 16px; min-width: 0; }
.search svg { width: 20px; height: 20px; color: var(--terra); }

/* ---------- Mapa del cuerpo ---------- */
.map-card {
  margin-top: 18px; border-radius: 32px; padding: 14px 10px 6px; position: relative; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 42%, #FFE6CF 0%, #FBEADB 45%, var(--card) 80%);
  box-shadow: var(--shadow);
}
.map-card::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 42%, rgba(212,115,76,.07) 0 1px, transparent 1px 26px); }
.bodymap { position: relative; width: 100%; max-width: 280px; margin: 0 auto; }
.bodymap svg { width: 100%; height: auto; display: block; overflow: visible; }
.hot { cursor: pointer; outline: none; }
.hot .ring { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.hot .dot { stroke: #fff; stroke-width: 2.5; transition: r .2s; }
.hot:hover .dot, .hot:focus .dot { r: 9; }
.hot .lbl rect { fill: rgba(255,255,255,.92); }
.hot .lbl text { font-family: var(--sans); font-size: 9.5px; font-weight: 800; fill: var(--plum-deep); }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-hint { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--terra); padding: 6px 0 10px; position: relative; }

.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zone-tile { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); text-align: left; font-weight: 800; font-size: 13.5px; line-height: 1.2; }
.zone-tile .ico { flex: 0 0 38px; height: 38px; border-radius: 13px; }
.zone-tile .ico svg { width: 19px; height: 19px; }

/* ---------- Hoja inferior ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(46, 24, 36, .5); backdrop-filter: blur(3px); z-index: 40; animation: fade .25s; }
.sheet {
  position: fixed; bottom: 0; left: 0; right: 0; margin: 0 auto;
  width: 100%; max-width: 440px; max-height: 82vh; overflow: auto; z-index: 41;
  background: var(--bg); border-radius: 32px 32px 0 0; padding: 0 20px calc(26px + env(safe-area-inset-bottom));
  animation: up .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes up { from { transform: translateY(100%); } }
.sheet-head { margin: 0 -20px 16px; padding: 14px 22px 22px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.sheet-head .grab { background: rgba(255,255,255,.5); }
.sheet-head .eyebrow { color: rgba(255,255,255,.85); }
.grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 16px; }

/* ---------- Pantalla completa ---------- */
.full {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 50; overflow: auto;
  width: 100%; max-width: 440px; margin: 0 auto; background: var(--bg); animation: fade .3s;
}
.full .inner { padding: 18px 20px 40px; min-height: 100%; display: flex; flex-direction: column; position: relative; }
.full .inner > * { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; z-index: 2; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.iconbtn svg { width: 20px; height: 20px; }
.progress { display: flex; gap: 6px; flex: 1; margin: 0 14px; }
.progress i { flex: 1; height: 5px; border-radius: 9px; background: rgba(47,31,42,.1); overflow: hidden; }
.progress i.on { background: var(--g-sunset); }

.zone-hero {
  margin: -18px -20px 0; padding: 18px 20px 30px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--c1), var(--c2)); border-radius: 0 0 36px 36px;
}
.zone-hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: -170px; top: -120px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,255,255,.16) 0 1.5px, transparent 1.5px 24px); }
.zone-hero .eyebrow { color: rgba(255,255,255,.9); }
.zone-hero .big-ico { width: 68px; height: 68px; border-radius: 22px; background: rgba(255,255,255,.22); display: grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.35); }
.zone-hero .big-ico svg { width: 34px; height: 34px; }
.zone-hero > * { position: relative; }
.zone-hero .iconbtn { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.zone-hero .progress i { background: rgba(255,255,255,.25); }
.zone-hero .progress i.on { background: #fff; }

.step { display: flex; gap: 14px; align-items: center; }
.step .num {
  flex: 0 0 40px; height: 40px; border-radius: 14px; color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700; background: linear-gradient(150deg, var(--c1), var(--c2));
}

/* Respiración */
.breath-wrap { flex: 1; display: grid; place-items: center; padding: 30px 0; position: relative; }
.breath-wrap::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(246,185,142,.45), transparent 65%); }
.breath {
  width: 220px; height: 220px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 32% 28%, #FFE9D6 0%, var(--c1) 40%, var(--c2) 100%);
  box-shadow: 0 0 0 16px rgba(238,143,106,.14), 0 0 0 36px rgba(238,143,106,.07), 0 30px 60px -20px var(--c2);
  display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 28px; font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transform: scale(.68); transition: transform 4s ease-in-out;
}
.breath.in { transform: scale(1); }
.breath.out { transform: scale(.68); transition-duration: 6s; }

/* Intensidad */
.int-card input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 9px; background: linear-gradient(90deg, #F8D9A0, #EE8F6A, #C85A6E); outline: none; margin: 16px 0 8px; }
.int-card input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); box-shadow: 0 4px 12px rgba(0,0,0,.2); cursor: pointer; }
.int-card input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); cursor: pointer; }
.int-num { font-family: var(--serif); font-size: 30px; font-weight: 700; background: var(--g-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }

textarea, .field {
  width: 100%; border-radius: 20px; border: 2px solid transparent; background: var(--card); box-shadow: var(--shadow);
  padding: 16px; outline: none; font-size: 16px; transition: border-color .2s;
}
textarea { min-height: 100px; resize: vertical; }
textarea:focus, .field:focus { border-color: var(--peach); }
.q-card { border-left: 5px solid; border-image: var(--g-sunset) 1; border-radius: 0 22px 22px 0 !important; }

/* Mensaje */
.reveal-orb { width: 96px; height: 96px; margin: 4px auto 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0%, rgba(255,255,255,.4) 40%, rgba(255,255,255,.08) 70%); box-shadow: 0 0 60px rgba(255,255,255,.5); animation: breatheS 6s ease-in-out infinite; }
@keyframes breatheS { 0%,100% { transform: scale(.9); } 50% { transform: scale(1.06); } }
.emo-card { display: flex; gap: 14px; align-items: flex-start; }
.emo-card .dot { flex: 0 0 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--g-sunset); box-shadow: 0 0 0 5px rgba(238,143,106,.18); }

/* ---------- Reproductor ---------- */
.player { background: radial-gradient(120% 70% at 50% 25%, #6B3B55 0%, #3A1D2D 55%, #22101A 100%); color: #fff; }
.player .blobs { height: 100%; }
.player .blobs i { opacity: .35; }
.player .iconbtn { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.orb-wrap { position: relative; width: 250px; height: 250px; margin: 22px auto 0; display: grid; place-items: center; }
.orb-wrap::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(243,207,138,.7), transparent 30%, rgba(238,143,106,.6), transparent 65%, rgba(227,155,192,.6), transparent);
  filter: blur(14px); animation: spin 12s linear infinite;
}
.orb-wrap.paused::before, .orb.paused { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb {
  width: 220px; height: 220px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 34% 28%, #FFF0DF 0%, #F6B98E 30%, #D4734C 62%, #6B3F55 100%);
  box-shadow: 0 0 90px rgba(238,143,106,.55), inset -18px -24px 50px rgba(62,34,51,.45);
  animation: orb 10s ease-in-out infinite;
}
@keyframes orb { 0%,100% { transform: scale(.84); } 40% { transform: scale(1); } }
.caption { min-height: 100px; font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.32; text-align: center; padding: 0 6px; transition: opacity .4s; font-variation-settings: "SOFT" 100, "WONK" 1; }
.bar { height: 5px; border-radius: 9px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--coral)); width: 0; transition: width .25s linear; }
.playbtn { width: 80px; height: 80px; border-radius: 50%; background: var(--g-sunset); color: #fff; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 16px 30px -8px rgba(200,90,110,.7); }
.playbtn svg { width: 30px; height: 30px; }
.toggle { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13.5px; font-weight: 700; border: 1px solid rgba(255,255,255,.15); }
.toggle.off { opacity: .45; }

/* ---------- Puerta de venta ---------- */
.gate-hero {
  margin: -22px -20px 0; padding: 34px 22px 44px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #8B4A63 0%, #4A2639 55%, #2F1622 100%);
  border-radius: 0 0 40px 40px;
}
.gate-hero .blobs i { opacity: .45; }
.gate-hero h1 { color: #fff; font-size: 38px; margin-top: 26px; }
.gate-hero p.lead { color: rgba(255,255,255,.82); margin-top: 14px; }
.hero-orb { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: var(--g-glow); box-shadow: 0 0 70px rgba(238,143,106,.7); display: grid; place-items: center; animation: breatheS 6s ease-in-out infinite; }
.hero-orb svg { width: 70px; height: 70px; color: #fff; }
.benefit { display: flex; gap: 14px; align-items: center; }
.benefit .ico { flex: 0 0 46px; height: 46px; }
.price-card { text-align: center; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--g-sunset) border-box; }
.price { font-family: var(--serif); font-size: 64px; font-weight: 700; line-height: 1; background: var(--g-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; font-variation-settings: "SOFT" 100, "opsz" 144; }
.price small { font-size: 22px; vertical-align: top; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #FDE7DB; color: var(--terra); font-size: 12px; font-weight: 800; letter-spacing: .04em; }

/* ---------- Diario ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { border-radius: 24px; padding: 18px 16px; color: #fff; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; width: 110px; height: 110px; right: -40px; top: -40px; border-radius: 50%; background: rgba(255,255,255,.16); }
.stat b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.05; position: relative; }
.stat span { font-size: 12px; font-weight: 700; opacity: .88; position: relative; }
.stat.wide { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; }
.entry { background: var(--card); border-radius: 22px; padding: 16px 16px 16px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.entry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.entry + .entry { margin-top: 10px; }
.int-bar { height: 6px; border-radius: 9px; background: var(--bg2); overflow: hidden; margin: 8px 0 10px; }
.int-bar i { display: block; height: 100%; border-radius: 9px; background: var(--g-sunset); }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: #FDE7DB; color: var(--plum); font-size: 12.5px; font-weight: 800; margin: 2px 4px 2px 0; }

/* ---------- Aprende ---------- */
.timeline { position: relative; padding-left: 4px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--honey), var(--coral), var(--berry), var(--plum)); }
.tl-item { display: flex; gap: 16px; align-items: center; position: relative; padding: 8px 0; }
.tl-item .num { flex: 0 0 48px; height: 48px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 21px; font-weight: 700; box-shadow: 0 0 0 5px var(--bg), 0 10px 18px -8px var(--c2); background: linear-gradient(150deg, var(--c1), var(--c2)); }
.tl-item .box { flex: 1; background: var(--card); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.module { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.16); }
.module b.n { font-family: var(--serif); font-size: 20px; min-width: 26px; text-align: center; }

details { background: var(--card); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow); }
summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: 8px; }
details[open] summary svg { transform: rotate(90deg); }
summary svg { transition: transform .2s; color: var(--terra); }

.toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 90;
  background: var(--plum-deep); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); animation: fadeC .3s;
  max-width: 90%; text-align: center;
}
@keyframes fadeC { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.disclaimer { font-size: 12.5px; color: var(--ink2); background: rgba(255,255,255,.55); border: 1px dashed rgba(107,63,85,.2); border-radius: 18px; padding: 13px 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.gate-hero, .zone-hero, .hero { isolation: isolate; }
.carousel { scroll-padding: 0 20px; }
.cover { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.ring-prog b { display: flex; align-items: baseline; justify-content: center; padding-top: 26px; gap: 1px; }
.quote-mark { margin-top: 26px !important; }
.breath { font-variation-settings: "SOFT" 100; }
.caption, .affirm { font-variation-settings: "SOFT" 100, "opsz" 72; }
.breath { font-style: normal; font-weight: 500; }
.bodymap { max-width: 250px; }

/* Espiral de hipnosis del reproductor */
.hypno {
  width: 230px; height: 230px; border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 90px rgba(238,143,106,.55);
  animation: orb 10s ease-in-out infinite;
}
.hypno svg { width: 100%; height: 100%; display: block; }
.hypno .giro { animation: spin 9s linear infinite; transform-origin: 0 0; }
.hypno.paused, .hypno.paused .giro { animation-play-state: paused; }

/* Espiral mística (reemplaza la espiral de líneas) */
.hypno { animation: none; box-shadow: 0 0 0 5px rgba(255,255,255,.08), 0 0 70px rgba(79,190,190,.35), 0 0 120px rgba(226,168,75,.3); background: #14182A; }
.hypno canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.orb-wrap::before { background: conic-gradient(from 0deg, transparent, rgba(243,207,138,.6), transparent 30%, rgba(79,190,190,.55), transparent 65%, rgba(243,207,138,.5), transparent); }

/* Portal de luz (shader): más grande y sin borde, se funde con el fondo */
.orb-wrap { width: min(310px, 82vw); height: min(310px, 82vw); margin: 6px auto 0; }
.orb-wrap::before { display: none; }
.hypno { width: 100%; height: 100%; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; animation: none; }
.hypno canvas { border-radius: 0; }

/* Qué incluye la compra */
.incluye { text-align: left; display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: #FFF4EC; }
.incluye .row { align-items: center; gap: 12px; }
.incluye .ico { flex: 0 0 42px; height: 42px; border-radius: 14px; }
.incluye .ico svg { width: 20px; height: 20px; }
