/* =========================================================
   SCORPION - CUSTOM.CSS
   Joomla 6 + Helix Ultimate
   Curatat si consolidat
========================================================= */

/* =========================================================
   1. HEADER + TOP BAR
========================================================= */

#sp-header,
#sp-top-bar {
    background: #1a3867 !important;
}

#sp-top-bar {
    padding: 5px 0 !important;
    min-height: auto !important;
}

#sp-top-bar .row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

#sp-top1,
#sp-top2 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#sp-top2 {
    order: 1 !important;
    margin-left: auto !important;
}

#sp-top1 {
    order: 2 !important;
    margin-left: 20px !important;
}

#sp-top1 .sp-column,
#sp-top2 .sp-column {
    display: flex !important;
    align-items: center !important;
}

#sp-top-bar .contact-info,
#sp-top-bar .sp-contact-info {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

#sp-top-bar .sp-contact-info li {
    margin-right: 13px !important;
}

#sp-top-bar .social-icons,
#sp-top-bar .sp-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sp-top-bar,
#sp-top-bar a,
#sp-top-bar span,
#sp-top-bar i {
    color: #ffffff !important;
}

#sp-top-bar a:hover {
    color: #fcff18 !important;
}


/* =========================================================
   2. LOGO
========================================================= */

#sp-header #sp-logo a.logo img,
#sp-header #sp-logo img {
    height: 95px !important;
    max-height: 95px !important;
    width: auto !important;
}

#sp-header,
#sp-header .container,
#sp-header .container-inner,
#sp-header .row {
    min-height: 105px !important;
}

#sp-logo .sp-column {
    display: flex !important;
    align-items: center !important;
}


/* =========================================================
   3. MENIU
========================================================= */

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    color: #ffffff !important;
}

#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.active > span,
#sp-header .sp-megamenu-parent > li.current-item > a {
    color: #fcff18 !important;
}

#sp-header .sp-megamenu-parent > li > a:hover,
#sp-header .sp-megamenu-parent > li > span:hover {
    color: #fcff18 !important;
}

#sp-header .sp-dropdown li > a {
    color: #1a3867 !important;
}

#sp-header .sp-dropdown li.active > a,
#sp-header .sp-dropdown li > a:hover {
    color: #fcff18 !important;
}


/* =========================================================
   4. SLIDER SCORPION
========================================================= */

#scorpionSlider {
    position: relative !important;
    width: 100% !important;
    height: calc(100vh - 140px) !important;
    min-height: 550px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

#scorpionSlider .carousel-inner,
#scorpionSlider .carousel-item {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

#scorpionSlider .carousel-item > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#scorpionSlider .scorpion-dark {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.28) 0%,
        rgba(0,0,0,.08) 60%,
        rgba(0,0,0,0) 100%
    ) !important;
}

#scorpionSlider .scorpion-caption {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    z-index: 5 !important;
}

#scorpionSlider .scorpion-caption-inner {
    position: relative !important;
    width: auto !important;
    max-width: 720px !important;
    margin-left: 6% !important;
    padding: 28px 34px !important;
    background: rgba(0,0,0,.50) !important;
    border-left: 5px solid #fcff18 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 6 !important;
}

#scorpionSlider .scorpion-small {
    color: #fcff18 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

#scorpionSlider .scorpion-caption h2 {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font-size: clamp(46px, 5vw, 74px) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    text-transform: uppercase !important;
    text-shadow: 0 3px 7px rgba(0,0,0,.45);
}

#scorpionSlider .scorpion-caption h2 span {
    color: #fcff18 !important;
}

#scorpionSlider .scorpion-caption p {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(17px, 1.4vw, 21px) !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 5px rgba(0,0,0,.5);
}

#scorpionSlider .carousel-item.active .scorpion-caption-inner {
    animation: scorpionText .6s ease-out;
}

@keyframes scorpionText {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#scorpionSlider .carousel-control-prev,
#scorpionSlider .carousel-control-next {
    z-index: 10 !important;
    width: 7% !important;
}

#scorpionSlider .carousel-indicators {
    z-index: 10 !important;
    bottom: 20px !important;
}

#scorpionSlider .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    flex: 0 0 12px !important;
    padding: 0 !important;
    margin: 0 6px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    opacity: .7 !important;
    box-sizing: border-box !important;
}

#scorpionSlider .carousel-indicators button.active {
    background: #fcff18 !important;
    opacity: 1 !important;
}


/* =========================================================
   5. CATEGORII AUTO
========================================================= */

.scorpion-categories {
    width: 100%;
    padding: 55px 20px 70px;
    background: #f7f7f7;
}

.scorpion-categories-header {
    text-align: center;
    margin-bottom: 20px;
}

.scorpion-categories-header h2 {
    margin: 0;
    color: #1a3867;
    font-size: 34px;
    font-weight: 500;
    text-transform: uppercase;
}

.scorpion-categories-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 38px;
}

.scorpion-filter {
    position: relative;
    padding: 8px 4px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1a3867;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.scorpion-filter::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #1a3867;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.scorpion-filter:hover::after,
.scorpion-filter.active::after {
    transform: scaleX(1);
}

.scorpion-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.scorpion-card {
    position: relative;
    display: block;
    width: 100%;
    background: #ffffff;
    border: 2px solid #1a3867;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.scorpion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(26,56,103,.18);
}

.scorpion-card > img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    transition: transform .35s ease;
}

.scorpion-card:hover > img {
    transform: scale(1.035);
}

.scorpion-card-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,56,103,.86);
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
    opacity: 0;
    transition: opacity .28s ease;
}

.scorpion-card:hover .scorpion-card-hover,
.scorpion-card:focus .scorpion-card-hover {
    opacity: 1;
    color: #fcff18 !important;
}

.scorpion-card.scorpion-hidden {
    display: none !important;
}

.scorpion-card:not(.scorpion-hidden) {
    animation: scorpionCardIn .25s ease;
}

@keyframes scorpionCardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   6. VIDEO SCORPION
========================================================= */

#sp-video,
#sp-video > .sp-column,
#sp-video .sp-module,
#sp-video .sp-module-content,
#sp-video .mod-custom {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#scorpionVideoSection {
    position: relative !important;
    width: 100% !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-image: url("../../../images/bg-2.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    overflow: hidden !important;
}

#scorpionVideoSection .sc-video-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(26,56,103,.68) !important;
    z-index: 1 !important;
}

#scorpionVideoSection .sc-video-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 80px 20px !important;
    text-align: center !important;
}

#scorpionVideoSection .sc-video-small {
    color: #fcff18 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}

#scorpionVideoSection h2 {
    margin: 12px 0 15px !important;
    color: #fff !important;
    font-size: 46px !important;
    font-weight: 700 !important;
}

#scorpionVideoSection p {
    margin: 0 0 30px !important;
    color: #fff !important;
    font-size: 19px !important;
}

#scVideoPlay {
    width: 90px !important;
    height: 90px !important;
    padding: 0 !important;
    border: 3px solid #fcff18 !important;
    border-radius: 50% !important;
    background: rgba(26,56,103,.6) !important;
    color: #fcff18 !important;
    font-size: 34px !important;
    cursor: pointer !important;
}

#scVideoPlay:hover {
    background: #fcff18 !important;
    color: #1a3867 !important;
}

.sc-video-label {
    margin-top: 12px !important;
    color: #fff !important;
    font-weight: 700 !important;
}

#scVideoModal {
    position: fixed !important;
    inset: 0 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,.92) !important;
    z-index: 999999 !important;
}

#scVideoModal.sc-video-open {
    display: flex !important;
}

#scVideoModal .sc-video-player {
    width: 90% !important;
    max-width: 1100px !important;
}

#scVideoModal video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    background: #000 !important;
}

#scVideoClose {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 48px !important;
    cursor: pointer !important;
}

#scVideoClose:hover {
    color: #fcff18 !important;
}


/* =========================================================
   7. INFO - HARTA + FAQ
========================================================= */

#sp-info,
#sp-info .sp-column,
#sp-info .sp-module,
#sp-info .sp-module-content,
#sp-info .mod-custom {
    width: 100% !important;
    max-width: none !important;
}

.scorpion-info-section {
    display: block !important;
    width: 100% !important;
    padding: 60px 20px 70px !important;
    background: #f7f7f7 !important;
}

.scorpion-info-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.scorpion-map-column,
.scorpion-faq-column {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.scorpion-map-column > h2,
.scorpion-faq-column > h2 {
    display: block !important;
    margin: 0 0 18px !important;
    color: #1a3867 !important;
    font-size: 32px !important;
    font-weight: 500 !important;
}

.scorpion-map-box {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.scorpion-map-box h3 {
    margin: 0 !important;
    padding: 15px 18px !important;
    color: #1a3867 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.scorpion-map-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

.scorpion-map-details {
    display: block !important;
    padding: 12px 16px !important;
    color: #1a3867 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    border-top: 1px solid #e5e5e5 !important;
    transition: background .2s ease, color .2s ease;
}

.scorpion-map-details:hover {
    background: #1a3867 !important;
    color: #fcff18 !important;
}

.scorpion-faq {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.scorpion-faq-item {
    display: block !important;
    width: 100% !important;
}

/*.scorpion-faq-item + .scorpion-faq-item {
    border-top: 1px solid #e1e1e1 !important;
}*/
.scorpion-faq-item + .scorpion-faq-item {
    border-top: 3px solid #ffffff !important;
}

/*.scorpion-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 55px !important;
    gap: 20px !important;
    padding: 13px 16px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #1a3867 !important;
    text-align: left !important;
    cursor: pointer !important;
}*/
.scorpion-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 55px !important;

    gap: 20px !important;

    padding: 14px 18px !important;

    border: 0 !important;

    background: #1a3867 !important;

    color: #fcff18 !important;

    text-align: left !important;

    cursor: pointer !important;

    transition:
        background .2s ease,
        color .2s ease !important;
}

.scorpion-faq-question:hover {
    background: #163159 !important;
    color: #ffffff !important;
}

.scorpion-faq-question:hover {
    background: #f7f7f7 !important;
    color: #1a3867 !important;
}

/*.scorpion-faq-question .scorpion-faq-text {
    display: block !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1a3867 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    transform: none !important;
}
*/
.scorpion-faq-question .scorpion-faq-text {
    display: block !important;

    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;

    letter-spacing: 0 !important;

    transform: none !important;
}
.scorpion-faq-item.active .scorpion-faq-question .scorpion-faq-text {
    transform: none !important;
}

/*.scorpion-faq-question .scorpion-faq-icon {
    display: block !important;
    flex: 0 0 25px !important;
    margin: 0 0 0 15px !important;
    padding: 0 !important;
    color: #777777 !important;
    font-size: 25px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: rotate(0deg) !important;
    transition: transform .2s ease !important;
}*/

.scorpion-faq-question .scorpion-faq-icon {
    display: block !important;

    flex: 0 0 25px !important;

    margin-left: 15px !important;

    color: inherit !important;

    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    text-align: center !important;

    transform: rotate(0deg) !important;

    transition: transform .2s ease !important;
}

.scorpion-faq-item.active
.scorpion-faq-question
.scorpion-faq-icon {
    transform: rotate(45deg) !important;
}

.scorpion-faq-item.active .scorpion-faq-question .scorpion-faq-icon {
    transform: rotate(45deg) !important;
}

.scorpion-faq-answer {
    display: none !important;
    padding: 0 16px 17px !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    transform: none !important;
}

.scorpion-faq-item.active .scorpion-faq-answer {
    display: block !important;
}

.scorpion-faq-answer p {
    margin: 8px 0 0 !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    transform: none !important;
}


/* =========================================================
   8. ATESTATE PROFESIONALE
========================================================= */

.sc-atestate {
    width: 100%;
    max-width: 1200px;
    margin: 35px auto 60px;
    padding: 0 15px;
}

.sc-atestate-intro {
    margin-bottom: 25px;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
}

.sc-atestate-accordion {
    width: 100%;
    border: 1px solid #e1e1e1;
}

.sc-atestat-item + .sc-atestat-item {
    border-top: 1px solid #e1e1e1;
}

/*.sc-atestat-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 14px 18px;
    background: #f4f4f4;
    color: #1a3867;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sc-atestat-question:hover {
    background: #1a3867;
    color: #fcff18;
}*/

.sc-atestate-top-image {
    width: 100%;
    margin: 0 0 25px;
    text-align: center;
}

.sc-atestate-top-image img {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

@media (max-width: 480px) {
    .sc-atestate-top-image img {
        width: 180px;
    }
}


.sc-atestat-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 14px 18px;
    background: #f4f4f4;
    color: #1a3867;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sc-atestat-question:hover {
    background: #1a3867;
    color: #fcff18;
}

.sc-atestat-item.active .sc-atestat-question {
    background: #1a3867;
    color: #fcff18;
}

.sc-atestat-icon {
    flex: 0 0 auto;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: transform .2s ease;
}

.sc-atestat-item.active .sc-atestat-icon {
    transform: rotate(45deg);
}

.sc-atestat-answer {
    display: none;
    padding: 22px 25px;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.sc-atestat-item.active .sc-atestat-answer {
    display: block;
}

.sc-atestat-answer p {
    margin: 0 0 15px;
}

.sc-atestat-answer h4 {
    margin: 20px 0 10px;
    color: #1a3867;
    font-size: 17px;
    font-weight: 700;
}

.sc-atestat-answer ul {
    margin: 10px 0 0;
    padding-left: 22px;
}

.sc-atestat-answer li {
    margin-bottom: 5px;
}


/* =========================================================
   9. FOOTER
========================================================= */

#sp-footer {
    background: #1a3867 !important;
    color: #ffffff !important;
}

#sp-footer .container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#sp-footer .scorpion-footer {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 35px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 45px 20px 50px !important;
}

#sp-footer .scorpion-footer-col h3 {
    margin: 0 0 18px !important;
    color: #fcff18 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

#sp-footer .scorpion-footer-col p {
    margin: 0 0 10px !important;
    color: #cccccc !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

#sp-footer .scorpion-footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sp-footer .scorpion-footer-col ul li {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 16px !important;
}

#sp-footer .scorpion-footer-col a {
    color: #ffffff !important;
    text-decoration: none !important;
}

#sp-footer .scorpion-footer-col a:hover {
    color: #fcff18 !important;
}

.scorpion-anpc {
    margin-top: 12px;
}

.scorpion-anpc a {
    display: block;
    margin-bottom: 8px;
}

.scorpion-anpc img {
    display: block;
    width: 195px;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 12px;
}

.scorpion-copyright {
    margin: 20px 0 0;
    padding: 13px 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: #cccccc;
    text-align: center;
    font-size: 13px;
}

#sp-footer .copyright,
#sp-footer .sp-copyright,
#sp-footer .copyright-text {
    display: none !important;
}


/* =========================================================
   10. RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .scorpion-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #scorpionSlider {
        height: 650px !important;
        min-height: 0 !important;
    }

    #sp-footer .scorpion-footer {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .scorpion-info-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 800px) {
    .scorpion-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #sp-top-bar .row {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    #sp-top1,
    #sp-top2 {
        width: 100% !important;
        margin: 3px 0 !important;
    }

    #sp-top1 .sp-column,
    #sp-top2 .sp-column {
        justify-content: center !important;
    }

    #sp-top-bar .sp-contact-info {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    #sp-header #sp-logo a.logo img,
    #sp-header #sp-logo img {
        height: 75px !important;
        max-height: 75px !important;
    }

    #scorpionSlider {
        height: 520px !important;
        min-height: 0 !important;
    }

    #scorpionSlider .scorpion-caption {
        align-items: flex-end !important;
    }

    #scorpionSlider .scorpion-caption-inner {
        width: calc(100% - 30px) !important;
        max-width: none !important;
        margin: 0 15px 65px !important;
        padding: 20px 22px !important;
    }

    #scorpionSlider .scorpion-small {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }

    #scorpionSlider .scorpion-caption h2 {
        font-size: 34px !important;
    }

    #scorpionSlider .scorpion-caption p {
        font-size: 15px !important;
    }

    #scorpionVideoSection {
        min-height: 420px !important;
        background-attachment: scroll !important;
    }

    #scorpionVideoSection .sc-video-content {
        padding: 55px 20px !important;
    }

    #scorpionVideoSection h2 {
        font-size: 32px !important;
    }

    #scorpionVideoSection p {
        font-size: 16px !important;
    }

    #scVideoPlay {
        width: 72px !important;
        height: 72px !important;
        font-size: 27px !important;
    }

    #scVideoModal {
        padding: 15px !important;
    }

    #sp-footer .scorpion-footer {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 35px 20px 40px !important;
    }
}

@media (max-width: 600px) {
    .scorpion-info-section {
        padding: 40px 15px 50px !important;
    }

    .scorpion-map-column > h2,
    .scorpion-faq-column > h2 {
        font-size: 27px !important;
    }

    .scorpion-faq-question .scorpion-faq-text {
        font-size: 15px !important;
    }

    .sc-atestate {
        margin-top: 25px;
        padding: 0 10px;
    }

    .sc-atestat-question {
        padding: 13px 14px;
        font-size: 14px;
        line-height: 1.35;
    }

    .sc-atestat-answer {
        padding: 18px 15px;
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .scorpion-categories {
        padding: 40px 15px 50px;
    }

    .scorpion-categories-header h2 {
        font-size: 28px;
    }

    .scorpion-categories-filter {
        gap: 18px;
        flex-wrap: wrap;
        margin-bottom: 28px;
    }

    .scorpion-filter {
        font-size: 15px;
    }

    .scorpion-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}





.sc-atestat-warning {
    width: 100%;
    margin: 0 0 12px;
    padding: 2px 0 10px;

    text-align: center;

    color: #222;
    font-size: 15px;
    font-weight: 700;
}

.sc-atestat-image-large {
    display: block;

    width: 100%;
    max-width: 630px;
    height: auto;

    margin: 0 0 25px 0;

    border-radius: 0;
}

.sc-atestat-answer h4 {
    margin-top: 22px;
}








/* =========================================================
   CONTACT - 2 COLOANE
========================================================= */

.contact {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.8fr) !important;
    gap: 50px !important;
    align-items: start !important;
}

/* partea stanga */
.contact .contact-address,
.contact .contact-miscinfo,
.contact .contact-links {
    grid-column: 1 !important;
}

/* formularul */
.contact .contact-form {
    grid-column: 2 !important;
    grid-row: 1 / span 6 !important;
}

/* titluri */
.contact h1,
.contact h2,
.contact h3 {
    color: #1a3867 !important;
}


.contact h2
 {
    color: #1a3867 !important;
    display: none;
}

/* formular pe toata latimea coloanei */
.contact .contact-form input,
.contact .contact-form textarea,
.contact .contact-form select {
    width: 100% !important;
    max-width: 100% !important;
}

/* textarea */
.contact .contact-form textarea {
    min-height: 180px !important;
}

/* buton */
.contact .contact-form button,
.contact .contact-form .btn {
    background: #1a3867 !important;
    color: #fff !important;
    border: 0 !important;
}

.contact .contact-form button:hover,
.contact .contact-form .btn:hover {
    background: #fcff18 !important;
    color: #1a3867 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .contact {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact .contact-address,
    .contact .contact-miscinfo,
    .contact .contact-links,
    .contact .contact-form {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

}





.contact-form h2,
.contact-form h3,
.contact-form .contact-form-title {
    display: none !important;
}






.sc-atestat-link {
    text-decoration: none !important;
}

.sc-atestat-link:hover {
    text-decoration: none !important;
}

.sc-atestat-link .sc-atestat-icon {
    transform: none !important;
}






/* =========================================================
   LEGISLATIE - ARTICOL CU PAGINARE
========================================================= */

.sc-law-page {
    width: 100%;
    max-width: 1250px;
    margin: 30px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.sc-law-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 45px !important;
    align-items: start !important;
}


/* COLOANA CU TEXT */

.sc-law-content {
    min-width: 0;
}


/* IMPORTANT - toate paginile ascunse */

.sc-law-section {
    display: none !important;
}


/* doar pagina activa */

.sc-law-section.active {
    display: block !important;
}


.sc-law-page-number {
    margin: 0 0 18px;
    color: #1a3867;
    font-size: 14px;
    font-weight: 700;
}


.sc-law-section h3 {
    margin: 0 0 25px;
    color: #1a3867;
    font-size: 28px;
    font-weight: 500;
}


.sc-law-section p {
    margin: 0 0 14px;
    color: #222;
    font-size: 15px;
    line-height: 1.6;
}


.sc-law-section ul {
    margin: 10px 0 20px;
    padding-left: 25px;
}


.sc-law-section li {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.55;
}


/* =========================================================
   INDEX DREAPTA
========================================================= */

.sc-law-index {
    position: sticky !important;
    top: 130px !important;

    display: block !important;

    width: 100% !important;

    padding: 18px 12px !important;

    background: #ffffff !important;

    border: 1px solid #e1e1e1 !important;
    border-radius: 6px !important;

    box-sizing: border-box !important;
}


.sc-law-index h3 {
    margin: 0 0 15px !important;
    padding: 0 8px !important;

    color: #1a3867 !important;

    font-size: 21px !important;
    font-weight: 500 !important;
}


/* fiecare buton din index */

.sc-law-index-item {
    display: block !important;

    width: 100% !important;

    margin: 0 0 5px !important;
    padding: 10px 12px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: #f1f1f1 !important;

    color: #777 !important;

    text-align: left !important;

    font-size: 14px !important;
    line-height: 1.35 !important;

    cursor: pointer !important;

    transition:
        background .2s ease,
        color .2s ease !important;
}


.sc-law-index-item:hover {
    background: #e5ebf3 !important;
    color: #1a3867 !important;
}


/* pagina selectata */

.sc-law-index-item.active {
    background: #1a3867 !important;
    color: #fcff18 !important;
}


/* =========================================================
   BUTOANE INAPOI / MAI DEPARTE
========================================================= */

.sc-law-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    gap: 15px !important;

    margin-top: 40px !important;
}


.sc-law-navigation button {
    padding: 10px 18px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: #1a3867 !important;

    color: #ffffff !important;

    font-size: 14px !important;

    cursor: pointer !important;
}


.sc-law-navigation button:hover:not(:disabled) {
    background: #fcff18 !important;
    color: #1a3867 !important;
}


.sc-law-navigation button:disabled {
    opacity: .35 !important;
    cursor: default !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .sc-law-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .sc-law-index {
        position: static !important;
        order: -1 !important;
    }

}


@media (max-width: 600px) {

    .sc-law-page {
        padding: 0 10px;
    }

    .sc-law-section h3 {
        font-size: 22px;
    }

    .sc-law-section p,
    .sc-law-section li {
        font-size: 14px;
    }

}





/* =========================================================
   NOUL COD RUTIER - LISTE IERARHICE
========================================================= */

.sc-law-offence-group {
    margin: 0 0 24px;
}

.sc-law-group-title {
    margin: 0 0 10px;
    padding: 0;
    font-weight: 400;
    line-height: 1.6;
}

.sc-law-sublist {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 28px !important;
}

.sc-law-sublist li {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.55 !important;
}

.sc-law-penalty-group {
    margin: 0 0 24px;
}

.sc-law-penalty-title {
    margin: 0 0 10px;
    padding: 0;
    font-weight: 600;
    line-height: 1.6;
}

.sc-law-penalty-list {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 28px !important;
}

.sc-law-penalty-list li {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.55 !important;
}









/* =========================================================
   PAGINI CATEGORII PERMIS
========================================================= */

.sc-category-page {
    width: 100%;
    max-width: 1200px;
    margin: 35px auto 60px;
    padding: 0 20px;
}


/* INTRO */

.sc-category-intro {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 35px;
    align-items: start;
    margin-bottom: 35px;
}


/* imagine */

.sc-category-image img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;

    border: 2px solid #1a3867;
    border-radius: 7px;
}


/* titlu */

.sc-category-intro-content h2 {
    margin: 5px 0 10px;

    color: #1a3867;

    font-size: 34px;
    font-weight: 700;
}


/* LINKURI */

.sc-category-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 7px;

    margin-bottom: 18px;
}

.sc-category-links a,
.sc-category-inline-link {
    color: #0645ff !important;

    font-weight: 700;

    text-decoration: none !important;
}

.sc-category-links a:hover,
.sc-category-inline-link:hover {
    color: #1a3867 !important;
    text-decoration: underline !important;
}


/* descriere */

.sc-category-description {
    margin: 0;

    color: #333;

    font-size: 16px;
    line-height: 1.6;
}


/* CONTINUT */

.sc-category-content {
    color: #222;

    font-size: 16px;
    line-height: 1.65;
}

.sc-category-content h3 {
    margin: 35px 0 15px;
    padding: 10px 15px;

    background: #1a3867;

    color: #fcff18;

    font-size: 19px;
    font-weight: 600;

    border-radius: 4px;
}

.sc-category-content h4 {
    margin: 23px 0 8px;

    color: #1a3867;

    font-size: 16px;
    font-weight: 700;
}

.sc-category-content p {
    margin: 0 0 13px;
}

.sc-category-content ul {
    margin: 8px 0 20px;
    padding-left: 28px;
}

.sc-category-content ul li {
    margin-bottom: 7px;
}


/* PROGRAM */

.sc-category-program {
    max-width: 650px;

    margin: 12px 0 18px;
    padding: 15px 18px;

    background: #f5f5f5;

    border-left: 4px solid #1a3867;
    border-radius: 4px;
}

.sc-category-program > strong {
    display: block;

    margin-bottom: 10px;

    color: #1a3867;
}

.sc-category-program-row {
    display: grid;

    grid-template-columns: 160px 1fr;

    gap: 20px;

    margin-bottom: 5px;
}


/* lista a), b), c) */

.sc-category-alpha {
    list-style-type: lower-alpha;

    margin: 10px 0 20px;
    padding-left: 35px;
}

.sc-category-alpha li {
    margin-bottom: 11px;
}


/* RESPONSIVE */

@media (max-width: 767px) {

    .sc-category-page {
        margin-top: 20px;
        padding: 0 15px;
    }

    .sc-category-intro {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .sc-category-image {
        text-align: center;
    }

    .sc-category-image img {
        width: 220px;
        max-width: 100%;

        margin: 0 auto;
    }

    .sc-category-intro-content {
        text-align: center;
    }

    .sc-category-links {
        align-items: center;
    }

    .sc-category-intro-content h2 {
        font-size: 29px;
    }

    .sc-category-program-row {
        grid-template-columns: 1fr;

        gap: 2px;

        margin-bottom: 10px;
    }

}






.sc-category-title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin: 5px 0 0;
}

.sc-category-title-line h2 {
    margin: 0;
    color: #1a3867;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.sc-category-title-description {
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.sc-category-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;

    margin-top: 28px;
}

.sc-category-links a {
    color: #0645ff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
}

.sc-category-links a:hover {
    color: #1a3867 !important;
    text-decoration: underline !important;
}





/* =========================================================
   CATEGORIA A - INTRO
========================================================= */

.sc-category-intro {
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;

    width: 100% !important;

    margin: 0 0 35px !important;
}


/* IMAGINE STANGA */

.sc-category-image {
    width: 250px !important;
}

.sc-category-image img {
    display: block !important;

    width: 250px !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    border: 2px solid #1a3867 !important;
    border-radius: 7px !important;
}


/* COLOANA DREAPTA */

.sc-category-intro-content {
    min-width: 0 !important;
    padding-top: 8px !important;
}


/* TITLUL COMPLET */

.sc-category-intro-content h2 {
    margin: 0 !important;

    color: #1a3867 !important;

    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}


/* descrierea face parte vizual din acelasi H2 */

.sc-category-heading-description {
    color: #1a3867 !important;

    font-size: 22px !important;
    font-weight: 600 !important;
}


/* LINKURI MAI JOS */

.sc-category-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 8px !important;

    margin-top: 35px !important;
}

.sc-category-links a {
    color: #0645ff !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}

.sc-category-links a:hover {
    color: #1a3867 !important;
    text-decoration: underline !important;
}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 767px) {

    .sc-category-intro {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .sc-category-image {
        width: 100% !important;
        text-align: center !important;
    }

    .sc-category-image img {
        width: 220px !important;
        margin: 0 auto !important;
    }

    .sc-category-intro-content {
        padding-top: 0 !important;
        text-align: center !important;
    }

    .sc-category-intro-content h2 {
        font-size: 27px !important;
    }

    .sc-category-heading-description {
        font-size: 19px !important;
    }

    .sc-category-links {
        align-items: center !important;
        margin-top: 25px !important;
    }

}



/* =========================================================
   POPUP HOMEPAGE
========================================================= */

.sc-home-popup {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.60);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* inchidere cu fade */

.sc-home-popup.sc-home-popup-hidden {
    opacity: 0;
    visibility: hidden;
}


/* container imagine */

.sc-home-popup-box {
    position: relative;

    max-width: 90vw;
    max-height: 90vh;

    background: #fff;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 12px 40px rgba(0,0,0,0.40);
}


/* imagine */

.sc-home-popup-box img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 85vh;
}


/* buton X */

.sc-home-popup-close {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 10;

    width: 38px;
    height: 38px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.78);
    color: #fff;

    font-size: 27px;
    font-weight: 400;
    line-height: 35px;

    text-align: center;

    cursor: pointer;
}

.sc-home-popup-close:hover {
    background: #1a3867;
    color: #fcff18;
}


/* mobil */

@media (max-width: 600px) {

    .sc-home-popup {
        padding: 10px;
    }

    .sc-home-popup-box img {
        max-width: 94vw;
        max-height: 85vh;
    }

    .sc-home-popup-close {
        width: 34px;
        height: 34px;

        font-size: 24px;
        line-height: 31px;
    }

}


/* =========================================================
   ECHIPA SCOLII SCORPION
   4 COLOANE DESKTOP + IMAGINI EGALIZATE
========================================================= */

.sc-team-grid,
.scorpion-team-grid,
.echipa-grid,
.echipa-scorpion {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 25px auto 50px !important;
    padding: 0 !important;
    align-items: stretch !important;
}

.sc-team-card,
.scorpion-team-card,
.echipa-card {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid #1a3867 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.sc-team-card img,
.scorpion-team-card img,
.echipa-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    object-position: center top !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.sc-team-card:hover,
.scorpion-team-card:hover,
.echipa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(26,56,103,.18);
}

/* 3 coloane */
@media (max-width: 1100px) {
    .sc-team-grid,
    .scorpion-team-grid,
    .echipa-grid,
    .echipa-scorpion {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* 2 coloane */
@media (max-width: 800px) {
    .sc-team-grid,
    .scorpion-team-grid,
    .echipa-grid,
    .echipa-scorpion {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* 1 coloana */
@media (max-width: 520px) {
    .sc-team-grid,
    .scorpion-team-grid,
    .echipa-grid,
    .echipa-scorpion {
        grid-template-columns: 1fr !important;
        max-width: 360px !important;
    }
}








/* =========================================================
   ECHIPA SCOLII SCORPION
   4 COLOANE DESKTOP + IMAGINI EGALIZATE
========================================================= */

.sc-team-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;

    width: 100% !important;
    max-width: 1200px !important;

    margin: 25px auto 50px !important;
    padding: 0 !important;

    align-items: stretch !important;
}


/* fiecare card */

.sc-team-thumb {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 2px solid #1a3867 !important;
    border-radius: 5px !important;

    background: #ffffff !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}


/* toate imaginile aceeasi dimensiune */

.sc-team-thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    aspect-ratio: 3 / 4 !important;

    object-fit: cover !important;
    object-position: center top !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


/* hover */

.sc-team-thumb:hover {
    transform: translateY(-4px) !important;

    box-shadow: 0 10px 24px rgba(26,56,103,.20) !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* 3 coloane */

@media (max-width: 1050px) {

    .sc-team-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


/* 2 coloane */

@media (max-width: 760px) {

    .sc-team-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }

}


/* 1 coloana */

@media (max-width: 480px) {

    .sc-team-gallery {
        grid-template-columns: 1fr !important;

        max-width: 340px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

}



/* =========================================================
   LIGHTBOX ECHIPA SCOLII
========================================================= */

.sc-team-lightbox {
    position: fixed !important;
    inset: 0 !important;

    z-index: 999999 !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 30px !important;

    background: rgba(0,0,0,.88) !important;
}

.sc-team-lightbox.active,
.sc-team-lightbox.sc-team-lightbox-open {
    display: flex !important;
}


/* imagine mare */

.sc-team-lightbox img {
    display: block !important;

    max-width: 88vw !important;
    max-height: 88vh !important;

    width: auto !important;
    height: auto !important;

    object-fit: contain !important;

    border: 1px solid rgba(255,255,255,.25) !important;

    box-shadow: 0 10px 35px rgba(0,0,0,.45) !important;

    cursor: pointer !important;
}


/* X */

.sc-team-lightbox-close {
    position: fixed !important;

    top: 20px !important;
    right: 30px !important;

    z-index: 1000001 !important;

    width: 48px !important;
    height: 48px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(0,0,0,.65) !important;
    color: #ffffff !important;

    font-size: 42px !important;
    font-weight: 300 !important;
    line-height: 42px !important;

    cursor: pointer !important;
}

.sc-team-lightbox-close:hover {
    background: #1a3867 !important;
    color: #fcff18 !important;
}


/* SAGETI */

.sc-team-lightbox-prev,
.sc-team-lightbox-next {
    position: fixed !important;

    top: 50% !important;

    z-index: 1000001 !important;

    width: 58px !important;
    height: 70px !important;

    transform: translateY(-50%) !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 5px !important;

    background: rgba(0,0,0,.55) !important;
    color: #ffffff !important;

    font-size: 55px !important;
    font-weight: 300 !important;
    line-height: 60px !important;

    text-align: center !important;

    cursor: pointer !important;
}

.sc-team-lightbox-prev {
    left: 25px !important;
}

.sc-team-lightbox-next {
    right: 25px !important;
}

.sc-team-lightbox-prev:hover,
.sc-team-lightbox-next:hover {
    background: #1a3867 !important;
    color: #fcff18 !important;
}


/* mobil */

@media (max-width: 600px) {

    .sc-team-lightbox {
        padding: 15px !important;
    }

    .sc-team-lightbox img {
        max-width: 94vw !important;
        max-height: 82vh !important;
    }

    .sc-team-lightbox-close {
        top: 10px !important;
        right: 10px !important;

        width: 40px !important;
        height: 40px !important;

        font-size: 34px !important;
        line-height: 35px !important;
    }

    .sc-team-lightbox-prev,
    .sc-team-lightbox-next {
        width: 42px !important;
        height: 58px !important;

        font-size: 40px !important;
        line-height: 50px !important;
    }

    .sc-team-lightbox-prev {
        left: 5px !important;
    }

    .sc-team-lightbox-next {
        right: 5px !important;
    }

}




/* =========================================================
   LIGHTBOX ECHIPA - VARIANTA CORECTATA
========================================================= */

.sc-team-lightbox {
    position: fixed !important;
    inset: 0 !important;

    z-index: 999999 !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 25px 90px !important;

    background: rgba(0, 0, 0, 0.88) !important;
}


/* DESCHIS */

.sc-team-lightbox.sc-team-lightbox-open {
    display: flex !important;
}


/* IMAGINE */

#scTeamLightboxImage {
    position: relative !important;
    z-index: 1 !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: calc(100vw - 180px) !important;
    max-height: calc(100vh - 50px) !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    cursor: pointer !important;

    box-shadow: 0 10px 35px rgba(0,0,0,.5) !important;
}


/* =========================================================
   X
========================================================= */

.sc-team-lightbox-close {
    position: fixed !important;

    top: 18px !important;
    right: 25px !important;

    z-index: 1000005 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 0 5px 0 !important;

    border: 2px solid rgba(255,255,255,.8) !important;
    border-radius: 50% !important;

    background: rgba(26,56,103,.92) !important;
    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
}

.sc-team-lightbox-close:hover {
    background: #fcff18 !important;
    color: #1a3867 !important;
}


/* =========================================================
   SAGETI
========================================================= */

.sc-team-lightbox-prev,
.sc-team-lightbox-next {
    position: fixed !important;

    top: 50% !important;

    z-index: 1000005 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 55px !important;
    height: 75px !important;

    margin: 0 !important;
    padding: 0 0 8px 0 !important;

    transform: translateY(-50%) !important;

    border: 2px solid rgba(255,255,255,.7) !important;
    border-radius: 6px !important;

    background: rgba(26,56,103,.90) !important;
    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 52px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
}


/* STANGA */

.sc-team-lightbox-prev {
    left: 20px !important;
}


/* DREAPTA */

.sc-team-lightbox-next {
    right: 20px !important;
}


/* HOVER */

.sc-team-lightbox-prev:hover,
.sc-team-lightbox-next:hover {
    background: #fcff18 !important;
    color: #1a3867 !important;
}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 700px) {

    .sc-team-lightbox {
        padding: 15px 50px !important;
    }

    #scTeamLightboxImage {
        max-width: calc(100vw - 100px) !important;
        max-height: calc(100vh - 30px) !important;
    }

    .sc-team-lightbox-close {
        top: 8px !important;
        right: 8px !important;

        width: 40px !important;
        height: 40px !important;

        font-size: 31px !important;
    }

    .sc-team-lightbox-prev,
    .sc-team-lightbox-next {
        width: 40px !important;
        height: 60px !important;

        font-size: 38px !important;
    }

    .sc-team-lightbox-prev {
        left: 5px !important;
    }

    .sc-team-lightbox-next {
        right: 5px !important;
    }

}




/* =========================================================
   ECHIPA SCOLII SCORPION
   4 COLOANE - POZE COMPLETE SI EGALE
========================================================= */

.sc-team-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;

    width: 100% !important;
    max-width: 1200px !important;

    margin: 25px auto 50px !important;
    padding: 0 !important;

    align-items: stretch !important;
}


/* CARD */

.sc-team-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    /* toate cardurile aceeasi proportie */
    aspect-ratio: 3 / 4 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 2px solid #1a3867 !important;
    border-radius: 5px !important;

    background: #ffffff !important;

    box-sizing: border-box !important;

    text-decoration: none !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}


/* IMAGINEA - IMPORTANT: NU MAI TAIEM DIN EA */

.sc-team-thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    border: 0 !important;
}


/* HOVER */

.sc-team-thumb:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(26,56,103,.20) !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .sc-team-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 760px) {

    .sc-team-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }

}


@media (max-width: 480px) {

    .sc-team-gallery {
        grid-template-columns: 1fr !important;
        max-width: 340px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

}




/* =========================================================
   GDPR / COOKIE BANNER
========================================================= */

.sc-cookie-banner {
    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    z-index: 999998 !important;

    display: none;

    width: 100% !important;

    padding: 18px 20px !important;

    background: #e9e9e9 !important;

    border-top: 4px solid #1a3867 !important;

    box-shadow: 0 -5px 25px rgba(0,0,0,.18) !important;
}


.sc-cookie-banner.sc-cookie-visible {
    display: block !important;
}


.sc-cookie-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 30px !important;

    width: 100% !important;
    max-width: 1200px !important;

    margin: 0 auto !important;
}


.sc-cookie-text {
    flex: 1 1 auto !important;

    color: #333333 !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
}


.sc-cookie-text strong {
    display: block !important;

    margin-bottom: 5px !important;

    color: #1a3867 !important;

    font-size: 17px !important;
}


.sc-cookie-text p {
    margin: 3px 0 !important;
}


.sc-cookie-text a {
    color: #1a3867 !important;

    font-weight: 600 !important;

    text-decoration: underline !important;
}


.sc-cookie-actions {
    display: flex !important;

    flex: 0 0 auto !important;

    gap: 10px !important;
}


.sc-cookie-btn {
    min-width: 105px !important;

    padding: 10px 18px !important;

    border-radius: 4px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    cursor: pointer !important;
}


/* REFUZ */

.sc-cookie-reject {
    border: 2px solid #1a3867 !important;

    background: #ffffff !important;

    color: #1a3867 !important;
}


/* ACCEPT */

.sc-cookie-accept {
    border: 2px solid #1a3867 !important;

    background: #1a3867 !important;

    color: #ffffff !important;
}


.sc-cookie-reject:hover,
.sc-cookie-accept:hover {
    border-color: #fcff18 !important;

    background: #fcff18 !important;

    color: #1a3867 !important;
}


/* BUTON PREFERINTE */

.sc-cookie-settings {
    position: fixed !important;

    left: 15px !important;
    bottom: 15px !important;

    z-index: 99990 !important;

    display: none;

    padding: 7px 11px !important;

    border: 1px solid #1a3867 !important;
    border-radius: 4px !important;

    background: #ffffff !important;

    color: #1a3867 !important;

    font-size: 12px !important;

    cursor: pointer !important;

    box-shadow: 0 2px 8px rgba(0,0,0,.15) !important;
}


.sc-cookie-settings.sc-cookie-settings-visible {
    display: block !important;
}


.sc-cookie-settings:hover {
    background: #1a3867 !important;

    color: #ffffff !important;
}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 767px) {

    .sc-cookie-banner {
        padding: 15px !important;
    }

    .sc-cookie-inner {
        flex-direction: column !important;

        align-items: stretch !important;

        gap: 15px !important;
    }

    .sc-cookie-actions {
        width: 100% !important;
    }

    .sc-cookie-btn {
        flex: 1 1 50% !important;
    }

    .sc-cookie-text {
        font-size: 13px !important;
    }

}






/* chatbot */
/* =========================================================
   SCORPION CHATBOT WIDGET
========================================================= */
#scChatLauncher,
#scChatPanel,
#scChatPanel * {
    box-sizing: border-box;
}

#scChatLauncher {
    position: fixed;
    left: 20px;
    bottom: 60px;
    z-index: 999980;
    width: 62px;
    height: 62px;
    padding: 0;
    border: 3px solid #fcff18;
    border-radius: 50%;
    background: #1a3867;
    color: #fff;
    box-shadow: 0 7px 22px rgba(0,0,0,.28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease;
}

#scChatLauncher:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,.34);
}

#scChatPanel {
    position: fixed;
    left: 20px;
    bottom: 95px;
    z-index: 999981;
    width: min(460px, calc(100vw - 40px));
    height: min(650px, calc(100vh - 125px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(0,0,0,.28);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transform-origin: left bottom;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

#scChatPanel.sc-chat-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sc-chat-header {
    position: relative;
    flex: 0 0 auto;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 62px;
    background: #1a3867;
    border-bottom: 3px solid #fcff18;
}

.sc-chat-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
}

.sc-chat-reset {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    padding: 6px 9px;
    border: 0;
    border-radius: 5px;
    background: #fcff18;
    color: #1a3867;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.sc-chat-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0 0 3px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.sc-chat-close:hover {
    background: #fcff18;
    color: #1a3867;
    border-color: #fcff18;
}

.sc-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-message {
    padding: 11px 13px;
    border-radius: 11px;
    line-height: 1.48;
    font-size: 14px;
    word-break: break-word;
}

.sc-message.bot-msg {
    width: 100%;
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
}

.sc-message.user-msg {
    width: auto;
    max-width: 82%;
    align-self: flex-end;
    background: #1a3867;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.sc-category-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.sc-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.sc-cat-btn,
.sc-info-btn {
    border: 0;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.sc-cat-btn {
    padding: 8px 14px;
    background: #fcff18;
    color: #1a3867;
}

.sc-cat-btn:hover {
    background: #1a3867;
    color: #fff;
}

.sc-info-btn {
    width: 90%;
    padding: 10px 14px;
    background: #1a3867;
    color: #fff;
}

.sc-info-btn:hover {
    background: #fcff18;
    color: #1a3867;
}

.sc-chat-separator {
    margin: 3px 0;
    color: #64748b;
    font-size: 11px;
    text-align: center;
}

.sc-chat-input-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.sc-chat-input {
    min-width: 0;
    flex: 1;
    padding: 10px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    outline: none;
    font-size: 14px;
}

.sc-chat-input:focus {
    border-color: #1a3867;
    box-shadow: 0 0 0 2px rgba(26,56,103,.10);
}

.sc-chat-input:disabled {
    background: #edf1f5;
    cursor: not-allowed;
}

.sc-chat-send {
    flex: 0 0 auto;
    padding: 10px 13px;
    border: 0;
    border-radius: 7px;
    background: #1a3867;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.sc-chat-send:hover:not(:disabled) {
    background: #fcff18;
    color: #1a3867;
}

.sc-chat-send:disabled,
.sc-chat-mic:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.sc-chat-mic {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #64748b;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-chat-mic svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.sc-chat-mic.sc-mic-active {
    background: #dc2626;
    animation: scChatPulse 1.35s infinite;
}

@keyframes scChatPulse {
    0% { box-shadow: 0 0 0 0 rgba(220,38,38,.55); }
    70% { box-shadow: 0 0 0 10px rgba(220,38,38,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

.sc-chat-image {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 220px;
    margin: 8px 0;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 7px rgba(0,0,0,.12);
}

@media (max-width: 600px) {
    #scChatLauncher {
        left: 12px;
        bottom: 12px;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    #scChatPanel {
        left: 8px;
        right: 8px;
        bottom: 76px;
        width: auto;
        height: min(640px, calc(100vh - 90px));
        border-radius: 12px;
    }

    .sc-chat-header {
        min-height: 58px;
        padding-left: 58px;
        padding-right: 52px;
    }

    .sc-chat-title { font-size: 16px; }
    .sc-chat-messages { padding: 12px; }
    .sc-chat-input-area { padding: 9px; gap: 5px; }
    .sc-chat-send { padding: 10px; }
}





#scChatLauncher svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    display: block;
}





.sc-message.bot-msg ul,
.sc-message.bot-msg ol {
    margin: 8px 0 8px 20px;
    padding-left: 15px;
}

.sc-message.bot-msg li {
    margin-bottom: 5px;
}