.elementor-24 .elementor-element.elementor-element-a805524{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-24 .elementor-element.elementor-element-2517f89{padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-2517f89 *//* kolor szary #3F4648 */
 :root { 
    --r-red: #ed1c24; 
    --r-redd: #121212;
    --r-dark: #111111;
    --r-text: #646464;
    --r-gray-line: #e5e5e5;
    --r-trans: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .roofix-custom-header * { box-sizing: border-box; }
  .roofix-mobile-header * { box-sizing: border-box; }

  /* =========================================
     WERSJA DESKTOP (PC)
     ========================================= */
  .roofix-custom-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
    font-family: 'Rubik', 'Roboto', sans-serif;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--r-trans);
  }

  .header-container { display: flex; height: 100%; }

  .logo-area {
    position: relative;
    background-color: var(--r-redd); 
    width: 280px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 20; 
    transition: var(--r-trans); 
    padding: 10px;
  }

  .logo-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://maximadachy.pl/wp-content/uploads/2026/05/tlo-logo.png');
    background-repeat: no-repeat; 
    background-size: cover; 
    opacity: 0.45; 
    z-index: 1; 
    pointer-events: none;
  }
  
  .logo-area::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    right: -25px; 
    width: 60px; 
    height: 100%;
    background: #121212 !important; 
    transform: skewX(-20deg); 
    z-index: -1;
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  
  .logo-area img { 
    position: relative;
    z-index: 2; 
    width: 180px; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
    transition: var(--r-trans); 
  }

  .content-area { flex-grow: 1; display: flex; flex-direction: column; background: #fff; }

  .top-bar {
    height: 50px; display: flex; justify-content: space-between; align-items: center;
    background-color: var(--r-redd); 
    padding-left: 50px; padding-right: 40px;
    font-size: 14px; color: #d0d0d0; 
    overflow: hidden; transition: var(--r-trans);
    border-bottom: none; 
  }
  .tb-left, .tb-right { display: flex; align-items: center; height: 100%; }
  .info-item { display: flex; align-items: center; position: relative; padding: 0 20px; height: 100%; }
  
  .info-item::after {
    content: ''; position: absolute; right: 0; top: 15px; bottom: 15px; width: 1px; 
    background-color: rgba(255,255,255,0.1); 
    transform: skewX(-20deg);
  }
  
  .tb-left .info-item:last-child::after, .tb-right .info-item:last-child::after { display: none; }
  
  .info-item svg { color: var(--r-red); margin-right: 8px; }
  
  .info-item a { color: #ffffff; text-decoration: none; transition: 0.3s; } 
  .info-item a:hover { color: var(--r-red); }
  
  .phone-label, .email-label { color: #aaaaaa; margin-right: 5px; } 
  
  .social-list { display: flex; gap: 15px; margin-left: 20px; }
  .social-list a { color: #ffffff; transition: 0.3s; } 
  .social-list a:hover { color: var(--r-red); }

  .bottom-bar {
    height: 90px; display: flex; align-items: center; padding-left: 50px; padding-right: 40px; transition: var(--r-trans);
  }
  .main-menu > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 35px; }
  .main-menu > ul > li { position: relative; padding: 30px 0; }
  .main-menu > ul > li > a {
    text-decoration: none; color: var(--r-dark); font-weight: 700; text-transform: uppercase;
    font-size: 15px; letter-spacing: 0.5px; transition: 0.3s; position: relative; display: flex; align-items: center;
  }
  .main-menu > ul > li:hover > a { color: var(--r-red); }

  .main-menu .sub-menu {
    position: absolute; top: 100%; left: 0; width: 240px; background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-top: 3px solid var(--r-red);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s ease;
    padding: 0; list-style: none; display: block; z-index: 100;
  }
  .main-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-menu .sub-menu li { display: block; border-bottom: 1px solid #f5f5f5; padding: 0; }
  .main-menu .sub-menu a {
    display: block; padding: 12px 20px; color: #646464; font-size: 14px;
    font-weight: 500; text-transform: capitalize; text-decoration: none; transition: 0.3s;
  }
  .main-menu .sub-menu a:hover { background-color: #fafafa; color: var(--r-red); padding-left: 25px; }

  .bottom-actions { margin-left: auto; display: flex; align-items: center; height: 100%; }
  
  .sidebar-btn {
    background: none; border: none; cursor: pointer; margin-right: 15px; padding: 10px;
    display: flex; flex-direction: column; gap: 5px; align-items: flex-end;
  }
  .sidebar-btn span { display: block; height: 2px; background-color: var(--r-dark); transition: 0.3s; }
  .sidebar-btn span:nth-child(1) { width: 30px; }
  .sidebar-btn span:nth-child(2) { width: 20px; }
  .sidebar-btn span:nth-child(3) { width: 30px; }
  .sidebar-btn:hover span { width: 30px; background-color: var(--r-red); }

  .cta-btn {
    background-color: var(--r-red); 
    color: #fff; 
    height: 46px; 
    display: flex; align-items: center;
    padding: 0 32px; 
    position: relative; font-weight: 700; text-transform: uppercase;
    text-decoration: none; font-size: 14px; margin-left: 10px;
    border-radius: 50px; 
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.25); 
    transition: all 0.3s ease;
  }
  
  .cta-btn::before { display: none; }
  
  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(237, 28, 36, 0.4);
  }

  .cta-btn span, .cta-btn svg { position: relative; z-index: 2; }
  .cta-btn svg { margin-right: 8px; }

  /* Sticky Styles Desktop */
  .roofix-custom-header.is-sticky .top-bar { height: 0; padding: 0; opacity: 0; border: none; }
  .roofix-custom-header.is-sticky .bottom-bar { height: 70px; }
  .roofix-custom-header.is-sticky .main-menu > ul > li { padding: 20px 0; }
  .roofix-custom-header.is-sticky .logo-area { width: 220px; }
  .roofix-custom-header.is-sticky .logo-area img { width: 140px; }

  /* =========================================
     WERSJA MOBILNA
     ========================================= */
  .roofix-mobile-header {
    display: none; 
    position: fixed; top: 0; left: 0; width: 100%;
    height: 70px; background: #fff; z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    justify-content: space-between; align-items: center;
    padding: 0 20px;
    font-family: 'Rubik', 'Roboto', sans-serif;
    transition: var(--r-trans);
  }
  
  .mobile-logo img {
      height: 45px; 
      width: auto; 
      display: block;
  }
  
  .roofix-mobile-header.is-sticky {
      height: 60px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* =========================================
     SIDEBAR (OFF-CANVAS)
     ========================================= */
  .custom-sidebar {
    position: fixed; top: 0; right: -100%; width: 320px; height: 100vh;
    background: #fff; z-index: 10000; box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0); overflow-y: auto; padding: 60px 30px;
  }
  .custom-sidebar.active { right: 0; }
  
  .sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s;
  }
  .sidebar-overlay.active { opacity: 1; visibility: visible; }

  .sidebar-close {
    position: absolute; top: 20px; right: 20px; background: var(--r-red); color: #fff;
    border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
  }
  
  .sidebar-nav { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
  .sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
  .sidebar-nav > ul > li { border-bottom: 1px solid #f5f5f5; }
  .sidebar-nav > ul > li:last-child { border-bottom: none; }
  
  .sidebar-nav a {
      display: flex; justify-content: space-between; align-items: center;
      padding: 12px 0; color: var(--r-dark); text-decoration: none;
      font-weight: 700; text-transform: uppercase; font-size: 14px; transition: 0.3s;
  }
  .sidebar-nav a:hover { color: var(--r-red); }
  
  .sidebar-sub-menu {
      display: none; 
      list-style: none; padding-left: 0; background: #f9f9f9; padding: 10px 15px; margin-bottom: 10px;
  }
  .sidebar-sub-menu.open { display: block; animation: fadeIn 0.3s ease; }
  .sidebar-sub-menu li { border-bottom: 1px solid #eee; }
  .sidebar-sub-menu li:last-child { border-bottom: none; }
  .sidebar-sub-menu a {
      font-weight: 400; font-size: 13px; padding: 10px 0; text-transform: capitalize;
  }
  
  .menu-toggle-icon {
      width: 30px; height: 30px; background: #eee; display: flex; align-items: center; justify-content: center;
      border-radius: 50%; cursor: pointer; transition: 0.3s;
  }
  .menu-toggle-icon.active { transform: rotate(180deg); background: var(--r-red); color: #fff; }

  .sidebar-title { font-size: 18px; font-weight: 700; color: var(--r-dark); margin-bottom: 15px; margin-top: 30px; }
  .sidebar-contact-list p { margin-bottom: 10px; color: #666; display: flex; gap: 10px; font-size: 14px; align-items: center;}
  .sidebar-contact-list svg { flex-shrink: 0; }
  
  .sidebar-socials { margin-top: 20px; display: flex; gap: 10px; }
  .sidebar-socials a { width: 35px; height: 35px; border-radius: 50%; background: #f5f5f5; color: #555; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

  /* --- MEDIA QUERIES --- */
  @media (max-width: 1100px) {
    .roofix-custom-header { display: none; } 
    .roofix-mobile-header { display: flex; } 
    #header-spacer { height: 70px !important; } 
    .custom-sidebar { width: 300px; } 
  }/* End custom CSS */