/* ============ День матери, 29.11.2026: окно-открытка с сердцем ============ */
dialog.gf-mom{--mom-rose:#c97a63;width:min(880px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:28px;background:#f6eee3;color:#132a45;overflow:hidden;box-shadow:none}
dialog.gf-mom[open]{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);animation:gf-mom-in .7s cubic-bezier(.16,1,.3,1)}
@keyframes gf-mom-in{from{opacity:0;transform:translateY(24px) scale(.97)}}
dialog.gf-mom::backdrop{background:rgba(19,42,69,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.gf-mom-close{position:absolute;z-index:3;top:14px;right:14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#132a45;font-size:26px;line-height:1;cursor:pointer}
.gf-mom-photo{position:relative;padding:40px 28px 40px 40px;display:grid;place-items:center}
.gf-mom-polaroid{margin:0;padding:12px 12px 0;background:#fff;border-radius:6px;transform:rotate(-3deg)}
dialog.gf-mom[open] .gf-mom-polaroid{animation:gf-mom-tilt .9s .1s cubic-bezier(.16,1,.3,1) both}
@keyframes gf-mom-tilt{from{transform:rotate(-9deg) translateY(16px);opacity:0}}
.gf-mom-polaroid img{display:block;width:100%;aspect-ratio:4/3.4;object-fit:cover;object-position:60% 40%;border-radius:3px}
.gf-mom-polaroid figcaption{padding:10px 4px 14px;font-family:Vetrino,Georgia,serif;font-size:26px;line-height:1.1;text-align:center;color:#132a45}
/* сердце рисуется одной линией, потом тихо бьётся; от него поднимаются маленькие сердечки */
.gf-mom-love{position:absolute;top:10px;right:6px;width:120px;height:110px;transform:rotate(8deg);pointer-events:none}
.gf-mom-heart{width:100%;height:100%;overflow:visible}
.gf-mom-heart path{fill:rgba(201,122,99,0);stroke:var(--mom-rose);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
dialog.gf-mom[open] .gf-mom-heart path{animation:gf-mom-draw 1.8s .6s cubic-bezier(.65,0,.35,1) forwards,gf-mom-fill .8s 2.3s ease forwards}
dialog.gf-mom[open] .gf-mom-heart{transform-origin:50% 60%;animation:gf-mom-beat 2.6s 2.6s ease-in-out infinite}
@keyframes gf-mom-draw{to{stroke-dashoffset:0}}
@keyframes gf-mom-fill{to{fill:rgba(201,122,99,.16)}}
@keyframes gf-mom-beat{0%,40%,100%{transform:scale(1)}10%{transform:scale(1.1)}22%{transform:scale(1.04)}30%{transform:scale(1.09)}}
.gf-mom-float{position:absolute;left:50%;top:40%}
.gf-mom-mini{position:absolute;left:0;top:0;width:14px;height:13px;color:var(--mom-rose);animation:gf-mom-rise 2.8s ease-out forwards}
.gf-mom-mini svg{display:block;width:100%;height:100%;fill:currentColor}
@keyframes gf-mom-rise{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:.9}100%{opacity:0;transform:translate(var(--dx),-120px) scale(1)}}
.gf-mom-body{padding:56px 44px 40px 16px;display:flex;flex-direction:column;justify-content:center}
.gf-mom-kicker{margin:0 0 6px;font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:var(--mom-rose)}
.gf-mom-title{outline:none;margin:0 0 14px;font-family:Vetrino,Georgia,serif;font-weight:400;font-size:clamp(40px,4.6vw,58px);line-height:1;color:#132a45}
.gf-mom-text{margin:0 0 18px;font-size:19px;line-height:1.45;color:#40566d}
.gf-mom-facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.gf-mom-facts li{padding:7px 14px;border-radius:99px;background:#fff;font-size:15px;color:#132a45}
.gf-mom-cta{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:99px;background:#132a45;color:#fff!important;font-size:17px;font-weight:700;text-decoration:none;transition:background .25s}
.gf-mom-cta:hover{background:#05517d}
.gf-mom-left{margin:14px 0 0;font-size:15px;color:#7d8fa1}
.gf-mom-pill{position:fixed;z-index:60;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border:0;border-radius:99px;background:#f6eee3;color:#132a45;font:inherit;font-size:15px;cursor:pointer;outline:1px solid rgba(201,122,99,.35)}
.gf-mom-pill[hidden]{display:none}
.gf-mom-pill-heart{width:18px;height:17px;fill:#c97a63;animation:gf-mom-beat 2.6s ease-in-out infinite}
@media (max-width:720px){
 dialog.gf-mom[open]{grid-template-columns:1fr}
 .gf-mom-photo{padding:24px 44px 4px 28px}
 .gf-mom-polaroid{padding:8px 8px 0;width:min(250px,100%)}
 .gf-mom-polaroid img{aspect-ratio:4/3}
 .gf-mom-polaroid figcaption{padding:6px 2px 8px 6px;font-size:20px;text-align:left}
 .gf-mom-love{top:auto;bottom:-6px;right:14px;width:84px;height:77px}
 .gf-mom-body{padding:14px 22px 24px}
 .gf-mom-kicker{font-size:13px}
 .gf-mom-title{font-size:38px;margin-bottom:8px}
 .gf-mom-text{font-size:17px;margin-bottom:12px}
 .gf-mom-facts{margin-bottom:16px}
 .gf-mom-facts li{font-size:14px;padding:6px 12px}
 .gf-mom-cta{min-height:50px;padding:0 22px;font-size:16px}
 .gf-mom-left{margin-top:10px}
}
@media (prefers-reduced-motion:reduce){
 dialog.gf-mom[open],dialog.gf-mom[open] .gf-mom-polaroid,dialog.gf-mom[open] .gf-mom-heart,.gf-mom-pill-heart{animation:none}
 dialog.gf-mom[open] .gf-mom-heart path{animation:none;stroke-dashoffset:0;fill:rgba(201,122,99,.16)}
 .gf-mom-mini{display:none}
}
