/* stefanpislaru.com - completari peste tema veche (main.css) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Butonul fix "Programeaza o intalnire" */
.sp-contact-fab {
    position: fixed; right: 110px; bottom: 28px; z-index: 50;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border: 0; border-radius: 0;
    background: #2d2d2d; color: #fff;
    font-family: Montserrat, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    cursor: pointer; transition: background .3s;
}
.sp-contact-fab:hover { background: #000; }
@media (max-width: 991px) { .sp-contact-fab { right: 16px; bottom: 16px; padding: 11px 14px; } }
@media (max-width: 480px) { .sp-contact-fab span { display: none; } }

/* Video */
.sp-video-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; padding: 20px; }
.sp-video-modal.open { display: flex; }
.sp-video-frame { width: min(1100px, 100%); aspect-ratio: 16/9; }
.sp-video-frame iframe, .sp-video-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.sp-video-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }

/* Meniul de limbi */
.sp-lang > ul { min-width: 160px; }
.sp-lang > a { cursor: pointer; }

/* Butonul CTA - pastram aspectul temei si pe <a href="#"> */
.extended-row .button { cursor: pointer; }
.sp-cta-text p { margin: 0 0 16px; }

/* Pagina proiectului */
.sp-project-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 44px; line-height: 1.1; margin: 0 0 -50px; color: #2d2d2d; }
@media (max-width: 767px) { .sp-project-title { font-size: 30px; margin-bottom: 0; } }
.sp-rich img { max-width: 100%; height: auto; }
.sp-rich p { margin-bottom: 14px; }
.sp-project-nav { padding: 60px 0 40px; }
.sp-nav-name { margin-top: 8px; font-family: Montserrat, sans-serif; font-weight: 700; color: #2d2d2d; }
.sp-step-no { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 36px; margin-top: 0; }

/* Paginile de text: blog, FAQ, termeni */
.sp-page-head { padding: 160px 0 30px; }
.sp-page-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 56px; line-height: 1.08; color: #2d2d2d; margin: 10px 0 18px; }
.sp-page-lead { font-size: 18px; color: #777; max-width: 680px; }
@media (max-width: 767px) { .sp-page-head { padding: 110px 15px 20px; } .sp-page-title { font-size: 34px; } }
.sp-meta { color: #999; font-size: 13px; letter-spacing: .05em; }
.sp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; margin: 20px 0 60px; }
.sp-post-card h2 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; margin: 8px 0 12px; }
.sp-post-card h2 a { color: #2d2d2d; text-decoration: none; }
.sp-post-card p { color: #666; }
.sp-pagination { display: flex; gap: 20px; align-items: center; margin-bottom: 60px; font-family: Montserrat, sans-serif; font-weight: 700; }
.sp-pagination a { color: #2d2d2d; }
.sp-more { padding-bottom: 60px; }
.sp-faq { margin: 10px 0 80px; }
.sp-faq-item { border-bottom: 1px solid #e6e6e6; padding: 22px 0; }
.sp-faq-item summary { cursor: pointer; list-style: none; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; color: #2d2d2d; position: relative; padding-right: 30px; }
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 24px; font-weight: 400; }
.sp-faq-item[open] summary::after { content: '–'; }
.sp-faq-item .sp-rich { margin-top: 14px; color: #555; }
.sp-rich h3 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 20px; margin: 28px 0 10px; color: #2d2d2d; }

/* Ferestrele site-ului nou peste tema veche */
#contactModal, .lang-modal, .app-dialog { z-index: 10001; }
#contactModal .modal-card { text-align: left; }
#contactModal .form-input, #contactModal .form-select { height: auto; }
.cookie-banner .container:before, .cookie-banner .container:after { display: none !important; content: none !important; }
.cookie-banner .container { max-width: 1170px; margin: 0 auto; padding: 0 24px; }
#cookieBanner button, #contactModal button, #chatw button, .app-dialog button { letter-spacing: normal; text-transform: none; line-height: 1.3; font-family: inherit; }
#cookieBanner h2, #contactModal h3 { font-family: Montserrat, sans-serif; }
@media (max-width: 767px) { .cookie-banner .container { padding: 0 16px; } }
:root { --apple-blue: #2d2d2d; --apple-blue-hover: #000; }
html body.sp-site .chatw-fab { width: auto; min-width: 0; height: auto; }
@media (max-width: 991px) { html body.sp-site .chatw { bottom: 62px; } }
