/* 1. DEFINICJA ZMIENNYCH (VAR) */
:root {
    --primary-color: #2D7A4D;
    --Secondary-color: #163d26;
    --mon-verylight: #d4f7e2;
    --dark: #1a4b2f;
    --mon24-green-alpha: rgba(70, 184, 101, 0.60);
    --text-white: #d5d8d8fc;
    --light-alpha: rgba(255, 255, 255, 0.409);
    --shadow-sticky: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-green: 2px solid #46b865;
    --padd: 50px;
    --padd-smal: 20px;
    --border: 1px solid #2d7a4d6f;
    --radius: 20px
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;

}


body {
    color: var(--text);
}

a:hover,
a:focus,
a:active {
    color: var(--mon-text);
}

a {
    color: var(--Secondary-color);
}



h1,
h2,
h3 {
    color: var(--primary-color);
}

/* button */
body .btn {
    background-color: var(--text-white);
    font-weight: bold;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    border: var(--border-green);
    transition: all 0.3s ease;
}

body .btn:hover {
    background-color: var(--mon-green);
    color: var(--mon-light) !important;
    transform: translateY(-2px);
    border-color: var(--mon-light);
}

body .btn:hover a {
    color: var(--mon-light) !important;
}

#sp-main-body {
    padding: 0;
}

/* SEKCJA 2 (KONTAKT/SOCIAL)*/
#sp-section-2 {
    background: var(--mon-verylight);
    height: auto;
    padding: 1.5rem;
    color: var(--dark) display: flex;
    align-items: center;
}

#sp-section-2 .social-icons,
#sp-section-2 .sp-contact-info {
    color: var(--mon-green);
    font-size: 1.8rem;
}

#sp-section-2 .sp-contact-info a {
    font-size: 1.5rem;
}

#sp-section-2 ul.social-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    #sp-section-2 ul.social-icons {
        justify-content: space-around;
        margin-bottom: 1rem;
    }
}

#sp-section-2 .sp-contact-info {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

@media screen and (max-width: 576px) {
    #sp-section-2 .sp-contact-info {
        flex-direction: column;
    }

    #sp-section-2 .sp-contact-info li {
        margin-left: unset;
        margin-bottom: 1rem;
    }
}

#sp-section-2 .row {
    width: 100%;
}

#sp-section-2 .sp-contact-info li {
    margin-left: 1rem;
}

/* 4. sp-header (LOGO/MENU)*/
#sp-header {
    border-bottom: var(--border);
    box-shadow: var(--shadow-sticky);
    display: flex;
    align-items: center;
}

#sp-header #sp-menu>.sp-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

#sp-header .row {
    align-items: center;
}

#sp-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sp-megamenu-wrapper {
    justify-content: center;
    align-items: center;
    color: var(--mon-verylight);
    background-color: var(--mon-green);
    border-radius: var(--radius);
}

.sp-megamenu-parent {
    margin: 0;
    width: 500px;
    text-align: center;
}



.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    color: var(--mon-green);
    width: 100%;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover {
    background-color: var(--mon-green);
    color: var(--mon-verylight);
}

.sp-megamenu-parent>li>a {
    color: var(--mon-light);
}

.sp-megamenu-parent>li>a:hover {
    color: var(--mon-verylight);
}

.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span {
    line-height: 50px;
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li.active:hover>a {
    background-color: var(--dark);
    color: var(--mon-verylight);
}


/* 5. HERO Z NAKŁADKĄ (STYL ZE ZDJĘCIA) */
.hero {
    position: relative;
    width: 100%;
    height: 800px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Paralaksa */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Zielona nakładka w kształcie strzałki/trapezu */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 900px;
    /* Szerokość nakładki */
    height: 100%;
    background: var(--light-alpha);
    /* Tworzy charakterystyczne wcięcie */
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
    z-index: 1;
}

/* Stylizacja tekstów wewnątrz Hero */
.hero .headers {
    position: relative;
    z-index: 2;
    /* Nad nakładką */
    padding-left: 5%;
    color: var(--mon-green)
}

.hero .headers h1 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    word-break: break-word;

}

.hero .headers h2 {
    font-weight: 800;
    margin-bottom: 3rem;
    overflow-wrap: break-word;
}


/*tiles*/
.services .hblock {
    width: 90%;
    margin: 0 auto 6rem auto;
    display: block;
    text-align: center;
}

/* tiles */
.tiles {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 1rem;
    /* Odstęp między kafelkami */
}

.tile {
    background-color: var(--primary-color);
    padding: var(--padd-smal);
    color: var(--text-white);
    box-shadow: 3px 3px 37px -10px rgba(66, 68, 90, 1);
    flex: 0 1 auto;
    /* Równomierne rozłożenie i nadpisanie Bootstrap */
    min-width: 0;
    /* Zapobiega overflow */
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: var(--border);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    visibility: hidden;
    margin: var(--padd);


}

/* Obrazek - domyślnie przy górze */
.tile .picture {
    flex-shrink: 0;
    margin-bottom: var(--padd-smal);
    text-align: center;
}

.tile img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

/* Treść */
.tile .content {
    flex-grow: 1;
}

.tile .content h3 {
    margin-top: 0;
}

/* Przycisk - przyklejony do dołu */
.tile .btn {
    margin-top: auto !important;
    /* Wymusza przyklejenie do dołu */
    align-self: center;
    flex-shrink: 0;
}



/* Stan gdy kafelek jest widoczny */
.tile.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Poprawka dla Trust Bar, żeby nie blokował licznika */
.trust-bar .number {
    opacity: 1;
}

/* Styl bazowy - sekcja jest niewidoczna i przesunięta w dół */
.trust-bar {
    padding: 100px;
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* Płynniejszy ruch */
}

/* Klasa dodawana przez JS gdy sekcja jest w polu widzenia */
.trust-bar.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.trust-bar .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--mon-green);
    display: inline-block;
    line-height: 1;
}

.trust-bar p {
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 10px;
    color: var(--text);
}

.trust-bar .unit {
    font-size: 1.5rem;
    font-weight: 900;
}

/* partners */
.partners-section {
    padding: 80px 0;
    background-color: var(--dark);
    color: var(--mon-light);
    margin: var(--padd) auto;
}

.partners-section .section-title {
    color: #fff;
}



.section-title {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}



.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.partner-logo {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    /* Efekt szarości */
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #2D7A4D;
    transform: translateY(-5px);
}

.logo-placeholder {
    font-weight: 600;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

.pre-footer {
    padding: 100px 0;
    /* Ciemny, elegancki antracyt */
}

.top-label {
    color: #2D7A4D;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.usp-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.usp-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.usp-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2D7A4D;
    font-weight: bold;
}

.contact-box {
    background: var(--mon-text);
    padding: 40px;
    border-radius: 5px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-dark);
    padding-bottom: 15px;
    text-align: center;
}

.person-card {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.person-info strong {
    display: block;
    font-size: 1.1rem;
}

.person-info span {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.person-info a {
    color: #2D7A4D;
    font-weight: 700;
    text-decoration: none;
}

.btn-email {
    display: block;
    background: #2D7A4D;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-email:hover {
    background: #235d3b;
}

/* footer*/
.main-footer {
    background-color: #121212;
    color: #b0b0b0;
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    /* Jeśli logo jest ciemne, to je wybieli */
}

.footer-about {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #2D7A4D;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 10px;
}

.contact-details a {
    color: #2D7A4D;
    text-decoration: none;
    font-weight: 600;
}

.legal-badges {
    margin-top: 20px;
}

.legal-badges .badge {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-right: 5px;
    color: #888;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* oferta*/


/* HERO */

/* SYNERGY ANIMATION */
.synergy-section {
    padding: 100px 0;
    background: #fff;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.b-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
}

.synergy-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.synergy-orb {
    width: 350px;
    height: 350px;
    border: 1px solid rgba(45, 122, 77, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-center {
    max-width: 140px;
    z-index: 10;
}

.orbit-node {
    position: absolute;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    animation: orbitRotate 15s infinite linear;
}

/* Ujemny delay sprawia, że startują od razu w różnych miejscach */
/* 1. Element (Ochrona Fizyczna) */
.orbit-node:nth-child(2) {
    animation-delay: 0s;
}

/* 2. Element (E-Monitoring) */
.orbit-node:nth-child(3) {
    animation-delay: -3.75s;
}

/* 3. Element (Utrzymanie Czystości) */
.orbit-node:nth-child(4) {
    animation-delay: -7.5s;
}

/* 4. Element (Pielęgnacja Terenu) */
.orbit-node:nth-child(5) {
    animation-delay: -11.25s;
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg) translateX(175px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(175px) rotate(-360deg);
    }
}

/* PLANS GRID */
.offer-plans {
    padding: 100px 0;
    background: var(--light-bg);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    border: 1px solid #eee;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.plan-head {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.p-name {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

.p-target {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.p-features li {
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.95rem;
}

.p-features li strong {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 15px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 30px;
}

.btn-featured,
.btn-plan:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 992px) {
    .sp-megamenu-wrapper {

        background-color: unset;
        border-radius: un;
    }

}


/* MOBILE */
@media (max-width: 768px) {
    .synergy-orb {
        width: 280px;
        height: 280px;
    }

    @keyframes orbitRotate {
        from {
            transform: rotate(0deg) translateX(140px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(140px) rotate(-360deg);
        }
    }


}

:root {
    --mon-green: #2D7A4D;
    --mon-dark: #1a1a1a;
    --mon-light: #f8f9fa;
    --mon-text: #444;
}

/* HERO SECTION */
.service-hero {
    padding: 140px 0 80px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.service-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-top: 20px;
}

.service-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    opacity: 0.9;
}

/* INTRO SECTION */
.service-intro {
    padding: 100px 0;
    background: #fff;
}

.section-heading {
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--mon-dark);
}

.key-points {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.point {
    font-weight: 700;
    background-color: var(--mon-green);
    color: white;
    padding: 5px 8px;
    border-radius: var(--radius);
    font-size: 0.75rem;
}

.rounded-shadow {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* DETAILS LIST GRID */
.service-details-list {
    padding: 100px 0;
    background: var(--mon-light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.detail-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mon-green);
    opacity: 0.8;
}

.detail-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* CTA SECTION */
.service-cta {
    padding: 80px 0;
    background: var(--mon-green);
    color: #fff;
}

.service-cta h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: white;
}

.btn-primary-custom {
    background: var(--mon-dark);
    color: #fff;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 5px;
    margin: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .service-title {
        font-size: 2.5rem;
    }

    .key-points {
        flex-direction: column;
        gap: 10px;
    }
}


.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--mon-green);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    background: var(--mon-dark);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}


.testimonial-box {
    background: #fff;
    padding: 50px;
    border-left: 5px solid var(--mon-green);
    font-style: italic;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-box cite {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    font-style: normal;
    color: var(--mon-green);
}

.legal-badge {
    background: var(--mon-dark);
    color: #fff;
    padding: 60px;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 10px solid var(--mon-green);
}

.shield-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mon-green);
}

.job-requirements li::before {
    content: "•";
    margin-right: 8px;
}

.contact-form-wrapper {
    background: var(--mon-text);
    padding: 40px;
    border-radius: 5px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapperh3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-dark);
    padding-bottom: 15px;
    text-align: center;
}

body .contact-form-wrapper .btn {
    color: var(--mon-green);
    border: 2px solid var(--mon-green);
    width: 200px;
    font-size: 1em;
}