<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet" />

<style>
  .cta-section {
    width: 100%;
    padding: 50px 20px 0 20px;
    box-sizing: border-box;
    background-color: #121519;
  }

  .cta-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px; /* ✅ DZIAŁAJĄCY padding dla desktopu */
  }

  .cta-box {
    position: relative;
    width: 100%;
    min-height: 449px;
    border-radius: 10px;
    overflow: hidden;
  }

  .cta-box::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 369px;
    border-radius: 10px;
    background: linear-gradient(168deg, #90102E 0%, #F61C4E 98%);
    z-index: 0;
  }

  .cta-content {
    position: absolute;
    top: 127px;
    left: 59px;
    width: 541px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .cta-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: #fff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }

  .cta-text {
    font-size: 18px;
    line-height: 29px;
    color: #fff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }

  .cta-button {
    padding: 10px 40px;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    font-size: 18px;
    line-height: 29px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: fit-content;
  }
.cta-button:hover {
  color: #000; /* lub cokolwiek używasz */
  background-color: #f0f0f0; /* opcjonalnie: lżejsze tło po hoverze */
  text-decoration: none;
  font-family: 'Poppins', sans-serif; /* wymuś swoją czcionkę */
}
  .cta-character {
    position: absolute;
    top: -11px;
    left: 707px;
    width: 416px;
    height: 460px;
    z-index: 1;
  }

  .cta-ornament {
    position: absolute;
    top: 80px;
    left: 698px;
    width: 542px;
    height: 369px;
    background: url('https://5968576.fs1.hubspotusercontent-na1.net/hubfs/5968576/ornaments-right-audit.png') no-repeat center/cover;
    border-radius: 10px;
    z-index: 0;
  }

  @media (max-width: 1024px) {
    .cta-wrapper {
      padding-bottom: 60px; /* ✅ DZIAŁAJĄCY padding dla mobile/tablet */
    }

    .cta-box {
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 20px;
      max-width: 80%;
      margin: 0 auto;
    }

    .cta-box::before {
      top: 0;
      height: auto;
      bottom: 0;
      border-radius: 10px;
    }

    .cta-content {
      position: relative;
      top: auto;
      left: auto;
      width: 100%;
      text-align: center;
      align-items: center;
      z-index: 1;
      padding-top: 60px;
      padding-bottom: 20px;
    }

    .cta-heading {
      font-size: 28px;
      line-height: 36px;
    }

    .cta-text {
      font-size: 16px;
      line-height: 26px;
      padding: 0 10px;
    }

    .cta-button {
      font-size: 16px;
      line-height: 24px;
      padding: 10px 30px;
    }

    .cta-character {
      position: relative;
      top: auto;
      left: auto;
      width: auto;
      height: auto;
      max-width: 90%;
      object-fit: contain;
      z-index: 1;
      margin-top: 20px;
      margin-bottom: 0;
    }

    .cta-ornament {
      display: none;
    }
  }
</style>

<!-- ✅ HTML -->
<div class="cta-section">
  <div class="cta-wrapper">
    <div class="cta-box">
      <div class="cta-content">
        <h2 class="cta-heading">Prowadzisz swoją stronę?</h2>
        <p class="cta-text">Audyt SEO to podstawa. Jednak bez poprawnego wdrożenia zmian i regularnej pracy nad witryną, zwłaszcza przy dużej konkurencji, efekt może nie być zadowalający. Jeżeli chcesz powierzyć ekspertom optymalizację strony pod kątem SEO krok po kroku, zapraszamy do kontaktu!</p>
        <a href="https://twoj-link.pl" class="cta-button">Umów się na konsultacje</a>
      </div>
      <div class="cta-ornament"></div>
      <img src="https://hub.whitepress.com/hubfs/jeremy-audit.png" alt="jeremy-audit" class="cta-character">
    </div>
  </div>
</div>
