@font-face{font-family:Avigea;src:url('assets/display.ttf');font-display:swap}@font-face{font-family:Montserrat;src:url('assets/sans.ttf');font-weight:400;font-display:swap}@font-face{font-family:Montserrat;src:url('assets/sans-semibold.ttf');font-weight:600;font-display:swap}
:root{--purple:#260b37;--purple-dark:#1b082b;--orange:#ec771d;--gold:#e5af65;--cream:#fffaf2;--ink:#35243c;--muted:#776d79;--line:#e6ddd9}*{box-sizing:border-box}body{margin:0;background:var(--purple);color:var(--cream);font-family:Montserrat,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.service-note{padding:8px 14px;text-align:center;background:#14051f;color:#d9c9df;font-size:10px;letter-spacing:1px;line-height:1.5}.service-note span{letter-spacing:0;color:#ad9ab7}.site-shell{overflow:hidden;background:radial-gradient(ellipse at 10% 27%,#56203e66,transparent 40%),radial-gradient(ellipse at 90% 65%,#4c1e4366,transparent 45%)}.brand-header{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:center;gap:24px;padding:30px 24px 24px}.brand{object-fit:contain;width:179px;height:auto}.event{object-fit:contain;width:66px;height:66px}.brand-divider{height:35px;width:1px;background:#b9997050}.page-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr;gap:60px;padding:36px 32px 64px;align-items:start}.hero{position:sticky;top:55px;text-align:left;padding:52px 0 155px;isolation:isolate}.eyebrow{font-size:10px;letter-spacing:2.6px;color:#e5b977;display:flex;align-items:center;gap:9px;line-height:1.6}.eyebrow span{width:18px;height:1px;background:var(--gold)}h1{font-family:Avigea,Georgia,serif;font-weight:400;font-size:77px;line-height:1.03;margin:26px 0 20px;letter-spacing:-1.5px}h1 em{font-style:normal;color:var(--gold);white-space:nowrap;font-size:.66em;display:block;margin-top:13px;letter-spacing:5px}.hero-quote{font-family:Georgia,serif;font-style:italic;line-height:1.65;font-size:20px;color:#f3e0c7;margin:0}.fine-rule{display:flex;align-items:center;gap:14px;width:200px;margin:28px 0;color:var(--gold)}.fine-rule span{height:1px;flex:1;background:linear-gradient(90deg,#d5a16240,#d5a162aa)}.fine-rule span:last-child{transform:rotate(180deg)}.fine-rule b{font-size:14px;font-weight:400}.hero-description{font-size:14px;line-height:1.95;max-width:365px;color:#e0cede}.hero-description strong{font-weight:600;color:#fff0d9}.small-dedication{font-size:11px;color:#bfa6ba;margin-top:29px;line-height:1.7}.hero-flower{position:absolute;pointer-events:none;z-index:-1;opacity:.85;object-fit:contain}.flower-left{width:140px;height:140px;left:-80px;bottom:-8px;transform:rotate(-18deg)}.flower-right{width:115px;height:115px;right:5px;bottom:3px;transform:rotate(22deg)}.form-card{background:var(--cream);border:1px solid #f3e5d4;color:var(--ink);border-radius:22px;padding:32px;box-shadow:0 20px 90px #10011740}.card-heading{display:flex;gap:13px;align-items:center}.section-icon{width:42px;height:42px;display:grid;place-items:center;background:#f4e9df;border:1px solid #e8d8cb;border-radius:12px;color:#8f583b;flex:none}.card-heading h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0 0 6px;letter-spacing:-.5px}.card-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.required-note{font-size:10px;color:var(--muted);margin:24px 0}.required-note span,.field label>span:not(.optional){color:#b45e2b}.field{margin-bottom:22px}.field label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;line-height:1.6;margin-bottom:9px}.optional{font-size:10px;font-weight:400;line-height:1.4;color:#857680;margin-left:auto;background:#eee7e2;padding:3px 7px;border-radius:4px}.field input:not([type=file]){width:100%;min-height:50px;border:1px solid #dcd3cf;background:#fffdfa;border-radius:9px;padding:13px 14px;font-size:16px;color:var(--ink);outline:none;transition:box-shadow .15s,border-color .15s}.field input::placeholder{font-size:12px;color:#92868e}.field input:focus{border-color:#a96c41;box-shadow:0 0 0 3px #bf83451c}.field small{display:block;font-size:10px;line-height:1.7;color:var(--muted);margin-top:7px}.upload-box{position:relative;border:1px dashed #cba27d;background:#fbf2e6;border-radius:12px;min-height:205px;text-align:center;padding:22px 14px;color:#694d48}.file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.upload-box:focus-within{outline:3px solid #bb7a45;outline-offset:3px}.upload-icon{width:33px;height:33px;color:#ae7444;margin-bottom:11px}.upload-box strong{font-size:12px;display:block;color:#503341;font-weight:600}.upload-box p{font-size:10px;margin:8px 0 16px}.upload-button{display:inline-flex;gap:16px;align-items:center;justify-content:center;padding:10px 15px;background:#fffaf3;border:1px solid #dfc4aa;border-radius:7px;font-size:11px;color:#6a423b;font-weight:600;min-height:40px}#upload-preview img{display:block;max-width:100%;height:180px;object-fit:contain;margin:0 auto 10px}#photo-name{display:block;overflow-wrap:anywhere;font-size:10px;margin:10px}.error{font-size:11px;color:#a93232;line-height:1.7;margin:6px 0 0}.error:empty{display:none}.authorization{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.authorization h3{font-size:12px;font-weight:600;margin:0 0 12px;display:flex;align-items:center;gap:7px}.authorization h3 svg{width:17px;height:17px;color:#8d6b56}.authorization>p{font-size:11px;color:#73656e;line-height:1.85;margin:0 0 18px}.consent-row{display:flex;align-items:flex-start;gap:11px}.consent-row input{flex:none;accent-color:var(--purple);width:20px;height:20px;margin:2px 0;cursor:pointer}.consent-row label{font-size:11px;line-height:1.85;color:#5d4b5b}.text-link{border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:3px;color:#633759;font:inherit}.submit-button{display:flex;width:100%;align-items:center;justify-content:center;gap:25px;margin-top:26px;padding:17px 16px;border:0;border-radius:10px;background:#371541;color:#fffaf2;font-weight:600;font-size:13px;box-shadow:0 5px 14px #31083d18;min-height:54px}.submit-button:hover{background:#50204e}.submit-button svg{width:18px;height:18px;color:var(--gold)}.form-footnote{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;text-align:center;line-height:1.6;color:#8a7a81;margin:14px 0 0}.form-footnote svg{width:13px;height:13px;flex:none}footer{display:flex;justify-content:space-between;gap:20px;max-width:1056px;padding:0 0 32px;margin:auto;font-size:10px;color:#b49aaf;line-height:1.8}footer a{text-underline-offset:4px}dialog{border:1px solid #e5d4be;border-radius:18px;background:var(--cream);color:var(--ink);width:calc(100% - 40px);max-width:440px;padding:42px 28px 30px;text-align:center;box-shadow:0 20px 90px #12032170}dialog::backdrop{background:#180821c9;backdrop-filter:blur(4px)}dialog h2{font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:1.25}dialog p{font-size:12px;line-height:1.8;color:#786776}.modal-kicker{font-size:9px;letter-spacing:1px;color:#a17143}.close-dialog{position:absolute;right:12px;top:8px;width:40px;height:40px;border:0;background:none;color:#685465;font-size:25px}.secondary-button{padding:14px 20px;border-radius:8px;border:1px solid #d6c3b7;background:#f2e8dc;color:#4d334a;font-size:12px;min-height:46px}.success-symbol{width:56px;height:56px;display:grid;place-items:center;margin:26px auto 10px;border:1px solid #d3a55f;border-radius:50%;font-size:29px;color:#9a672d}button:focus-visible,a:focus-visible{outline:3px solid #e89c4a;outline-offset:4px}[hidden]{display:none!important}
@media(max-width:760px){.brand-header{padding:23px 24px 18px;gap:22px}.brand{width:167px}.event{width:61px;height:61px}.page-grid{display:block;padding:0 16px 30px}.hero{position:relative;top:0;text-align:center;padding:27px 19px 54px}.eyebrow{justify-content:center;font-size:8px;letter-spacing:2px}.eyebrow span{display:none}h1{font-size:58px;margin:19px 0 17px;line-height:1.01;letter-spacing:-.8px}h1 em{font-size:.56em;margin-top:10px;letter-spacing:4px}.hero-quote{font-size:17px;line-height:1.6}.fine-rule{margin:21px auto;width:140px}.hero-description{font-size:12px;line-height:1.9;max-width:320px;margin:0 auto}.small-dedication{display:none}.flower-left{width:100px;height:100px;left:-57px;bottom:-20px;opacity:.9;transform:rotate(-25deg)}.flower-right{width:98px;height:98px;right:-52px;bottom:-19px;opacity:.85}.form-card{border-radius:18px;padding:25px 21px 23px;position:relative}.card-heading{gap:10px}.card-heading h2{font-size:21px}.section-icon{width:38px;height:38px}.card-heading p{font-size:11px}.required-note{margin:20px 0;font-size:9px}.field{margin-bottom:20px}.field label{font-size:11px}.optional{font-size:9px}.field input:not([type=file]){min-height:50px}.field input::placeholder{font-size:11px}.upload-box{min-height:198px}footer{padding:0 24px 26px;flex-direction:column;text-align:center;gap:7px;font-size:9px}.authorization>p,.consent-row label{font-size:10px}.form-footnote{font-size:8px}.service-note{font-size:9px;padding:6px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Refinamientos de lectura y tacto para la convocatoria oficial. */
:root{--muted:#71636e}
body{text-rendering:optimizeLegibility}
h1,.card-heading h2,dialog h2{text-wrap:balance}
.hero-description,.hero-quote{text-wrap:pretty}
.form-card{border-color:#e9dccd;box-shadow:0 18px 60px #10011730}
.card-heading h2{line-height:1.25}
.card-heading p{font-size:13px}
.required-note{font-size:11px;line-height:1.7}
.field label{font-size:13px;line-height:1.65}
.optional{font-size:11px;color:#6c5e69;background:#eee6de}
.field input:not([type=file]){min-height:54px;border-color:#cfc0bc;background:#fffdfa;line-height:1.5}
.field input::placeholder{font-size:13px;color:#7a6d76;opacity:1}
.field input:focus{border-color:#94613c;box-shadow:0 0 0 3px #ad744622}
.field small{font-size:12px;line-height:1.75}
.upload-box{border-color:#b78b62;background:linear-gradient(145deg,#fcf5eb,#f8eddd);padding:24px 16px}
.upload-box strong{font-size:14px;line-height:1.55}
.upload-box p{font-size:12px;line-height:1.7}
.upload-button{font-size:12px;min-height:46px;padding:12px 18px}
#photo-name{font-size:12px;line-height:1.65}
.authorization h3{font-size:14px;line-height:1.6}
.authorization>p{font-size:13px;line-height:1.85;color:#6b5a66}
.consent-row{gap:12px}
.consent-row input{width:22px;height:22px;margin-top:8px}
.consent-row label{font-size:13px;line-height:1.85;padding:4px 0;cursor:pointer}
.text-link{font-weight:600;color:#59274f;text-decoration-thickness:1px;text-underline-offset:3px}
.submit-button{min-height:56px;font-size:14px;transition:background .15s,box-shadow .15s}
.submit-button:active:not(:disabled){background:#260b37;box-shadow:0 2px 6px #31083d20}
.form-footnote{font-size:11px;line-height:1.8;color:#77656f;align-items:flex-start}
.form-footnote svg{margin-top:3px}
.error{font-size:13px;line-height:1.75;color:#9d242d}
footer{font-size:11px;align-items:center}
footer a{min-height:44px;display:inline-flex;align-items:center;gap:8px}
dialog p{font-size:14px;line-height:1.85}
.modal-kicker{font-size:10px;line-height:1.7}
.close-dialog{width:46px;height:46px;border-radius:50%}
.secondary-button{font-size:13px;min-height:48px;line-height:1.6}
button:focus-visible,a:focus-visible{outline-color:#aa6021;outline-width:3px}
.brand-header a:focus-visible,footer a:focus-visible{outline-color:#efbd73}
@media(max-width:760px){
 .brand-header{padding:23px 24px 13px}
 .hero{padding:20px 16px 44px}
 .eyebrow{font-size:9px;letter-spacing:1.75px}
 h1{font-size:clamp(48px,14.5vw,60px);line-height:1.035;margin:20px 0 17px}
 h1 em{font-size:.57em;letter-spacing:4px}
 .hero-quote{font-size:17px;line-height:1.65}
 .fine-rule{margin:20px auto}
 .hero-description{font-size:13px;line-height:1.85;max-width:330px}
 .form-card{padding:26px 22px;border-radius:18px}
 .card-heading{align-items:flex-start;gap:11px}
 .card-heading h2{font-size:22px;line-height:1.25;margin-bottom:6px}
 .card-heading p{font-size:12px;line-height:1.7}
 .required-note{margin:21px 0;font-size:11px}
 .field{margin-bottom:23px}
 .field label{font-size:13px;gap:6px}
 .field input:not([type=file]){min-height:54px;font-size:16px;padding:14px 13px}
 .field input::placeholder{font-size:12px}
 .optional{font-size:10px;white-space:nowrap}
 .field small{font-size:11px}
 .upload-box{min-height:210px;padding:22px 12px}
 .authorization{margin-top:26px;padding-top:24px}
 .authorization h3{font-size:13px}
 .authorization>p,.consent-row label{font-size:12px;line-height:1.85}
 .submit-button{font-size:14px;margin-top:24px}
 .form-footnote{font-size:10px;text-align:left;justify-content:flex-start;padding:0 2px}
 footer{gap:1px;padding:0 24px 25px;font-size:10px}
 dialog{padding:42px 24px 28px}
 dialog h2{font-size:27px}
 dialog p{font-size:13px}
}
@media(max-width:360px){
 .brand-header{gap:18px;padding-inline:18px}
 .brand{width:150px}
 .event{width:56px;height:56px}
 .page-grid{padding-inline:12px}
 .form-card{padding-inline:18px}
 .field label{font-size:12px}
 .optional{font-size:9px;padding:3px 5px}
 .card-heading h2{font-size:20px}
 .hero{padding-inline:10px}
}
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:none}
.upload-progress{font-size:12px;color:#765d44;line-height:1.7}
.submit-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.submit-button:disabled:hover{background:#371541}
.registration-reference{font-size:11px!important;overflow-wrap:anywhere}
#security-widget{margin-top:20px;min-height:1px}
.desktop-ofrenda{display:none}
@media(min-width:761px){
 .page-grid{gap:64px;padding-top:22px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
 .hero{padding:24px 0 0;top:24px}
 .hero h1{font-size:clamp(60px,5.6vw,74px);margin-top:22px}
 .hero .hero-description{max-width:390px}
 .hero .small-dedication{margin-top:22px;color:#d4bacc}
 .hero>.hero-flower{display:none}
 .desktop-ofrenda{display:block;height:245px;position:relative;margin-top:25px;pointer-events:none;isolation:isolate}
 .altar-halo{position:absolute;inset:-35px -35px 10px;background:radial-gradient(ellipse at 50% 68%,#ed8c302a,transparent 65%);z-index:-1}
 .altar-surface{position:absolute;left:-20px;right:-20px;bottom:24px;height:29px;border-radius:50%;background:radial-gradient(ellipse,#b0664b30,transparent 72%);border-top:1px solid #b68b6133;filter:blur(.5px)}
 .altar-candle{position:absolute;bottom:56px;width:51px;height:92px;border-radius:50% 50% 13% 13% / 8% 8% 4% 4%;background:linear-gradient(90deg,#c39357,#efc588 20%,#fff0cb 49%,#ecc68e 79%,#b27b44);box-shadow:inset 0 0 14px #eeab5f55,0 14px 20px #16071c55}
 .altar-candle:before{content:'';position:absolute;top:-4px;left:0;width:100%;height:10px;border-radius:50%;background:radial-gradient(ellipse,#a8783f 0%,#d5ab6f 20%,#fff0ce 62%,#f1d4a5);box-shadow:0 -2px 10px #f4c48022}
 .candle-wick{position:absolute;left:calc(50% - 1px);top:-8px;width:2px;height:10px;background:#55301f;border-radius:2px}
 .candle-flame{position:absolute;left:calc(50% - 8px);top:-36px;width:16px;height:32px;border-radius:55% 45% 44% 48% / 68% 70% 30% 32%;background:radial-gradient(ellipse at 50% 78%,#fffeeb 0%,#fff4b7 30%,#ffca5c 60%,#ed872c 86%);box-shadow:0 0 13px 4px #ffc35a33,0 0 40px 12px #ee90241c;transform-origin:50% 100%;animation:gentle-flame 3.4s ease-in-out infinite alternate}
 .candle-left{left:28%;height:87px;width:45px;bottom:54px}.candle-left .candle-flame{animation-delay:-1.2s}
 .candle-tall{left:46%;height:145px;width:58px;bottom:55px}
 .candle-right{left:66%;height:105px;width:48px;bottom:55px}.candle-right .candle-flame{animation-delay:-2.4s;animation-duration:4.1s}
 .altar-flower{position:absolute;object-fit:contain;filter:drop-shadow(0 8px 7px #16062066)}
 .bloom-left{left:-10px;bottom:28px;width:140px;height:140px;transform:rotate(-15deg)}
 .bloom-middle{left:38%;bottom:26px;width:84px;height:84px;transform:rotate(12deg);z-index:2}
 .bloom-right{right:-5px;bottom:28px;width:118px;height:118px;transform:rotate(18deg)}
 .altar-petal{position:absolute;width:20px;height:9px;border-radius:90% 12% 85% 18%;background:linear-gradient(20deg,#bd4514,#f58e20 65%,#ffc55b);box-shadow:0 3px 5px #13031955;bottom:36px}
 .petal-one{left:27%;transform:rotate(16deg)}.petal-two{left:65%;bottom:30px;transform:rotate(-22deg)}.petal-three{left:53%;bottom:23px;transform:rotate(35deg);width:15px}
}
@keyframes gentle-flame{0%,100%{transform:rotate(-2deg) scale(.97,1);opacity:.94}45%{transform:rotate(2deg) scale(1,1.04);opacity:1}75%{transform:rotate(-.5deg) scale(.96,.98);opacity:.96}}
@media(prefers-reduced-motion:reduce){.candle-flame{animation:none!important}}
.story-editor{margin:26px 0;padding:20px 16px;background:#f4ebe1;border:1px solid #e5d5c4;border-radius:12px}
.story-kicker{font-size:9px;letter-spacing:1.5px;color:#916337}
.story-editor h3{font-family:Georgia,serif;font-weight:400;font-size:21px;margin:8px 0}
.story-editor-heading p,.story-unlock{font-size:12px;line-height:1.8;color:#6b5965;margin:8px 0 16px}
.story-preview{position:relative;aspect-ratio:9/16;max-width:245px;margin:18px auto;background:#290d28;overflow:hidden;border-radius:5px;isolation:isolate}
.story-photo-window{position:absolute;left:25.925926%;top:27.65625%;width:48.888889%;height:37.708333%;overflow:hidden}
.story-photo-window img{width:100%;height:100%;object-fit:cover;display:block}
.story-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.story-watermark{position:absolute;top:44%;left:20%;width:60%;padding:12px 3px;background:#260b37b8;color:white;text-align:center;font-size:10px;letter-spacing:1.5px;line-height:1.8;pointer-events:none}
.story-watermark small{font-size:8px;letter-spacing:0}
.story-adjust{border-top:1px solid #dfcdbc;padding-top:4px}
.story-adjust summary{font-size:12px;font-weight:600;cursor:pointer;padding:13px 0;min-height:44px}
.story-adjust summary span{float:right}.story-adjust p{font-size:11px;color:#6b5965;line-height:1.8}
.story-adjust label{display:block;font-size:12px;margin-top:10px}.story-adjust input[type=range]{display:block;width:100%;height:36px;accent-color:#6a345b;cursor:pointer}
.story-unlock{margin:16px 0 0;font-size:11px}
#success-dialog{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain}
.story-result{margin-top:24px;border-top:1px solid #e2d1bf;padding-top:18px}
.story-result h3{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0 0 10px}
#story-result-image{display:block;width:180px;height:auto;max-width:100%;margin:18px auto;border-radius:5px;box-shadow:0 8px 20px #260b3722}
.story-actions{display:grid;gap:10px}.story-actions .submit-button{margin-top:0}
.story-result .story-share-note{font-size:11px;line-height:1.8;margin:14px 0 22px}
#success-dialog>.close-modal{margin-top:16px}
#success-dialog.has-story{padding:35px 22px 24px}
.has-story .success-symbol{width:36px;height:36px;font-size:21px;margin:14px auto 10px}
.has-story h2{font-size:23px;margin:12px 0;line-height:1.25}
.has-story>p{font-size:12px;margin:8px 0}
.has-story .registration-reference{font-size:9px!important}
.has-story .story-result{display:flex;flex-direction:column;margin-top:18px;padding-top:16px}
.has-story #story-status{font-size:12px;margin:2px 0 14px;order:1}
.has-story .story-result h3{font-size:21px;margin-bottom:10px}
.has-story .story-actions{order:2}
.has-story #story-result-image{order:3;width:160px;margin:16px auto 4px}
.has-story .story-share-note{order:4;margin-bottom:4px}
.reopen-story{display:block;width:100%;margin-top:18px}
