h2 {
  font-size:2rem;
}


.dofinansowanie-banner {
  position: relative;
  width: 100%;
  background-color: #14191e;
  overflow: hidden;
  margin: 20px 0 90px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: inherit;
}

.dofinansowanie-banner__grid {
  display: flex;
  flex-direction: column;
}

/* Sekcja z tekstem */
.dofinansowanie-banner__content {
  position: relative;
  z-index: 2;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Nagłówek główny */
.dofinansowanie-banner__title {
  color: #ffffff !important;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 12px 0;
  max-width: 580px;
}

.dofinansowanie-banner__title strong {
  color: #ffffff !important;
  font-weight: 800;
}

/* Opis */
.dofinansowanie-banner__desc {
  color: #e2e8f0 !important;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px 0;
  max-width: 500px;
}

/* Sekcja graficzna */
.dofinansowanie-banner__image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.dofinansowanie-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient na mobile */
.dofinansowanie-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #14191e 0%, rgba(20, 25, 30, 0) 30%);
}

/* Wersja Desktop (>= 768px) */
@media (min-width: 768px) {
  .dofinansowanie-banner__grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    min-height: 280px; /* Niższy banner na desktopie */
  }

  .dofinansowanie-banner__content {
    padding: 35px 20px 35px 45px;
  }

  .dofinansowanie-banner__title {
    font-size: 28px;
  }

  .dofinansowanie-banner__desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .dofinansowanie-banner__image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65%; /* Większy procent odsłonięcia zdjęcia */
    height: 100%;
  }

  .dofinansowanie-banner__image {
    object-position: 35% 60%; /* Przesunięcie kadru (-15% od środka w lewo) */
    transform: scale(1.25); /* Przybliżenie zdjęcia (+15%) */
  }

  /* Płynny gradient przejścia z tła do odsłoniętego zdjęcia */
  .dofinansowanie-banner__overlay {
    background: linear-gradient(90deg,
      #14191e 0%,
      rgba(20, 25, 30, 0.95) 15%,
      rgba(20, 25, 30, 0.4) 40%,
      rgba(20, 25, 30, 0) 70%
    );
  }
}

@media (min-width: 1024px) {
  .dofinansowanie-banner__title {
    font-size: 30px;
  }
}


/* ==========================================================================
   RESET I HELPERY DLA PODSTRONY MAGAZYNY ENERGII
   ========================================================================== */

.me-wrapper *,
.me-wrapper *::before,
.me-wrapper *::after {
    border: none !important;
}

.me-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

/* ==========================================================================
   SEKCJA 1: CZYM SĄ MAGAZYNY ENERGII?
   ========================================================================== */

.me-about {
    padding: 20px 0 90px 0;
    background-color: #EAEEF1;
}

.me-about__grid {
    align-items: center;
    gap: 60px;
}

.me-about__image-box img {
    width: auto;
    height: auto;
    max-height: 350px;
    margin: 0px auto;
    object-fit: cover;
    display: block;
}

.me-about h2 {
    color: #11161b;
    margin-bottom: 20px;
}

.me-about p {
    color: #4a555e;
    margin-bottom: 16px;
}

/* ==========================================================================
   SEKCJA 2: JAK DZIAŁA MAGAZYN ENERGII?
   ========================================================================== */

.me-how-it-works {
    padding: 90px 0;
    background-color: #ffffff;
}

.me-how-it-works__header h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 20px;
}

.me-how-it-works__intro {
    max-width: 900px;
    color: #4a555e;
    margin-bottom: 40px;
}

.me-how-it-works__schema-container {
    width: 100%;
}

.me-schema-placeholder {
    width: 100%;
    height: 380px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.me-schema-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.me-schema-placeholder__label {
    position: absolute;
    color: #11161b;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}








/* ==========================================================================
   Sekcja "Jak działa magazyn energii?"
   ========================================================================== */

.deye-ecobss-how-it-works {
    padding: 80px 0;
    background-color: #f8fafc;
}

.deye-ecobss-how-it-works__title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 50px;
}

/* Schemat Przepływu (Diagram) */
.deye-ecobss-how-it-works__diagram-wrapper {
    margin-bottom: 60px;
    padding: 10px 0;
}

.deye-ecobss-how-it-works__diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Węzły (Nodes) */
.deye-ecobss-how-it-works__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

/* Okrągłe ikony */
.deye-ecobss-how-it-works__node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #e53011;
    border: 1px solid #e53011;
    box-shadow: 0 8px 20px rgba(229, 48, 17, 0.2);
    transition: all 0.3s ease;
}

.deye-ecobss-how-it-works__node-icon svg {
    stroke: #ffffff;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

/* Efekt Hover na ikonie */
.deye-ecobss-how-it-works__node:hover .deye-ecobss-how-it-works__node-icon {
    background-color: #ffffff;
    border-color: #e53011;
    box-shadow: 0 10px 25px rgba(229, 48, 17, 0.3);
    transform: translateY(-4px);
}

.deye-ecobss-how-it-works__node:hover .deye-ecobss-how-it-works__node-icon svg {
    stroke: #e53011;
    transform: scale(1.1);
}

.deye-ecobss-how-it-works__node-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.deye-ecobss-how-it-works__node:hover .deye-ecobss-how-it-works__node-label {
    color: #e53011;
}

/* Łączniki i Strzałki */
.deye-ecobss-how-it-works__arrow {
    flex-grow: 1;
    height: 2px;
    background: #cbd5e1;
    position: relative;
    min-width: 25px;
    margin-bottom: 24px;
}

.deye-ecobss-how-it-works__arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #e53011;
}

.deye-ecobss-how-it-works__arrow-mobile {
    display: none;
}

/* Animowane impulsy energii na desktopie */
.deye-ecobss-how-it-works__pulse {
    position: absolute;
    top: -3px;
    left: -20%;
    width: 14px;
    height: 8px;
    background: linear-gradient(90deg, rgba(229,48,17,0) 0%, #e53011 100%);
    box-shadow: 0 0 8px #e53011;
    animation: advancedPulse 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.deye-ecobss-how-it-works__pulse--delay {
    animation-delay: 1.1s;
}

@keyframes advancedPulse {
    0% { left: -30%; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Siatka Opisowa (Karty) */
.deye-ecobss-how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deye-ecobss-how-it-works__card {
    background: #ffffff;
    border-radius: 4px;
    border-top: 3px solid #e53011;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deye-ecobss-how-it-works__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.deye-ecobss-how-it-works__card-small-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e53011;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.deye-ecobss-how-it-works__card-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.deye-ecobss-how-it-works__card-text p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Responsywność (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
    .deye-ecobss-how-it-works {
        padding: 50px 0;
    }

    .deye-ecobss-how-it-works__grid {
        grid-template-columns: 100%;
        gap: 20px;
    }

    /* Pionowy układ diagramu na mobilkach */
    .deye-ecobss-how-it-works__diagram {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .deye-ecobss-how-it-works__node {
        width: 100%;
    }

    .deye-ecobss-how-it-works__arrow {
        height: auto;
        width: 100%;
        background: transparent;
        margin: 12px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .deye-ecobss-how-it-works__arrow::after,
    .deye-ecobss-how-it-works__pulse {
        display: none;
    }

    .deye-ecobss-how-it-works__arrow-mobile {
        display: flex;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid #d3dbe0;
    }
}

@media (max-width: 568px) {
    .deye-ecobss-how-it-works__card {
        padding: 24px 20px;
    }
}





/* ==========================================================================
   SEKCJA 3 & 4: POŁĄCZONE SEKCJE ECOBSS
   ========================================================================== */

.me-ecobss-combo {
    padding: 90px 0;
    background-color: #f8fafc;
}

.me-ecobss-combo__top {
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.me-ecobss-combo__product-img img {
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.me-ecobss-combo__top h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 20px;
}

.me-ecobss-combo__top p {
    color: #4a555e;
    margin-bottom: 16px;
}

.me-ecobss-combo__bottom h3 {
    font-size: 1.5rem;
    color: #11161b;
    margin-bottom: 10px;
}

.me-ecobss-combo__lead {
    color: #64748b;
    margin-bottom: 24px;
}

.me-ecobss-combo__checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-bottom: 30px;
}

.me-ecobss-combo__check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #11161b;
}

.me-ecobss-combo__pure-check {
    color: #e53011;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.me-ecobss-combo__footer-note {
    background-color: #ffffff;
    padding: 24px;
}

.me-ecobss-combo__footer-note p {
    margin: 0;
    color: #4a555e;
}

/* ==========================================================================
   SEKCJA 5: JAK MAGAZYN ZWIĘKSZA NIEZALEŻNOŚĆ? (POPRAWIONY GRADIENT)
   ========================================================================== */

.me-independence {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
    /* Długie, bardzo płynne przejście tonalne likwidujące ostre odcięcie */
    background-image:
        linear-gradient(to left,
            #ffffff 0%,
            #ffffff 45%,
            rgba(255, 255, 255, 0.95) 55%,
            rgba(255, 255, 255, 0.75) 68%,
            rgba(255, 255, 255, 0.3) 82%,
            rgba(255, 255, 255, 0) 100%),
        url('https://srv90348.seohost.com.pl/03/wp-content/uploads/2026/08/gfx_magazyn-dofinansowanie_06-1.jpeg');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
}

.me-independence__grid {
    align-items: center;
}

.me-independence h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 20px;
}

.me-independence p {
    color: #4a555e;
    margin-bottom: 16px;
}

.me-independence__note {
    background-color: #EAEEF1;
    padding: 20px 24px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.me-independence__note-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.me-independence__note p {
    margin: 0;
    color: #11161b;
}

/* ==========================================================================
   SEKCJA 6: DLACZEGO SYSTEM EMS JEST TAK WAŻNY? (PLACEHOLDER GRAFIKI)
   ========================================================================== */

.me-ems-importance {
    padding: 90px 0;
    background-color: #EAEEF1;
}

.me-ems-importance__grid {
    align-items: center;
    gap: 50px;
}

.me-ems-importance h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 20px;
}

.me-ems-importance__lead {
    color: #11161b;
    font-weight: 600;
}

.me-ems-importance p {
    color: #4a555e;
    margin-bottom: 16px;
}

.me-ems-importance__husar-box {
    background-color: #ffffff;
    padding: 24px;
    margin-top: 24px;
}

.me-ems-importance__husar-box p {
    margin: 0;
    color: #11161b;
}

/* Placeholder dla grafiki EMS po prawej */
.me-ems-placeholder {
    width: auto;
    height: auto;

    position: relative;
    overflow: hidden;
}

.me-ems-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
}

.me-ems-placeholder__label {
    position: absolute;
    color: #11161b;
    font-weight: 800;
    text-align: center;
    padding: 0 20px;
}

/* ==========================================================================
   SEKCJA 7: KORZYŚCI (2/3 DLA TREŚCI, 1/3 DLA ZDJĘCIA)
   ========================================================================== */

.me-benefits {
    padding: 90px 0;
    background-color: #ffffff;
}

.me-benefits h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 12px;
}

.me-benefits__intro {
    max-width: 800px;
    color: #64748b;
    margin-bottom: 40px;
}

.me-benefits__custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Podział 2/3 i 1/3 */
    gap: 40px;
    align-items: stretch;
}

.me-benefits__cards-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.me-benefits__card {
    background-color: #f8fafc;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.me-benefits__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e53011;
    flex-shrink: 0;
}

.me-benefits__card p {
    margin: 0;
    color: #11161b;
    font-weight: 600;
}

.me-benefits__img-col {
    height: 100%;
}

.me-benefits__image-box {
    height: 100%;
    min-height: 380px;
}

.me-benefits__image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SEKCJA 8: DLA KOGO SĄ MAGAZYNY ENERGII? (3 BOXY, BEZ ZDJĘCIA W TLE)
   ========================================================================== */

.me-target-audience {
    padding: 90px 0;
    background-color: #EAEEF1;
}

.me-target-audience__header {
    max-width: 800px;
    margin-bottom: 45px;
}

.me-target-audience__header h2 {
    font-size: 2rem;
    color: #11161b;
    margin-bottom: 12px;
}

.me-target-audience__header p {
    color: #4a555e;
    margin: 0;
}

/* 3 KAFELKI W JEDNYM WIERSZU */
.me-target-audience__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.me-target-audience__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Duża czwerona ikona na jasnym czerwonym kółku */
.me-target-audience__icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #fee2e2;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.me-target-audience__card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #11161b;
    margin-bottom: 12px;
}

.me-target-audience__card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.me-target-audience__cta-banner {
    background-color: #ffffff;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.me-target-audience__cta-banner p {
    margin: 0;
    color: #11161b;
    line-height: 1.5;
    max-width: 850px;
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .me-about__grid,
    .me-ecobss-combo__top,
    .me-independence__grid,
    .me-ems-importance__grid,
    .me-benefits__custom-grid {
        grid-template-columns: 100%;
        gap: 40px;
    }

    .me-target-audience__row {
        grid-template-columns: 100%;
        gap: 20px;
    }

    .me-ecobss-combo__checklist {
        grid-template-columns: 100%;
    }

    .me-independence {
        background-image:
            linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%),
            url('https://srv90348.seohost.com.pl/03/wp-content/uploads/2026/08/gfx_magazyn-dofinansowanie_06-1.jpeg');
    }

    .me-independence .left_col {
        display: none;
    }

    .me-target-audience__cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
