/* ============ MIS METAS ============ */
#seccion-crecimiento { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--a2-texto, #56414A); }
.mt-pagina { max-width: 620px; margin: 0 auto; padding: 0.4rem 0.9rem 6rem; box-sizing: border-box; }

/* portada */
.mt-hero {
    position: relative; text-align: center; border-radius: 28px; padding: 1.1rem 1.2rem 1.3rem; margin-bottom: 1rem; overflow: hidden;
    background: radial-gradient(120% 80% at 50% 0%, #FFF6F9 0%, #FDE9F1 55%, #F7EEE6 100%);
    border: 1px solid #F3DDE7; box-shadow: 0 10px 28px rgba(139, 71, 137, .10);
}
.mt-hero::before, .mt-hero::after { content: ''; position: absolute; border-radius: 50%; background: #F9D9E6; opacity: .55; }
.mt-hero::before { width: 150px; height: 150px; left: -60px; top: -60px; }
.mt-hero::after { width: 110px; height: 110px; right: -40px; bottom: -50px; background: #F4E3C9; }
.mt-hero > * { position: relative; z-index: 1; }
.mt-hero-flor { width: 112px; height: 120px; margin: 0 auto .15rem; animation: mt-mecer 5s ease-in-out infinite; transform-origin: 50% 95%; }
.mt-hero-flor svg { width: 100%; height: 100%; }
.mt-hero-sup { margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--a2-dorado, #C39A3B); font-weight: 600; }
.mt-hero-titulo { margin: .25rem 0 .2rem; font-family: var(--a2-serif, Georgia, serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--a2-ciruela, #8B4789); }
.mt-hero-frase { margin: 0 0 .7rem; font-family: var(--a2-serif, Georgia, serif); font-style: italic; color: var(--a2-suave, #8F7D84); font-size: .98rem; }
.mt-contadores { display: inline-flex; gap: .45rem; align-items: center; background: rgba(255,255,255,.75); padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; color: var(--a2-suave, #8F7D84); }
.mt-contadores b { color: var(--a2-ciruela, #8B4789); font-size: 1rem; }
.mt-punto { opacity: .5; }
.mt-btn-sembrar {
    display: block; width: 100%; margin-top: .95rem; padding: .95rem 1rem; border: 0; border-radius: 18px; cursor: pointer;
    background: linear-gradient(135deg, #B4569A, #8B4789); color: #fff; font-size: 1.02rem; font-weight: 600; letter-spacing: .01em;
    box-shadow: 0 8px 20px rgba(139, 71, 137, .28); transition: transform .15s;
}
.mt-btn-sembrar:active { transform: scale(.97); }

/* tarjetas */
.mt-lista { display: flex; flex-direction: column; gap: .8rem; }
.mt-tarjeta {
    border-radius: 22px; background: #fff; border: 1px solid #F1E2E8; overflow: hidden;
    box-shadow: 0 6px 18px rgba(139, 71, 137, .07); animation: mt-entrar .45s ease both;
}
.mt-tarjeta-cab { display: flex; gap: .75rem; width: 100%; padding: .85rem .9rem; border: 0; background: linear-gradient(90deg, var(--area) 0, #fff 62%); text-align: left; cursor: pointer; color: inherit; font: inherit; }
.mt-tarjeta-flor { position: relative; flex: 0 0 74px; height: 84px; }
.mt-tarjeta-flor svg { width: 100%; height: 100%; }
.mt-tarjeta-flor.mt-crece svg { animation: mt-crecer .8s ease; }
.mt-tarjeta-info { flex: 1; min-width: 0; }
.mt-area { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--areaT); background: rgba(255,255,255,.85); padding: .15rem .55rem; border-radius: 999px; }
.mt-tarjeta h3 { margin: .3rem 0 .15rem; font-family: var(--a2-serif, Georgia, serif); font-size: 1.08rem; font-weight: 600; color: #4A3740; line-height: 1.25; }
.mt-porque { margin: 0 0 .4rem; font-family: var(--a2-serif, Georgia, serif); font-style: italic; font-size: .86rem; color: var(--a2-suave, #8F7D84); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-barra { height: 7px; border-radius: 99px; background: #F8EFF3; overflow: hidden; margin: .35rem 0 .3rem; }
.mt-barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #F2A9C4, #B4569A); transition: width .6s ease; }
.mt-progreso { font-size: .76rem; color: var(--a2-suave, #8F7D84); }

.mt-detalle { display: none; padding: .2rem .95rem 1rem; }
.mt-tarjeta.abierta .mt-detalle { display: block; animation: mt-entrar .3s ease both; }
.mt-pasos { list-style: none; margin: .2rem 0 .5rem; padding: 0; }
.mt-pasos li { display: flex; align-items: center; gap: .65rem; padding: .5rem 0; border-bottom: 1px dashed #F0E0E7; }
.mt-pasos li:last-child { border-bottom: 0; }
.mt-check { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #E7B9CC; background: #fff; padding: 0; cursor: pointer; display: grid; place-items: center; }
.mt-check span { width: 14px; height: 14px; border-radius: 50%; background: transparent; transition: .25s; }
.mt-pasos li.hecho .mt-check { border-color: #B4569A; background: #FBEAF2; }
.mt-pasos li.hecho .mt-check span { background: #B4569A; box-shadow: 0 0 0 4px #F6D5E3; }
.mt-paso-t { flex: 1; font-size: .95rem; }
.mt-pasos li.hecho .mt-paso-t { color: #A796A0; text-decoration: line-through; text-decoration-color: #E7B9CC; }

.mt-campo { width: 100%; box-sizing: border-box; border: 1.5px solid #EFDCE5 !important; border-radius: 14px !important; padding: .7rem .85rem !important; font: inherit; font-size: 16px !important; color: #4A3740 !important; background: #FFFBFC !important; outline: none; transition: border-color .2s; }
textarea.mt-campo { min-height: 68px !important; height: 68px; resize: none; }
.mt-campo:focus { border-color: #C77AA7 !important; background: #fff !important; }
.mt-campo.mt-falta { animation: mt-temblar .4s; border-color: #E07A9B !important; }
.mt-paso-nuevo { display: flex; gap: .5rem; margin-top: .35rem; }
.mt-paso-nuevo button { flex: 0 0 46px; border: 0; border-radius: 14px; background: #F6E1EB; color: #8B4789; font-size: 1.4rem; cursor: pointer; }
.mt-acciones { display: flex; gap: .5rem; margin-top: .85rem; }
.mt-btn-logre { flex: 1; border: 0; border-radius: 14px; padding: .75rem; background: linear-gradient(135deg, #F7C3D2, #F0A3BC); color: #7A2F55; font-weight: 700; font-size: .95rem; cursor: pointer; }
.mt-btn-icono { flex: 0 0 46px; border: 1px solid #EFDCE5; border-radius: 14px; background: #fff; color: #8F7D84; font-size: 1.05rem; cursor: pointer; }

.mt-gota { position: absolute; left: 50%; top: -6px; font-size: 1.1rem; transform: translateX(-50%); animation: mt-gota 1.1s ease-in forwards; pointer-events: none; }

/* vacío */
.mt-vacio { text-align: center; padding: 1.2rem 1rem 1.4rem; border-radius: 22px; background: #fff; border: 1.5px dashed #EED3DF; }
.mt-vacio-titulo { margin: 0 0 .2rem; font-family: var(--a2-serif, Georgia, serif); font-size: 1.1rem; color: var(--a2-ciruela, #8B4789); font-weight: 600; }
.mt-vacio > p { color: var(--a2-suave, #8F7D84); margin: 0 0 .7rem; }
.mt-ideas { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: .5rem 0 .2rem; }
.mt-ideas button { border: 1px solid #F0D9E4; background: #FFF7FA; color: #8B4789; border-radius: 999px; padding: .4rem .8rem; font-size: .82rem; cursor: pointer; }
.mt-ideas button:active { background: #F9E2EC; }

/* logros */
.mt-logros { margin-top: 1.4rem; padding: 1rem .9rem 1.1rem; border-radius: 24px; background: linear-gradient(180deg, #FFF8F2, #FDF0F5); border: 1px solid #F3E3D8; }
.mt-logros-titulo { margin: 0; text-align: center; font-family: var(--a2-serif, Georgia, serif); font-size: 1.2rem; color: var(--a2-ciruela, #8B4789); font-weight: 600; }
.mt-logros-sub { margin: .15rem 0 .8rem; text-align: center; font-size: .85rem; color: var(--a2-suave, #8F7D84); font-style: italic; font-family: var(--a2-serif, Georgia, serif); }
.mt-logros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.mt-logro { position: relative; text-align: center; background: #fff; border-radius: 18px; padding: .5rem .5rem .7rem; border: 1px solid #F3E3EA; }
.mt-logro-flor { height: 92px; }
.mt-logro-flor svg { height: 100%; }
.mt-logro b { display: block; font-size: .86rem; line-height: 1.25; color: #4A3740; font-family: var(--a2-serif, Georgia, serif); }
.mt-logro small { color: var(--a2-suave, #8F7D84); font-size: .72rem; }
.mt-logro-volver { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #FBF0F4; color: #B98AA2; cursor: pointer; font-size: .85rem; }

/* hoja */
.mt-velo { position: fixed; inset: 0; z-index: 3000; background: rgba(74, 40, 64, .38); display: flex; align-items: flex-end; justify-content: center; animation: mt-aparecer .2s ease; }
.mt-velo[hidden], .mt-fiesta[hidden] { display: none; }
.mt-hoja { width: 100%; max-width: 560px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; background: #fff; border-radius: 26px 26px 0 0; padding: .6rem 1.15rem calc(1.2rem + env(safe-area-inset-bottom)); box-sizing: border-box; animation: mt-subir .32s cubic-bezier(.2,.9,.3,1.1); }
.mt-hoja-chica { border-radius: 26px; margin: 0 1rem 1.5rem; padding-top: 1.1rem; }
.mt-hoja-asa { width: 42px; height: 5px; border-radius: 9px; background: #EBD8E1; margin: 0 auto .7rem; }
.mt-hoja h2 { margin: 0 0 .6rem; text-align: center; font-family: var(--a2-serif, Georgia, serif); color: var(--a2-ciruela, #8B4789); font-size: 1.3rem; font-weight: 600; }
.mt-etq { display: block; margin: .95rem 0 .4rem; font-weight: 600; font-size: .9rem; color: #5E4452; }
.mt-ayuda { margin: -.15rem 0 .5rem; font-size: .82rem; color: var(--a2-suave, #8F7D84); }
.mt-hoja .mt-ideas { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.mt-hoja .mt-ideas button { white-space: nowrap; }
.mt-areas, .mt-cuando { display: flex; flex-wrap: wrap; gap: .4rem; }
.mt-areas button, .mt-cuando button { border: 1.5px solid transparent; border-radius: 999px; padding: .45rem .8rem; font-size: .85rem; cursor: pointer; background: var(--area, #F8EEF2); color: var(--areaT, #7A5A6C); transition: .15s; }
.mt-cuando button { background: #F8EEF2; color: #7A5A6C; }
.mt-areas button.sel, .mt-cuando button.sel { border-color: var(--areaT, #8B4789); box-shadow: 0 3px 10px rgba(139,71,137,.15); font-weight: 600; }
.mt-cuando button.sel { background: #8B4789; color: #fff; border-color: #8B4789; }
#mtFecha { margin-top: .5rem; }
.mt-pasos-form { display: flex; flex-direction: column; gap: .35rem; }
.mt-paso-form { display: flex; align-items: center; gap: .55rem; background: #FFF7FA; border-radius: 12px; padding: .45rem .55rem; }
.mt-paso-form span { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #F3D3E1; color: #8B4789; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.mt-paso-form p { flex: 1; margin: 0; font-size: .92rem; }
.mt-paso-form button { border: 0; background: none; color: #B98AA2; font-size: 1.3rem; cursor: pointer; padding: 0 .3rem; }
.mt-hoja-botones { display: flex; gap: .6rem; margin-top: 1.2rem; }
.mt-btn-pri, .mt-btn-sec { flex: 1; border: 0; border-radius: 16px; padding: .85rem; font-size: 1rem; font-weight: 600; cursor: pointer; }
.mt-btn-pri { background: linear-gradient(135deg, #B4569A, #8B4789); color: #fff; box-shadow: 0 6px 16px rgba(139,71,137,.25); }
.mt-btn-pri:disabled { opacity: .6; }
.mt-btn-sec { background: #F6EDF1; color: #7A5A6C; }
body.mt-sin-scroll { overflow: hidden; }

/* celebración */
.mt-fiesta { position: fixed; inset: 0; z-index: 3100; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(255,240,246,.97), rgba(247,222,234,.97)); animation: mt-aparecer .3s ease; overflow: hidden; }
.mt-petalos i { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 60% 0 60% 0; animation: mt-caer linear forwards; opacity: .9; }
.mt-fiesta-caja { position: relative; text-align: center; padding: 1.5rem; max-width: 360px; }
.mt-fiesta-flor { width: 190px; height: 200px; margin: 0 auto; animation: mt-florecer 1.2s cubic-bezier(.2,.9,.3,1.2) both; }
.mt-fiesta-flor svg { width: 100%; height: 100%; }
.mt-fiesta h2 { margin: .3rem 0 .3rem; font-family: var(--a2-serif, Georgia, serif); color: var(--a2-ciruela, #8B4789); font-size: 1.7rem; }
#mtFiestaMeta { margin: 0 0 .6rem; font-weight: 600; color: #5E4452; font-size: 1.05rem; }
.mt-fiesta-frase { margin: 0 0 1.3rem; font-family: var(--a2-serif, Georgia, serif); font-style: italic; color: var(--a2-suave, #8F7D84); }
.mt-fiesta .mt-btn-pri { width: 100%; }

/* aviso */
.mt-aviso { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 3200; background: #4A2E44; color: #fff; padding: .65rem 1.1rem; border-radius: 999px; font-size: .9rem; box-shadow: 0 8px 22px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: .3s; max-width: 88vw; text-align: center; }
.mt-aviso.ver { opacity: 1; transform: translate(-50%, 0); }

@keyframes mt-mecer { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes mt-entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mt-crecer { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes mt-gota { 0% { opacity: 0; transform: translate(-50%, -10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 46px); } }
@keyframes mt-subir { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes mt-aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes mt-temblar { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes mt-caer { to { transform: translateY(110vh) rotate(540deg); } }
@keyframes mt-florecer { from { transform: scale(.3) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mt-hero-flor, .mt-petalos i, .mt-fiesta-flor, .mt-tarjeta { animation: none !important; } }
