body{background:#f8f5f1;color:#241e21}.launch{min-height:100svh;padding:40px 7vw;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(90deg,#f8f5f1 20%,#f8f5f1b0 55%,#f8f5f110),url('../images/hero-wedding-2026-desktop.avif') right center/cover}.launch__logo{width:145px}.launch h1{font:400 clamp(42px,6vw,88px)/1.06 var(--f-head);margin:22px 0}.launch__eyebrow,.launch__foot{font-size:11px;letter-spacing:.15em}.launch .btn{margin-top:20px}.btn{min-height:50px;gap:20px}.popup{padding:0;border:0;width:min(1200px,calc(100vw - 64px));height:600px;max-width:none;max-height:calc(100dvh - 48px);background:#fff;color:var(--ink);border-radius:16px;overflow:auto;box-shadow:0 28px 100px #21141f40}.popup::backdrop{background:#211c2366;backdrop-filter:blur(6px)}.popup__close{position:absolute;z-index:3;right:18px;top:17px;width:40px;height:40px;border-radius:50%;background:#f5f0f2;font:300 29px/1 var(--f-body);color:#66575f}.popup .quiz__card{padding:30px 44px 22px;min-height:100%;display:flex;flex-direction:column}.popup__head{display:flex;justify-content:space-between;align-items:center;padding-right:38px;margin-bottom:14px}.popup__head .quiz__eyebrow{margin:0;font-size:10px;letter-spacing:.15em;color:#936476}.popup__head img{width:81px;max-height:35px;object-fit:contain}.popup .quiz__title{white-space:normal;font-size:28px;line-height:1.18;margin:0 0 22px;max-width:810px}.popup .qprogress{margin-bottom:22px}.popup .qprogress__meta{font-size:12px;margin-bottom:8px}.popup #progressLabel{font-weight:600;color:#66515c}.popup .qprogress__track{height:4px;border-radius:8px}.popup .qprogress__bar{border-radius:8px;background:var(--rose-dark)}.popup .qstep__q{font-size:25px;line-height:1.2;margin-bottom:8px;outline:none}.popup__content{flex:1}.popup .qopts{gap:14px;margin-top:18px}.popup .qopt{border-radius:9px}.popup .qopt__img{height:151px;aspect-ratio:auto}.popup .qopt__label{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-size:14px}.popup .qopt__label:after{content:'';width:17px;height:17px;flex:0 0 17px;border:1px solid #d6c6cd;border-radius:50%}.popup .qopt.is-sel .qopt__label:after{border:5px solid #bd7e93;background:white}.popup .qopt.is-sel:after{display:none}.popup .qopt__note{padding:0 14px 13px;font-size:12px;color:#776a72}.popup .qskip{color:#77636e;font-size:12px;padding:5px 0;margin-top:12px}.popup .qnav{margin-top:18px;padding-top:13px;min-height:34px}.popup .qnav__note{margin-left:0;color:#857580;font-size:11px}.popup .qnav__back{font-size:12px;padding:5px 0}.footer-brand{margin-left:auto;font-size:9px;letter-spacing:.16em;color:#a38d99}.popup .qstep__hint{font-size:12px;color:#82737c}.wish-grid{display:grid;grid-template-columns:1fr 285px;gap:35px}.wish-grid .qstep__q{max-width:590px}.optional{display:inline-block;margin:5px 0 12px;padding:5px 9px;background:#faf2f5;color:#936476;border-radius:4px;font-size:11px}textarea{width:100%;height:116px;resize:none;border:1px solid #e1d7dc;border-radius:8px;padding:13px 15px;font:400 13px/1.6 var(--f-body);color:#241e21;background:#fff;display:block}textarea::placeholder{color:#9a8c94}.wish-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#93838d;margin-top:7px}.wish-actions{display:flex;align-items:center;gap:24px;margin-top:15px}.wish-actions .qskip{margin:0}.wish-photo{width:100%;height:275px;object-fit:cover;object-position:50% 60%;border-radius:10px}.contact-grid{display:grid;grid-template-columns:1fr 255px;gap:36px}.contact-grid .qstep__q{font-size:24px}.contact-lead{font-size:12px;color:#82737c;max-width:610px;margin:8px 0 12px}.summary{display:flex;flex-wrap:wrap;gap:6px}.summary span{padding:5px 10px;background:#faf3f5;border:1px solid #efe3e8;border-radius:5px;font-size:11px;color:#715563}.edit-link{font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:6px 0;color:#8a6877}.phone-label{display:block;font-size:12px;margin:8px 0}.form-line{display:flex;gap:10px}.popup .qform__input{min-width:0;width:220px;height:49px;min-height:49px;border-radius:7px;font-size:15px;padding:12px}.form-line .btn{min-height:49px;font-size:12px;padding:13px 18px;flex:1;border-radius:7px;white-space:nowrap}.consent{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.5;color:#887b82;margin-top:12px;max-width:590px}.consent input{accent-color:#b57a8f;margin:2px 0;width:14px;height:14px;flex-shrink:0}.consent a{text-decoration:underline;text-underline-offset:2px}.contact-photo{margin:0;position:relative;border-radius:10px;overflow:hidden;height:288px}.contact-photo img{width:100%;height:100%;object-fit:cover}.contact-photo:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#25151dcc)}.contact-photo figcaption{position:absolute;bottom:21px;left:21px;z-index:1;color:white;font:21px/1.2 var(--f-head)}.wish-summary{font-size:11px;line-height:1.4;margin:6px 0;color:#7d6d76;max-height:32px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.form-error{font-size:11px;color:#b2354b;margin:6px 0}.success{text-align:center;padding:20px 0}.success__mark{margin:0 auto 16px;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#faf0f4;color:#b37a8e;font-size:24px}.success p{font-size:13px;color:#88737f}.success .quiz__eyebrow{font-size:10px}.success .btn{font-size:13px;margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){.popup{width:calc(100vw - 32px)}.popup .quiz__card{padding:28px}.popup .quiz__title{font-size:25px}.popup .qstep__q{font-size:22px}.wish-grid{grid-template-columns:1fr 200px;gap:20px}.contact-grid{grid-template-columns:1fr 180px;gap:20px}.form-line{flex-wrap:wrap}.popup .qform__input{width:100%}.contact-photo{height:320px}.popup .qopt__img{height:130px}.contact-grid .qstep__q{font-size:21px}}
@media(max-width:600px){.popup{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.popup .quiz__card{padding:22px 20px 18px;min-height:100dvh}.popup__close{right:14px;top:14px;width:36px;height:36px}.popup__head{margin-bottom:20px;padding-right:34px}.popup__head img{width:65px}.popup__head .quiz__eyebrow{font-size:8px;letter-spacing:.08em;max-width:160px}.popup .quiz__title{font-size:24px;line-height:1.2;margin-bottom:20px}.desktop{display:none}.popup .qprogress{margin-bottom:22px}.popup .qstep__q{font-size:23px;line-height:1.2}.popup .qopts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}.popup .qopt__img{height:135px}.popup .qopt__label{padding:10px;font-size:12px}.popup .qopt__note{font-size:10px;padding:0 10px 10px}.popup .qskip{font-size:12px;margin-top:16px}.popup .qnav{margin-top:22px;gap:16px;flex-wrap:wrap}.popup .qnav__note{font-size:10px;max-width:220px}.footer-brand{display:none}.wish-grid,.contact-grid{display:block}.wish-photo{height:120px;margin-top:22px;object-position:50% 62%}textarea{height:176px;font-size:14px}.wish-meta{font-size:10px}.wish-meta span:first-child{max-width:210px}.wish-actions .btn{font-size:13px;padding:14px 20px}.wish-actions .qskip{margin:0}.contact-photo{display:none}.contact-grid .qstep__q{font-size:24px}.contact-lead{font-size:13px;line-height:1.6;margin:12px 0 16px}.summary span{font-size:12px}.edit-link{font-size:12px;padding:11px 0}.phone-label{font-size:13px;margin:15px 0 9px}.form-line{display:grid;gap:10px}.popup .qform__input{height:54px;font-size:16px}.form-line .btn{font-size:13px;min-height:53px}.consent{font-size:11px;gap:9px;margin-top:15px}.consent input{width:18px;height:18px}.wish-summary{font-size:12px;max-height:58px}.success{padding-top:30px}.success .qstep__q{font-size:29px}.launch{padding:28px;min-height:100svh;background-position:65% center}.launch h1{font-size:48px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Isolate original full-width mobile section margins inside the dialog. */
.popup .quiz__card{margin:0}.popup .qopts--img{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:600px){.popup .qopts--img{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v2: simplified popup header and clean photograph. */
.popup .quiz__title{padding-right:38px}.contact-photo:after{display:none}

/* v3: captured darsy-wed.ru homepage behind the open modal. */
body:has(.popup[open]) .launch::after{content:'';position:fixed;inset:0;z-index:1;background:#fff url('../images/site-background-desktop.png') top center/100% auto no-repeat;pointer-events:none}
@media(max-width:600px){body:has(.popup[open]) .launch::after{background-image:url('../images/site-background-mobile.png')}}

/* v4: the same homepage stays visible when the dialog closes. */
.launch{position:relative;display:block;padding:0;min-height:max(100svh,62.5vw);background:#fff url('../images/site-background-desktop.png') top center/100% auto no-repeat}
body:has(.popup[open]) .launch::after{display:none}
.launch #openQuiz{position:absolute;left:13.1944%;top:24.1667vw;width:15.625%;height:4.1667vw;margin:0;padding:0;opacity:1;color:transparent;background:transparent;border:0;border-radius:50px;font-size:0}
.launch #openQuiz:focus-visible{outline:3px solid #a76926;outline-offset:3px}
@media(max-width:600px){.launch{padding:0;min-height:max(100svh,216.4103vw);background-image:url('../images/site-background-mobile.png')}.launch #openQuiz{left:7.6923%;top:165.8974vw;width:84.6154%;height:12.8205vw}}

/* v5: optional Telegram contact. */
.popup .telegram-field{display:block;margin-top:10px;font-size:12px;color:#66515c}
.popup .telegram-field>span{display:block;margin-bottom:5px}
.popup .telegram-field small{font-size:inherit;color:#887b82}
.popup .telegram-field .qform__input{display:block;width:100%;height:44px;min-height:44px}
@media(max-width:600px){.popup .telegram-field{margin-top:14px;font-size:13px}.popup .telegram-field .qform__input{height:54px;font-size:16px}}

/* v6: two contact columns, full-width submit below. */
.popup .contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}
.popup .contact-fields label{display:flex;flex-direction:column;min-width:0;margin:0;font-size:12px;color:#66515c}
.popup .contact-fields label>span{display:block;margin:0 0 7px;min-height:18px}
.popup .contact-fields .qform__input{display:block;width:100%;height:49px;min-height:49px;flex:none}
.popup .contact-submit{display:flex;width:100%;min-height:49px;margin-top:12px;border-radius:7px;font-size:13px;justify-content:center;padding:12px 18px}
@media(max-width:600px){.popup .contact-fields{grid-template-columns:1fr;gap:14px;margin-top:15px}.popup .contact-fields label{font-size:13px}.popup .contact-fields .qform__input{height:54px;min-height:54px;font-size:16px}.popup .contact-submit{min-height:53px}}
