:root{--navy:#071f46;--navy2:#0e3265;--red:#eb2c2f;--gold:#c99e43;--paper:#f6f1e7;--ink:#13243b;--white:#fff;--shadow:0 18px 40px rgba(1,15,38,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#09172f;color:var(--ink);font-family:Arial,Helvetica,sans-serif}main,footer{width:min(100%,760px);margin:auto;overflow:hidden}.hero{min-height:100svh;position:relative;background:radial-gradient(circle at 76% 28%,#174b83 0,transparent 35%),linear-gradient(145deg,#061b3e 0%,#0c3264 70%,#071b3d 100%);color:white;padding:8vh 6vw 5vh;display:flex;flex-direction:column;justify-content:space-between;border-bottom:7px solid var(--red)}.hero:before,.hero:after{content:"";position:absolute;inset:-10% -20%;background:linear-gradient(12deg,transparent 44%,rgba(235,44,47,.9) 45%,rgba(235,44,47,.9) 49%,transparent 50%);opacity:.55;pointer-events:none}.hero:after{background:linear-gradient(-18deg,transparent 58%,rgba(201,158,67,.8) 59%,rgba(201,158,67,.8) 61%,transparent 62%)}.hero-grid{position:absolute;inset:3%;border:1px solid rgba(201,158,67,.5);background-image:radial-gradient(rgba(255,255,255,.3) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#000,transparent)}.hero-copy{position:relative;z-index:2;width:54%;padding-top:4vh}.kicker{font-size:clamp(1.2rem,4vw,2rem);font-weight:900;font-style:italic;line-height:.9;transform:rotate(-3deg);margin:0 0 1.2rem}.kicker strong{display:block;color:var(--red);font-size:1.65em;text-shadow:2px 2px 0 white}.small-label,.eyebrow{letter-spacing:.24em;font-size:.72rem;font-weight:800}.hero h1{font-size:clamp(3.5rem,15vw,7.2rem);line-height:.8;margin:.1em 0;font-weight:950;letter-spacing:-.08em}.age{font-size:clamp(1.6rem,7vw,3rem);font-weight:900;color:var(--red)}.age span{font-size:1.8em;color:var(--gold);vertical-align:middle}.date-pill{display:inline-block;background:#061a3b;border:1px solid rgba(255,255,255,.18);border-radius:100px;padding:.7rem 1rem;font-size:.72rem;font-weight:bold;letter-spacing:.1em}.hero-boy{position:absolute;z-index:1;width:70%;right:-19%;top:8%;filter:drop-shadow(0 18px 16px rgba(0,0,0,.28))}.count-wrap{position:relative;z-index:3;text-align:center;margin-top:auto}.count-wrap>p{letter-spacing:.18em;font-weight:bold;color:#f1d18b}.countdown{display:grid;grid-template-columns:repeat(3,1fr);background:rgba(4,24,58,.88);border:1px solid rgba(201,158,67,.6);backdrop-filter:blur(12px);max-width:560px;margin:auto}.countdown div{padding:1rem .5rem;border-right:1px solid rgba(201,158,67,.45)}.countdown div:last-child{border:0}.countdown strong{font-family:Georgia,serif;font-size:2rem;display:block}.countdown span{font-size:.63rem;letter-spacing:.2em}.primary,.red-btn{display:block;max-width:350px;margin:1rem auto;padding:1rem;border-radius:100px;background:var(--red);color:white;text-decoration:none;font-weight:900;font-size:.78rem;letter-spacing:.08em;box-shadow:0 6px 0 #a10f20}.discover{color:white;text-decoration:none;font-size:.72rem;font-weight:bold;letter-spacing:.15em}.discover span{display:block;font-size:1.5rem}.manifesto{background:var(--navy);color:white;text-align:center;padding:5rem 1.5rem;position:relative}.manifesto .slash{position:absolute;inset:0;background:linear-gradient(165deg,transparent 38%,rgba(235,44,47,.28) 39%,transparent 48%)}.manifesto p,.manifesto h2{position:relative;margin:.2rem}.manifesto p{color:#f3c66d;font-family:Georgia,serif;font-style:italic;font-size:1.35rem}.manifesto h2{font-size:clamp(1.7rem,6vw,2.6rem)}.paper-section{background:var(--paper);padding:5rem clamp(1.5rem,7vw,4rem);position:relative}.venue{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}.section-number{position:absolute;top:1rem;left:1.5rem;color:rgba(7,31,70,.15);font-size:5rem;font-weight:950}.venue h2,.schedule h2,.dress h2,.rsvp h2,.gifts h2{font-size:clamp(2rem,7vw,3.5rem);margin:.3rem 0;line-height:.9}.big-time{font-size:2rem;font-weight:950;color:var(--red)}.red-btn{display:inline-block;text-align:center;margin:1rem 0}.dojo-art{height:340px;background:linear-gradient(rgba(4,22,47,.18),rgba(4,22,47,.75)),repeating-linear-gradient(90deg,#d4a845 0 8px,#f1dfb0 8px 11px);border-radius:4px;box-shadow:var(--shadow);display:flex;gap:.6rem;align-items:flex-start;justify-content:center;padding:1.5rem}.dojo-art span{writing-mode:vertical-rl;background:#fff;padding:1rem .55rem;font-size:.62rem;letter-spacing:.14em}.dojo-art b{position:absolute;align-self:center;color:white;font-size:4rem}.schedule{background:white;padding:5rem 1.5rem;text-align:center}.schedule h2 em,.dress h2 em,.rsvp h2 em,.music-section em{color:var(--red);font-style:normal}.belt-line{display:grid;grid-template-columns:repeat(4,1fr);max-width:650px;margin:2rem auto;position:relative}.belt-line:before{content:"";height:9px;background:linear-gradient(90deg,#eee 25%,#e6bd31 25% 50%,#e83f3e 50% 75%,#111 75%);position:absolute;left:7%;right:7%;top:25px}.belt-line article{position:relative;display:flex;flex-direction:column;align-items:center;gap:.5rem}.belt{display:block;width:48px;height:48px;border:5px solid white;border-radius:50%;box-shadow:0 2px 10px #999;background:#ddd;z-index:1}.belt.yellow{background:#e6bd31}.belt.red{background:#e83f3e}.belt.black{background:#111}.belt-line b{font-size:1.15rem}.belt-line span{font-size:.75rem}.music-section{background:linear-gradient(125deg,#061a3c,#103c72);color:white;padding:4rem clamp(1.5rem,7vw,4rem);display:flex;align-items:center;justify-content:space-between;gap:2rem}.music-section h2{font-size:clamp(1.7rem,5vw,2.6rem);margin:.3rem 0}.light{color:#f5d17c}.player{display:flex;align-items:center;gap:1rem;min-width:45%}.player button{border:0;border-radius:50%;width:64px;height:64px;background:var(--red);color:white;font-size:1.4rem;cursor:pointer}.player strong{font-size:.72rem;letter-spacing:.12em}.wave{color:#f0c568;font-size:1.3rem;letter-spacing:-.08em}.split{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}.uniform{text-align:center}.jacket{width:160px;height:170px;margin:auto;display:grid;place-items:center;background:white;clip-path:polygon(18% 0,42% 11%,50% 30%,58% 11%,82% 0,100% 18%,82% 43%,77% 100%,23% 100%,18% 43%,0 18%);font-size:4rem;box-shadow:var(--shadow)}.belt-show{display:block;width:180px;height:15px;background:#111;margin:-45px auto 45px;position:relative}.uniform small{font-size:.55rem;letter-spacing:.08em}.action-section{background:linear-gradient(135deg,#961c26,var(--red));color:white;padding:4rem clamp(1.5rem,7vw,4rem);display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:2rem}.gift-visual{font-size:7rem;text-align:center;filter:drop-shadow(0 10px 12px rgba(0,0,0,.25))}.outline-light{display:inline-block;color:white;border:1px solid white;padding:.9rem 1.5rem;border-radius:100px;text-decoration:none;font-weight:bold;font-size:.75rem}.rsvp{text-align:center}.rsvp form{max-width:540px;margin:2rem auto;text-align:left}.rsvp label,.editor-grid label{display:flex;flex-direction:column;gap:.45rem;font-size:.7rem;font-weight:bold;letter-spacing:.06em}.rsvp input,.editor-grid input{width:100%;border:1px solid #d5ccb9;background:white;padding:1rem;border-radius:8px;font:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.rsvp button,#saveBtn{width:100%;border:0;border-radius:100px;background:#18a951;color:white;padding:1rem;font-weight:900;cursor:pointer}footer{background:#071b3c;color:white;text-align:center;padding:3rem 1rem 4rem;border-top:1px solid var(--gold)}footer span{color:var(--red);font-size:1.5rem}footer p{font-size:.6rem;letter-spacing:.3em}footer a{color:#e9c778;text-decoration:none;font-family:Georgia,serif;font-size:1.7rem;letter-spacing:.22em}.edit-btn{position:fixed;z-index:10;right:max(1rem,calc((100vw - 760px)/2 + 1rem));top:1rem;border:0;border-radius:100px;background:rgba(7,31,70,.92);color:white;padding:1rem 1.35rem;font-weight:bold;letter-spacing:.08em;box-shadow:var(--shadow);cursor:pointer}.to-top{position:fixed;z-index:8;right:max(1rem,calc((100vw - 760px)/2 + 1rem));bottom:1rem;background:var(--navy);color:white;text-decoration:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center}dialog{width:min(94vw,680px);max-height:88vh;border:0;border-radius:20px;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.4)}dialog::backdrop{background:rgba(2,13,31,.72);backdrop-filter:blur(4px)}dialog form{padding:1.5rem}dialog header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd;margin-bottom:1rem}dialog header h2{margin:.2rem 0 1rem}dialog header button{border:0;background:none;font-size:2rem}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-height:58vh;overflow:auto;padding:.3rem}.editor-grid .wide{grid-column:1/-1}.editor-actions{display:flex;gap:1rem;margin-top:1rem}.editor-actions button{padding:1rem;border-radius:100px;border:0;font-weight:bold}.editor-actions .secondary{background:#eee;color:#333}.editor-actions #saveBtn{background:var(--navy)}
@media(max-width:620px){.hero{padding-left:1.3rem;padding-right:1.3rem}.hero-copy{width:68%;padding-top:7vh}.hero-boy{width:86%;right:-29%;top:13%}.venue,.split{grid-template-columns:1fr}.dojo-art{height:240px}.music-section{flex-direction:column;align-items:flex-start}.player{width:100%}.action-section{grid-template-columns:1fr;text-align:center}.belt-line span{font-size:.63rem}.edit-btn{font-size:.68rem;padding:.85rem 1rem}.editor-grid{grid-template-columns:1fr}.editor-grid .wide{grid-column:auto}}

/* Elementos de marca estandarizados para todos los modelos Distintiva */
.gift-visual{font-size:0;display:grid;place-items:center;filter:drop-shadow(0 14px 14px rgba(0,0,0,.22))}
.gift-visual svg{width:min(220px,90%);height:auto;overflow:visible}
.gift-shadow{fill:#80101d;transform:translate(8px,9px)}
.gift-box{fill:#f1c85d;stroke:#fff1bb;stroke-width:3}
.gift-lid{fill:#f5d77f;stroke:#fff1bb;stroke-width:3}
.gift-ribbon,.gift-bow{fill:#0b234a;stroke:#e6bc58;stroke-width:3}
.gift-belt{fill:#111827}.gift-knot{fill:#0b234a;stroke:#e6bc58;stroke-width:3}
.gift-stitch{fill:none;stroke:#e6bc58;stroke-width:2;stroke-linecap:round}
.distintiva-signature{background:#252525;color:#9c9c9c;display:flex;align-items:center;justify-content:center;gap:.28rem;white-space:nowrap;padding:1.1rem 1rem;border:0;font-family:Arial,Helvetica,sans-serif;font-size:clamp(.9rem,3.8vw,1.15rem);font-weight:400}
.distintiva-signature .signature-heart{display:inline;flex:0 0 auto;color:inherit;font-size:1.08em;line-height:1;margin:0}
.distintiva-signature .signature-logo{display:inline;color:#f2f2f2;text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:inherit;font-weight:500;letter-spacing:0}
.distintiva-signature>span:not(.signature-heart){color:#9c9c9c;font-size:inherit}

/* Ilustraciones editoriales en PNG */
.dojo-art{height:auto;min-height:320px;background:linear-gradient(160deg,#f6ecd4,#d8b672);padding:1.2rem;overflow:hidden;align-items:center}
.dojo-art img{display:block;width:100%;max-height:330px;object-fit:contain;filter:drop-shadow(0 16px 16px rgba(7,31,70,.2))}
.belt-line:before{height:2px;background:linear-gradient(90deg,transparent,#c99e43 10% 90%,transparent);top:38px}
.belt-crop{display:block;position:relative;width:76px;height:76px;overflow:hidden;z-index:1;filter:drop-shadow(0 5px 5px rgba(7,31,70,.15))}
.belt-crop img{position:absolute;top:0;width:304px;height:101px;max-width:none;object-fit:fill}
.belt-white img{left:0}.belt-yellow img{left:-76px}.belt-red img{left:-152px}.belt-black img{left:-228px}
.uniform img{display:block;width:min(260px,82%);max-height:360px;object-fit:contain;margin:0 auto 1rem;filter:drop-shadow(0 14px 14px rgba(7,31,70,.18))}
.uniform small{display:block;color:#34445d;line-height:1.5}
.gift-visual img{display:block;width:min(250px,84%);height:auto;margin:auto;filter:drop-shadow(0 14px 14px rgba(0,0,0,.22))}

@media(max-width:620px){
  .dojo-art{min-height:250px;padding:.8rem}.dojo-art img{max-height:260px}
  .belt-line{gap:.15rem}.belt-crop{width:58px;height:62px}.belt-crop img{width:232px;height:77px}
  .belt-white img{left:0}.belt-yellow img{left:-58px}.belt-red img{left:-116px}.belt-black img{left:-174px}
  .uniform img{width:min(235px,76%)}.gift-visual img{width:min(230px,72%)}
}
