/* Fidelidad a la referencia: lienzos verticales, posiciones proporcionales y textos editables.
   Para modificar: nombres, fecha, horarios y direcciones están todos en index.html. */
:root {
  --olive: #3e482a;
  --ink: #37382b;
  --sage: #b0b3a3;
  --paper: #f9f5e9;
  --line: #bcb6a1;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; min-height:100vh; padding:12px 0 24px; background:radial-gradient(ellipse at 50% 42%, #c3c5b7 0%, #afb2a4 65%, #a4a899 100%); color:var(--ink); font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif; }
.spread { width:min(88vw, 850px); margin:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:4.65%; align-items:start; }
.panel { position:relative; aspect-ratio:304/1280; background:radial-gradient(ellipse at 50% 32%, #fffcf3 0%, #fbf8ef 47%, #f4eee2 100%); box-shadow:0 2px 11px #54574d5e; overflow:hidden; container-type:inline-size; isolation:isolate; }
.panel > :not(.hero-photo,.bottom-photo,.itinerary) { z-index:2; }
.panel p,.panel h2 { margin:0; }
.panel h2 {font-weight:600;}
.small-caps { text-transform:uppercase; font-weight:600; letter-spacing:.1em; line-height:1.5; text-align:center; }
.botanical { position:absolute; display:block; height:auto; pointer-events:none; }
.botanical--top { top:-.7%; left:-5%; width:112%; transform:scaleX(1.04); opacity:.87; z-index:4!important; }
.verse { position:absolute; top:8.35%; width:80%; left:10%; font-size:2.6cqw; line-height:1.53; }
.verse span { display:inline-block; padding-top:2%; font-size:.95em; }
.monogram { position:absolute; top:14.6%; left:23%; width:54%; height:8.2%; display:flex; align-items:center; justify-content:space-between; font-family:'Cormorant Garamond',Georgia,serif; font-size:29cqw; line-height:1; font-weight:400; color:var(--olive); }
.monogram i { align-self:center; height:76%; width:1px; background:#565a48; margin-top:2%; }
.wedding-title { position:absolute; top:22.4%; width:100%; text-align:center; color:#3e4132; text-transform:uppercase; font-size:4.15cqw; font-weight:600; letter-spacing:.27em; }
.heart-rule { position:absolute; display:flex; align-items:center; justify-content:center; gap:2.1%; height:1%; width:56%; left:22%; color:#747961; font-size:2.7cqw; }
.heart-rule span { width:36%; height:1px; background:var(--line); opacity:.8; }
.heart-rule b { font-size:1em; line-height:1; }
.heart-rule--front { top:24.1%; }
.hero-photo { position:absolute; top:25.45%; left:0; width:100%; height:25.75%; z-index:1; overflow:hidden; clip-path:polygon(0 1.1%, 5% .6%, 9% 1.2%, 13% .3%, 18% 1.1%, 23% .2%, 28% 1.2%, 33% .4%, 40% 1.3%, 46% .2%, 52% 1%, 58% .3%, 64% 1.1%, 71% .6%, 77% 1.3%, 82% .3%, 89% .9%, 94% .2%, 100% 1.2%, 100% 98.6%, 94% 98.7%, 89% 99.2%, 83% 98.4%, 77% 99.1%, 71% 98.8%, 65% 99.5%, 60% 98.6%, 54% 99.3%, 49% 98.4%, 43% 99.2%, 37% 98.7%, 31% 99.5%, 25% 98.5%, 19% 99.4%, 12% 98.7%, 6% 99.5%, 0 98.7%); }
.hero-photo img { width:100%;height:100%;object-fit:cover; object-position:center 48%;display:block; }
.intro { position:absolute; top:52.5%; left:7%; width:86%; font-size:2.68cqw; letter-spacing:.074em; line-height:1.48; }
.heart-rule--intro { top:57.4%; width:53%; left:23.5%; }
.parents { position:absolute; top:60%; left:5%; width:90%; display:grid; grid-template-columns:1fr 1fr; gap:2%; text-align:center; font-size:2.7cqw; line-height:1.58; }
.parents div {display:flex;flex-direction:column;}
.parents b { font-size:2.63cqw; text-transform:uppercase; font-weight:700; }
.botanical--middle { top:56.5%; right:-13%; width:38%; opacity:.81; transform:rotate(-11deg); }
.botanical--lower { top:72%; left:-15%; width:44%; opacity:.76; transform:rotate(169deg) scaleX(-1); }
.couple-names { position:absolute; top:64.3%; left:3%; width:94%; height:20.2%; text-align:center; color:#292c23; font-family:'Great Vibes','Z003','Brush Script MT',cursive; line-height:1; transform:rotate(-6deg); font-weight:400; }
.couple-names .name { font-size:23cqw; white-space:nowrap; font-weight:400; }
.couple-names .first { margin-left:7%; }
.couple-names .ampersand { font-size:11cqw; margin-top:3cqw; margin-bottom:3cqw; }
.couple-names .last { margin-left:4%; }
.honor { position:absolute; top:85.15%; width:90%; left:5%; font-size:2.95cqw; line-height:1.45; letter-spacing:.13em; }
.date-block { position:absolute; top:89.3%; width:78%; left:11%; text-align:center; }
.month { font-size:3.7cqw; text-transform:uppercase; font-weight:600; letter-spacing:.18em; }
.date-line { display:flex;align-items:center;justify-content:space-between;gap:4%; height:13.8cqw; }
.date-line .side {flex:1;border-top:1px solid #a4a08b;border-bottom:1px solid #a4a08b;padding:1.3% 0; font-size:3.3cqw;text-transform:uppercase;letter-spacing:.08em;font-weight:600;}
.date-line strong {font-weight:400; color:var(--olive);font-size:17cqw;line-height:1;}
.date-flourish {display:flex;justify-content:center;align-items:center;height:4.4cqw;gap:1%;}
.date-flourish img {width:28%;height:auto;max-height:100%;object-fit:contain;}
.date-flourish img:last-child {transform:scaleX(-1);}
.date-flourish b {font-size:3cqw;color:var(--olive);}
.signature {position:absolute;bottom:1.5%;width:100%;text-align:center;font-family:'Great Vibes','Z003','Brush Script MT',cursive;font-size:8.5cqw;color:#292d22;}
/* Lado de datos */
.venue { position:absolute; width:84%; left:8%; text-align:center; font-size:3cqw; line-height:1.23; }
.venue--church {top:1.5%;}
.venue--reception {top:12.45%;}
.venue .time { font-size:4.1cqw; letter-spacing:.1em; font-weight:600; }
.venue h2 { font-size:4.15cqw; text-transform:uppercase; letter-spacing:.105em; line-height:1.15; margin:.45cqw 0; }
.venue .venue-name {text-transform:uppercase;font-size:3.1cqw;letter-spacing:.08em;font-weight:600;margin:.9cqw 0 .2cqw;}
.pill {display:inline-block; margin-top:2.5cqw; color:white; background:linear-gradient(135deg,#354023,#4a5632); border-radius:1.9cqw; padding:1.25cqw 4.8cqw 1.1cqw; font-family:Georgia,'Times New Roman',serif; font-size:2.95cqw; font-weight:700; text-transform:uppercase; letter-spacing:.055em; box-shadow:inset 0 1px 1px #ffffff15;white-space:nowrap; }
a.pill { text-decoration:none; }
.heart-rule--church { top:10.95%; width:62%;left:19%; }
.itinerary-heading {position:absolute; top:21.8%; width:100%; text-align:center; text-transform:uppercase; letter-spacing:.14em; font-size:3.9cqw;}
.itinerary { position:absolute; top:24%; left:0; width:100%; height:23.5%; display:flex; flex-direction:column; justify-content:space-evenly; padding:3.6% 12% 1.4%; z-index:1; isolation:isolate; }
.itinerary:before {content:"";position:absolute;inset:0;z-index:-1;opacity:.88;background:radial-gradient(ellipse at 18% 21%,#c3c9b9b3,transparent 56%),radial-gradient(ellipse at 82% 68%,#c3c9b6a6,transparent 64%),linear-gradient(180deg,#d4d9cae8,#e3e7dae0 49%,#d4d9cae4);clip-path:polygon(0 2%,6% 1%,11% 2%,15% 0,20% 1%,25% 0,31% 2%,36% 1%,41% 2%,48% 0%,52% 2%,58% 1%,64% 0,69% 2%,75% 1%,80% 2%,85% 1%,93% 0,100% 2%,100% 98%,96% 99%,90% 97%,86% 99%,80% 98%,75% 100%,68% 98%,60% 100%,54% 98%,47% 100%,40% 98%,34% 100%,26% 98%,18% 100%,12% 98%,5% 100%,0 98%);}
.itinerary:after {content:"";position:absolute;inset:0;z-index:-1;background-image:url('assets/acuarela-divisor.webp');background-size:125% 95%;background-position:center;opacity:.18;pointer-events:none;}
.timeline-row {position:relative; display:grid; grid-template-columns:32% 11% 57%; align-items:center; min-height:14%; font-size:3.1cqw; line-height:1.12;}
.timeline-row img {height:10cqw;width:10cqw;justify-self:center;object-fit:contain;}
.timeline-row p {padding-left:5%; font-size:3.1cqw;}
.timeline-row p b {font-weight:600;}
.timeline-row .timeline-dot {justify-self:center;align-self:center;width:1.5cqw;height:1.5cqw;border-radius:50%;background:#606344;z-index:1;}
.timeline-row .timeline-dot:after { content:"";position:absolute;top:-58%;bottom:-58%;left:37.0%;width:1px;background:#686b55;z-index:-1; }
.timeline-row:first-child .timeline-dot:after {top:50%;}
.timeline-row:last-child .timeline-dot:after {bottom:50%;}
.info {position:absolute; left:12%;width:76%;display:grid;grid-template-columns:29% 71%; column-gap:1%; align-items:start; }
.info .info-icon {width:12cqw;height:12cqw;object-fit:contain;justify-self:start;}
.info h2 {font-size:3.6cqw;line-height:1.1;letter-spacing:.11em;text-transform:uppercase;}
.info p {font-size:3.04cqw;line-height:1.12;}
.info--seats {top:48.4%;}
.info--seats .seatline {display:flex;gap:3.5cqw;align-items:center;margin-top:1.1cqw;}
.seat-count {display:inline-grid;place-items:center;min-width:8.3cqw;height:6.5cqw;border:1px solid #6e705f;font-size:3.2cqw;}
.info .seatline b {text-transform:uppercase;font-weight:600;letter-spacing:.18em;}
.heart-rule--seats {top:53%;left:20%;width:62%;}
.info--gift {top:54.4%;}
.info--gift .info-icon {width:11.8cqw;}
.info--gift .info-copy > p {margin-top:1.2cqw;}
.info--gift .gift-envelope-label {font-size:3.0cqw;text-transform:uppercase;font-weight:600;letter-spacing:.08em;margin-top:1.2cqw;}
.envelope {display:block; width:9cqw; height:6cqw; object-fit:contain; margin:1.1cqw auto 0;}
.heart-rule--gift {top:63.2%;width:62%;left:20%;}
.info--confirmation {top:64.6%;}
.info--confirmation .pill {margin-top:2.4cqw;}
.botanical--right {top:48.8%;right:-12%;width:42%;height:22%;object-fit:fill;opacity:.87;transform:rotate(-6deg);z-index:3!important;}
.adults { position:absolute;top:73.2%;left:6%;width:88%;text-align:center; }
.adults h2 {text-transform:uppercase;font-size:3.75cqw;letter-spacing:.09em;}
.adults p {font-size:3.1cqw;line-height:1.2;margin-top:1.2cqw;}
.flower-ornament {position:absolute;left:24%;top:78.5%;width:52%;height:3%;object-fit:contain;opacity:.9;}
.looking-forward {position:absolute;left:7%;width:86%;top:81.5%;font-size:3.25cqw;line-height:1.22;letter-spacing:.16em;}
.bottom-photo {position:absolute;top:85%;height:15%;width:100%;overflow:hidden;clip-path:polygon(0 2%, 7% 1%, 13% 2%, 20% 0, 28% 1.5%, 36% 0, 43% 1.3%, 51% 0, 57% 2%, 65% 0, 72% 1.5%, 79% 0, 84% 1%, 92% 0, 100% 2%, 100% 100%, 0 100%);}
.bottom-photo img {width:100%;height:100%;object-fit:cover;object-position:center 55%;display:block;}
@media (max-width:600px) {
  body {padding:10px 0 20px;}
  .spread {width:min(96vw,390px);grid-template-columns:1fr;gap:20px;}
  .panel {width:100%;}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after {scroll-behavior:auto!important;}}
