  /* Błyskawiczne ciemne tło preloadera - zero białego błysku przy starcie */
  #preloader, #preloader:before, #preloader:after {
    background-color: #0b0e14 !important;
  }
  #preloader .loader_line {
    background-color: rgba(255, 255, 255, 0.08) !important;
  }
  #preloader .loader_line:before {
    background-color: #e54b4b !important;
  }
  #preloader .loader_line:after {
    background-color: rgba(255, 255, 255, 0.15) !important;
  }

  /* NOWOCZESNY PRZYCISK FORMULARZA */
  .contact_form #send_message,
  .grax_tm_button #send_message,
  button#send_message {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 36px !important;
    background: #e54b4b !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border: 2px solid #e54b4b !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 22px rgba(229, 75, 75, 0.45) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin-top: 10px !important;
  }
  .contact_form #send_message svg,
  button#send_message svg {
    transition: transform 0.3s ease !important;
    stroke: #ffffff !important;
    display: inline-block !important;
  }
  .contact_form #send_message:hover,
  .grax_tm_button #send_message:hover,
  button#send_message:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #e54b4b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(229, 75, 75, 0.7) !important;
  }
  .contact_form #send_message:hover svg,
  button#send_message:hover svg {
    transform: translateX(4px) !important;
  }
  .contact_form #send_message:active,
  button#send_message:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 12px rgba(229, 75, 75, 0.3) !important;
  }
  .contact_form #send_message:disabled,
  button#send_message:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* KONTENER CLOUDFLARE TURNSTILE (PŁYNNE ZWIJANIE) */
  .turnstile_wrap {
    margin: 18px 0 16px 0;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
    max-height: 120px;
    overflow: hidden;
  }
  .turnstile_wrap.turnstile-hidden {
    opacity: 0 !important;
    max-height: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    pointer-events: none !important;
  }

  /* Hero podstron (Realizacje, Kontakt) – niższy niż na stronie głównej */
  .grax_tm_hero.sub { height: 62vh; min-height: 440px; }


  /* ===== STOPKA (kolumny) ===== */
  .grax_tm_copyright .ft_grid { display: grid; grid-template-columns: 1.3fr 1.1fr 0.9fr 1.2fr 1.1fr; gap: 36px; padding-bottom: 50px; }
  .grax_tm_copyright .ft_logo img { max-width: 100px; margin-bottom: 20px; display: block; }
  .grax_tm_copyright .ft_about p { color: #999; font-size: 14px; line-height: 1.8; margin: 0; max-width: 320px; }
  .grax_tm_copyright .ft_title { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
  .grax_tm_copyright .ft_title:after { content: ""; display: block; width: 28px; height: 2px; background: #e54b4b; margin-top: 10px; }
  .grax_tm_copyright .ft_col ul { list-style: none; margin: 0; padding: 0; }
  .grax_tm_copyright .ft_col li { color: #999; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
  .grax_tm_copyright .ft_col a { color: #bbb; text-decoration: none; transition: color .2s; }
  .grax_tm_copyright .ft_col a:hover { color: #e54b4b; }
  .grax_tm_copyright .ft_bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
  .grax_tm_copyright .ft_bottom .copy { float: none; width: auto; }
  .grax_tm_copyright .ft_legal a { color: #999; font-size: 13px; text-decoration: none; }
  .grax_tm_copyright .ft_legal a:hover { color: #e54b4b; }
  @media (max-width: 900px) {
    .grax_tm_copyright .ft_grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .grax_tm_copyright .ft_about { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) {
    .grax_tm_copyright .ft_grid { grid-template-columns: 1fr; }
  }


  /* ===== NAGŁÓWKI H2: wyglądają dokładnie jak dawne H3 (poprawna hierarchia nagłówków dla SEO) ===== */
  body.dark h2 { color: #fff; }
  .grax_tm_title_holder h2,
  .grax_tm_talk .text h2 { font-size: 30px; }
  .grax_tm_title_holder h2 { text-transform: uppercase; font-weight: 700; letter-spacing: 10px; }
  .grax_tm_talk .text h2 { font-weight: 600; color: #fff; }
  .grax_tm_talk .text h2 span { position: relative; }
  .grax_tm_talk .text h2 span:before {
    position: absolute; content: ""; width: 20px; height: 4px; background-color: #fff; bottom: 11px; left: 100%; opacity: 1;
    animation: myAnim 0.9s infinite; -moz-animation: myAnim 0.9s infinite; -webkit-animation: myAnim 0.9s infinite;
  }
  @media (max-width: 768px) { .grax_tm_title_holder h2 { letter-spacing: 5px; } }
  /* Tagline w hero (dawniej <span>) */
  .grax_tm_hero h2.job { display: inline; margin-top: 0; line-height: inherit; }

  /* ===== OFERTA ===== */
  .of_section { padding: 110px 0 40px; }
  .of_section.of_alt { background: #0b0e14; padding: 90px 0; margin-top: 70px; }
  .of_intro { max-width: 760px; margin: 22px 0 0; font-size: 17px; line-height: 1.8; color: #bbb; }
  .of_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
  .of_card { display: block; padding: 34px 30px 30px; background: #0b0e14; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; text-decoration: none; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s; }
  .of_card:hover { transform: translateY(-6px); border-color: rgba(229,75,75,.6); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
  .of_card .of_ic { width: 54px; height: 54px; border: 1px solid rgba(229,75,75,.55); border-radius: 50%; display: grid; place-items: center; color: #e54b4b; margin-bottom: 24px; transition: background .3s, color .3s; }
  .of_card:hover .of_ic { background: #e54b4b; color: #fff; }
  .of_card h3 { font: 600 20px/1.35 Poppins, sans-serif; color: #fff; margin: 0 0 12px; }
  .of_card p { color: #bbb; font-size: 15px; line-height: 1.8; margin: 0 0 20px; }
  .of_card .of_more { font: 600 12px Poppins, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #e54b4b; }
  .of_all { margin-top: 40px; }
  .of_all a { color: #e54b4b; font: 600 14px Poppins, sans-serif; letter-spacing: .5px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
  .of_all a:hover { border-color: #e54b4b; }
  @media (max-width: 992px) { .of_grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px) { .of_grid { grid-template-columns: 1fr; } .of_section { padding: 70px 0 20px; } .of_section.of_alt { padding: 60px 0; margin-top: 40px; } }


  /* ===== KOMUNIKATY FORMULARZA KONTAKTOWEGO ===== */
  .cf_result { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; margin: 0 0 24px; border-radius: 8px; border: 1px solid; }
  .cf_result .cf_icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
  .cf_result .cf_title { font: 600 20px/1.35 Poppins, sans-serif; color: #fff; margin: 2px 0 8px; }
  .cf_result p { margin: 0 0 10px; color: #cfd3da; font-size: 15px; line-height: 1.7; }
  .cf_result .cf_alt { font-size: 14px; color: #9aa0aa; }
  .cf_result a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .cf_success { background: rgba(46,204,113,.08); border-color: rgba(46,204,113,.45); }
  .cf_success .cf_icon { background: rgba(46,204,113,.15); color: #2ecc71; }
  .cf_error { background: rgba(229,75,75,.09); border-color: rgba(229,75,75,.55); }
  .cf_error .cf_icon { background: rgba(229,75,75,.16); color: #e54b4b; }
  .cf_warn { background: rgba(248,174,43,.09); border-color: rgba(248,174,43,.5); }
  .cf_warn .cf_icon { background: rgba(248,174,43,.16); color: #f8ae2b; }
  .cf_again { margin-top: 8px; padding: 11px 22px; font: 600 13px Poppins, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; cursor: pointer; transition: all .25s; }
  .cf_again:hover { border-color: #2ecc71; color: #2ecc71; }
  .cf_success .cf_ring { stroke-dasharray: 140; stroke-dashoffset: 140; animation: cfDraw .7s ease forwards; }
  .cf_success .cf_tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: cfDraw .45s .5s ease forwards; }
  @keyframes cfDraw { to { stroke-dashoffset: 0; } }
  @media (max-width: 560px) { .cf_result { flex-direction: column; gap: 14px; padding: 22px 20px; } }

  /* Motyw ma globalne svg { fill: currentcolor; width: 15px; height: 15px } – ikony liniowe muszą to nadpisać */
  .cf_icon svg { width: 30px; height: 30px; fill: none; }
  .of_ic svg { width: 24px; height: 24px; fill: none; }

  /* Tytuły sekcji w nowych blokach: bez float z motywu, z odstępem od treści */
  .of_section .grax_tm_title_holder,
  .rl_section .grax_tm_title_holder,
  .pp_wrap .grax_tm_title_holder { float: none; display: block; margin-bottom: 24px; }
  .of_intro, .rl_intro { margin-top: 0; }

  .grax_tm_copyright .ft_about .ft_company { margin-top: 18px; font-size: 13px; line-height: 1.7; color: #777; }


  /* ===== POPUP: INFORMACJA O COOKIES ===== */
  .ck_pop { position: fixed; left: 24px; bottom: 24px; z-index: 9000; width: 360px; max-width: calc(100vw - 24px); padding: 52px 22px 20px; background: #0b0e14; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.6); color: #cfd3da; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
  .ck_pop[hidden] { display: none; }
  .ck_pop.ck_in { opacity: 1; transform: none; }
  .ck_pop .ck_cookie { position: absolute; top: -44px; left: 18px; width: 92px; height: 92px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
  .ck_pop .ck_body { transform-origin: 60px 62px; animation: ckBob 3.2s ease-in-out infinite; }
  .ck_pop .ck_pupil { animation: ckLook 5s ease-in-out infinite; }
  .ck_pop .ck_crumb { animation: ckCrumb 2.4s ease-in-out infinite; }
  .ck_pop .ck_crumb.c2 { animation-delay: .5s; }
  .ck_pop .ck_crumb.c3 { animation-delay: 1s; }
  @keyframes ckBob { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-3px); } }
  @keyframes ckLook { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-2.5px,-1px); } 60% { transform: translate(2.5px,1px); } }
  @keyframes ckCrumb { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(7px); opacity: .35; } }
  .ck_pop .ck_x { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; background: transparent; border: 0; color: #888; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 6px; }
  .ck_pop .ck_x:hover { color: #fff; background: rgba(255,255,255,.08); }
  .ck_pop .ck_title { font: 600 16px/1.4 Poppins, sans-serif; color: #fff; margin: 0 0 8px 70px; position: absolute; top: 12px; left: 30px; right: 40px; }
  .ck_pop .ck_body_txt { padding-top: 4px; }
  .ck_pop p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.7; color: #b4bac4; }
  .ck_pop p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .ck_pop p a:hover { color: #e54b4b; }
  .ck_pop .ck_ok { padding: 11px 22px; font: 600 12.5px Poppins, sans-serif; letter-spacing: .7px; text-transform: uppercase; color: #fff; background: #e54b4b; border: 2px solid #e54b4b; border-radius: 8px; cursor: pointer; box-shadow: 0 6px 18px rgba(229,75,75,.4); transition: all .25s; }
  .ck_pop .ck_ok:hover { background: transparent; transform: translateY(-1px); }
  @media (max-width: 560px) { .ck_pop { left: 12px; right: 12px; bottom: 12px; width: auto; } }
  @media (prefers-reduced-motion: reduce) { .ck_pop .ck_body, .ck_pop .ck_pupil, .ck_pop .ck_crumb { animation: none; } }
