/* Shared Telegram CTA. Does not change destinations or analytics handlers. */
a.button[href^="https://t.me/"],
a.button[href^="https://telegram.me/"] {
 position:relative; isolation:isolate; gap:12px; max-width:100%;
 background:linear-gradient(120deg,#d5ff43 0%,#baff35 100%);
 color:#172320; border:1px solid #acd327; border-radius:16px;
 padding:18px 25px; min-height:62px; font-weight:800; line-height:1.35;
 box-shadow:0 7px 20px #97bc2430;
 animation:seomax-telegram-glow 3s ease-in-out infinite;
 transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
a.button[href^="https://t.me/"]::before,
a.button[href^="https://telegram.me/"]::before {
 content:""; display:block; flex:0 0 30px; width:30px; height:30px;
 background:#172320;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 3.5 18.7 20c-.2 1.2-.9 1.5-1.9.9l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.3L6.2 13.7 1.4 12.2c-1.1-.4-1.1-1.1.2-1.6L20.4 3.3c.9-.3 1.7.2 1.5.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 3.5 18.7 20c-.2 1.2-.9 1.5-1.9.9l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.3L6.2 13.7 1.4 12.2c-1.1-.4-1.1-1.1.2-1.6L20.4 3.3c.9-.3 1.7.2 1.5.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
a.button[href^="https://t.me/"]:hover,
a.button[href^="https://telegram.me/"]:hover {
 background:#dcff70; transform:translateY(-3px); animation:none;
 box-shadow:0 10px 25px #89ad3445;
}
a.button[href^="https://t.me/"]:active,
a.button[href^="https://telegram.me/"]:active {transform:translateY(0) scale(.98)}
a.button[href^="https://t.me/"]:focus-visible {outline:3px solid #1764dc;outline-offset:5px;animation:none}
@keyframes seomax-telegram-glow {
 0%,100% {box-shadow:0 7px 20px #97bc2430,0 0 0 0 #bbeb4840}
 50% {box-shadow:0 9px 26px #97bc2450,0 0 0 8px #bbeb4800}
}
@media(max-width:620px){
 a.button[href^="https://t.me/"],a.button[href^="https://telegram.me/"]{padding:16px 19px;font-size:15px;gap:10px;min-height:58px}
 .actions a.button[href^="https://t.me/"],.bottom-contact a.button[href^="https://t.me/"]{width:100%}
}
@media(prefers-reduced-motion:reduce){
 a.button[href^="https://t.me/"],a.button[href^="https://telegram.me/"]{animation:none;transition:none}
 a.button[href^="https://t.me/"]:hover,a.button[href^="https://t.me/"]:active{transform:none}
}
/* Keep the final contact actions aligned with the centered message card. */
#discuss > .actions {justify-content:center;max-width:760px;margin:30px auto 0}
@media(max-width:620px){#discuss > .actions{flex-direction:column;align-items:center;text-align:center}}

/* A stronger invitation on the final step only. */
#discuss > .actions a.button[href^="https://t.me/"],
#discuss > .actions a.button[href^="https://telegram.me/"] {
 animation:seomax-final-telegram-pulse 2.6s ease-in-out infinite;
 transform-origin:center;
}
@keyframes seomax-final-telegram-pulse {
 0%,100% {transform:scale(1);box-shadow:0 7px 20px #97bc2440,0 0 0 0 #baff3570}
 40% {transform:scale(1.035);box-shadow:0 10px 30px #97bc2470,0 0 0 12px #baff3500}
 65% {transform:scale(1);box-shadow:0 7px 20px #97bc2440,0 0 0 17px #baff3500}
}
#discuss > .actions a.button:hover,
#discuss > .actions a.button:focus-visible {animation:none;transform:translateY(-3px)}
#discuss > .actions a.button:active {animation:none;transform:scale(.98)}
@media(prefers-reduced-motion:reduce){
 #discuss > .actions a.button[href^="https://t.me/"],
 #discuss > .actions a.button[href^="https://telegram.me/"]{animation:none;transform:none}
}

/* Secondary footer contact: quiet alternative to the final-step CTA. */
.bottom-contact a.button[href^="https://t.me/"],
.bottom-contact a.button[href^="https://telegram.me/"] {
 background:#f4f6f2;
 color:#172320;
 border:1px solid #aab6ae;
 box-shadow:none;
 animation:none;
 font-weight:650;
}
.bottom-contact a.button[href^="https://t.me/"]:hover,
.bottom-contact a.button[href^="https://telegram.me/"]:hover {
 background:#e8efdf;
 border-color:#708268;
 box-shadow:none;
 transform:translateY(-2px);
}
@media(prefers-reduced-motion:reduce){
 .bottom-contact a.button[href^="https://t.me/"]:hover,
 .bottom-contact a.button[href^="https://telegram.me/"]:hover{transform:none}
}
