/* =================================================================
   SECTIONS - Industriotech Child Theme
================================================================= */

/* =================================================================
   1. STATS STRIP
================================================================= */
.it-stats.e-con,
.it-stats.elementor-section {
  border-top: 1px solid var(--it-border, #2a2a2a);
  border-bottom: 1px solid var(--it-border, #2a2a2a);
}

/* Liczba na gorze, tytul ponizej - Elementor renderuje odwrotnie */
.it-stats .elementor-counter {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
}

/* Separator pionowy miedzy licznikami */
.it-stats .elementor-widget-counter {
  flex: 1;
  position: relative;
}

.it-stats .elementor-widget-counter:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--it-border, #2a2a2a);
}

@media (max-width: 768px) {
  .it-stats .elementor-widget-counter::after {
    display: none;
  }
}

/* =================================================================
   2. ICON BOX - karty uslug
================================================================= */

/* Transform na zewnetrznym widgecie - caly kafelek unosi sie */
.it-icon-box.elementor-widget-icon-box {
  transition: transform 0.25s ease;
}

.it-icon-box.elementor-widget-icon-box:hover {
  transform: translateY(-4px);
}

/* Border i shadow na wrapperze (ma border-radius) */
.it-icon-box.elementor-widget-icon-box {
  border: 1px solid var(--it-border, #2a2a2a);
  background-color: var(--it-card);
  border-radius: 8px;
  height: 100%;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.it-icon-box.elementor-widget-icon-box:hover {
  border-color: var(--it-gold, #e8a020) !important;
  box-shadow: 0 8px 40px rgba(232, 160, 32, 0.15);
}

/* Ikona - plynna zmiana kolorow */
.it-icon-box.elementor-widget-icon-box .elementor-icon {
  border-color: rgba(232, 160, 32, 0.2) !important;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.it-icon-box.elementor-widget-icon-box:hover .elementor-icon {
  background: var(--it-gold, #e8a020) !important;
  fill: #0d0d0d !important;
}

/* =================================================================
   3. ICON LIST - lista cech (Why Us)
================================================================= */

/* .it-feature-list .elementor-icon-list-item {
  transition: all 0.2s ease;
}

.it-feature-list .elementor-icon-list-item:hover {
  border-color: rgba(232, 160, 32, 0.3) !important;
  background: rgba(232, 160, 32, 0.03) !important;
} */

/* =================================================================
   4. ICON LIST - lista punktow uslugi (Oferta)
================================================================= */

/* .it-service-list .elementor-icon-list-item {
  transition: background 0.2s ease;
}

.it-service-list .elementor-icon-list-item:hover {
  background: rgba(232, 160, 32, 0.08) !important;
} */

/* =================================================================
   5. ABOUT PAGE
================================================================= */

/* -----------------------------------------------------------------
   PAGE HERO (.it-page-hero na kontenerze w Elementorze)
   Ustawiasz w Elementorze: Advanced → CSS Classes → "it-page-hero"
   Tlo (obraz): ustaw w Elementorze → Style → Background → Image
   Overlay i filter obrazu: tutaj w CSS
   W Elementorze NIE ustawiaj Background Overlay – robimy to przez ::before
----------------------------------------------------------------- */
.it-page-hero.e-con,
.it-page-hero.elementor-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--it-border, #2a2a2a);
}

/* Filter na samym obrazie tla */
.it-page-hero .elementor-background-image {
  filter: brightness(0.38) saturate(0.7);
}

/* Overlay ciemny gradient – podmienia Elementor Background Overlay */
.it-page-hero.e-con::before,
.it-page-hero.elementor-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(5, 4, 2, 0.75) 60%,
      rgba(3, 3, 3, 0.93) 100%
    ),
    linear-gradient(135deg, rgba(232, 160, 32, 0.07) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* Tresc nad overlajem */
.it-page-hero.e-con > .e-con-inner {
  position: relative;
  z-index: 2;
}

/* -----------------------------------------------------------------
   ABOUT IMAGE / TECH IMAGE (it-about-image / it-tech-image na kontenerze .e-con)
   Kontener .e-con z background image: Elementor nie tworzy dziecka .elementor-background-image
   Obraz jest bezposrednio jako background-image CSS na samym kontenerze.
   Filter aplikujemy na caly kontener (jest pusty – nie ma dzieci do nadpisania).
   Zoom tla robimy przez background-size transition zamiast transform.
----------------------------------------------------------------- */
.it-about-image.e-con,
.it-tech-image.e-con {
  border-radius: 8px;
  overflow: hidden;
  filter: brightness(0.82) saturate(0.65);
  background-size: 100% !important;
  transition:
    filter 0.35s ease,
    background-size 0.5s ease;
}

.it-about-image.e-con:hover,
.it-tech-image.e-con:hover {
  filter: brightness(0.95) saturate(0.85);
  background-size: 110% !important;
}

/* -----------------------------------------------------------------
   VALUE CARDS (it-value-box na wewnetrznym kontenerze/kolumnie)
   Tlo karty i kolor tekstu: Elementor
   Border domyslny (transparent zapobiega skokowi layoutu) + hover: CSS
----------------------------------------------------------------- */
.it-value-box.e-con,
.it-value-box.elementor-column > .elementor-widget-wrap {
  border: 1px solid var(--it-border, #2a2a2a);
  border-radius: 8px;
  height: 100%;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.it-value-box.e-con:hover,
.it-value-box.elementor-column:hover > .elementor-widget-wrap {
  border-color: var(--it-gold, #e8a020);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(232, 160, 32, 0.1);
}

/* Dekoracyjny numer 01/02/03 (Heading widget, CSS Class: "it-value-number")
   Kolor i rozmiar: Elementor; opacity: CSS (Elementor nie ma opcji opacity na tekście) */
.it-value-number .elementor-heading-title {
  opacity: 0.3;
  line-height: 1 !important;
}

/* =================================================================
   6. OFFER PAGE
================================================================= */

/* -----------------------------------------------------------------
   SERVICE SECTIONS (it-service-detail na kontenerze sekcji)
   Tlo (naprzemiennie jasne/ciemne): Elementor → Style → Background
   Border-bottom miedzy sekcjami: CSS
----------------------------------------------------------------- */
.it-service-detail.e-con,
.it-service-detail.elementor-section {
  border-bottom: 1px solid var(--it-border, #2a2a2a);
}

.it-service-detail.e-con:last-of-type,
.it-service-detail.elementor-section:last-of-type {
  border-bottom: none;
}

/* -----------------------------------------------------------------
   DECORATIVE NUMBER (it-service-number na Heading widget)
   Kolor: Elementor; opacity + negatywny margin (watermark efekt): CSS
----------------------------------------------------------------- */
.it-service-number .elementor-heading-title {
  opacity: 0.12;
  line-height: 1 !important;
  margin-bottom: -1.5rem !important;
  display: block;
}

/* -----------------------------------------------------------------
   SERVICE LIST (it-service-list na Text Editor widget)
   W Text Editor wstawiamy reczny HTML: <ul><li>punkt</li></ul>
   Strzalka i zloty border: pseudo-element CSS (Elementor tego nie ogarnie)
----------------------------------------------------------------- */
.it-service-list ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.it-service-list ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--it-gold, #e8a020);
  border-radius: 0 4px 4px 0;
}

.it-service-list ul li::before {
  content: "→";
  color: var(--it-gold, #e8a020);
  font-weight: 700;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------
   OFFER IMAGE (it-offer-image na kontenerze okalajacym widget Image)
   DOM: .it-offer-image.e-con
          └── .elementor-widget-image
                └── .elementor-widget-container
                      └── img
   Elementor NIE tworzy .elementor-image wrappera – img jest bezposrednio
   w .elementor-widget-container
----------------------------------------------------------------- */
.it-offer-image {
  overflow: hidden;
  border-radius: 8px;
}

.it-offer-image .elementor-widget-container {
  overflow: hidden;
  border-radius: 8px;
  line-height: 0; /* usuwa odstep pod img (inline-block gap) */
}

.it-offer-image .elementor-widget-container img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.65);
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
  display: block;
}

.it-offer-image:hover .elementor-widget-container img {
  filter: brightness(0.95) saturate(0.85);
  transform: scale(1.03);
}

/* -----------------------------------------------------------------
   LIST TITLE (it-list-title na Heading widget H3 nad lista)
   Kolor i typografia: Elementor; border-top jako separator: CSS
----------------------------------------------------------------- */
.it-list-title .elementor-heading-title {
  padding-top: 1.2rem;
  border-top: 1px solid var(--it-border, #2a2a2a);
}

/* =================================================================
   7. HOME – WHY US
   Kontener sekcji CSS Class: "it-why"
   Kazdy Icon Box widget CSS Class: "it-feature-item"
   Widget: Icon Box (ma ikone + tytuł + opis – jedyny natywny widget z oboma)
================================================================= */

.it-why.e-con,
.it-why.elementor-section {
  border-top: 1px solid var(--it-border, #2a2a2a);
  border-bottom: 1px solid var(--it-border, #2a2a2a);
}

/* Karta feature – border + hover (Icon Box wrapper) */
.it-feature-item.elementor-widget-icon-box .elementor-icon-box-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--it-border, #2a2a2a);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  align-items: flex-start;
}

.it-feature-item.elementor-widget-icon-box .elementor-icon-box-icon {
  margin-top: 8px;
}

.it-feature-item.elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
  border-color: rgba(232, 160, 32, 0.3);
  background: rgba(232, 160, 32, 0.03);
}

/* =================================================================
   8. HOME – CTA BANNER
   Elementor CSS Class na kontenerze sekcji: "it-cta-banner"
================================================================= */

/* Tło złote: ustaw w Elementorze → Style → Background → Color #e8a020
   Tekst i przyciski: CSS Class na widgetach */

/* Przyciski CTA – ciemne na złotym tle */
.it-cta-banner .elementor-button-wrapper .elementor-button {
  background: #0d0d0d;
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 4px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.it-cta-banner .elementor-button-wrapper .elementor-button:hover {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Przycisk "Zadzwoń" – outline wariant
   Elementor CSS Class na widget Button → klasa trafia na OUTER div widgetu,
   nie na .elementor-button-wrapper – stąd selektor .it-btn-outline (bez .elementor-button-wrapper) */
.it-cta-banner .it-btn-outline .elementor-button {
  background: transparent;
  border-color: #0d0d0d;
  color: #0d0d0d !important;
}

.it-cta-banner .it-btn-outline .elementor-button:hover {
  background: #0d0d0d;
  color: #ffffff !important;
}

/* =================================================================
   9. REALIZACJE – Custom Gallery (it_custom_gallery_output)
   Struktura: .it-gallery-grid > .it-gallery-item > a.it-gallery-link > img + .it-gallery-overlay
   Lightbox: GLightbox (CDN)
================================================================= */

/* Grid wrapper */
.elementor-image-gallery {
  box-sizing: border-box;
  padding: 0 4px;
}

/* Grid */
.it-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Kafelek – aspect-ratio na grid-item: przeglądarka liczy wysokość z szerokości kolumny.
   Jedyne rozwiązanie wolne od bug-ów procentowego paddingu w grid. */
.it-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--it-border, #2a2a2a);
  background: #111;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover transform tylko na urządzeniach z myszą – nie klei się po tapnięciu */
@media (hover: hover) {
  .it-gallery-item {
    transition:
      border-color 0.3s ease,
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .it-gallery-item:hover {
    border-color: var(--it-gold, #e8a020);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(232, 160, 32, 0.15);
  }

  .it-gallery-item:hover .it-gallery-link img {
    filter: brightness(0.45) saturate(0.3);
    transform: scale(1.06);
  }

  .it-gallery-item:hover .it-gallery-overlay {
    opacity: 1;
  }

  .it-gallery-item:hover .it-gallery-plus {
    transform: scale(1);
  }
}

/* Link wypełnia cały kafelek absolutnie */
.it-gallery-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  line-height: 0;
}

/* Obraz – cover wewnątrz linku */
.it-gallery-link img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  filter: brightness(0.88) saturate(0.65);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

/* Overlay */
.it-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  line-height: 1;
}

/* Znak + */
.it-gallery-plus {
  font-size: 3.5rem;
  font-weight: 200;
  color: var(--it-gold, #e8a020);
  transform: scale(0.5);
  transition: transform 0.35s ease;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .it-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .elementor-image-gallery {
    padding: 0 16px;
  }

  .it-gallery-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .elementor-image-gallery {
    padding: 0 12px;
  }

  .it-gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* =================================================================
   GLightbox – bez skoków przy przełączaniu zdjęć różnych rozmiarów
================================================================= */

/* Slider i slajd zajmują pełny ekran */
.glightbox-container .gslider {
  height: 100% !important;
}

.glightbox-container .gslide {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Media wrapper bez auto-resize */
.glightbox-container .gslide-media.gslide-image {
  width: auto !important;
  max-width: 90vw !important;
  max-height: 85vh !important;
}

/* Obraz zawsze contain, nie wychodzi poza viewport */
.glightbox-container .gslide-image img {
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: 85vh !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 768px) {
  .glightbox-container .gslide-media.gslide-image,
  .glightbox-container .gslide-image img {
    max-width: 100vw !important;
    max-height: 80vh !important;
  }
}

/* Ukryj opisy/tytuły w lightboxie */
.glightbox-container .gslide-description,
.glightbox-container .gdesc-inner,
.glightbox-container .gslide-title,
.glightbox-container .gslide-desc {
  display: none !important;
}

/* =================================================================
   0. NAWIGACJA – Elementor Nav Menu widget (responsive/burger)
   Desktop: horizontal, Tablet/Mobile: burger dropdown
   Widget ID: d836d2f (elementor-nav-menu--dropdown-tablet)
================================================================= */

/* Ikona burgera – biała */
.elementor-menu-toggle {
  color: #fff !important;
}

.elementor-menu-toggle svg {
  fill: #fff !important;
}

.elementor-menu-toggle:hover {
  color: var(--it-gold, #e8a020) !important;
}

.elementor-menu-toggle:hover svg {
  fill: var(--it-gold, #e8a020) !important;
}

/* Dropdown – tło + border jak header */
.elementor-nav-menu--dropdown {
  background: #0d0d0d !important;
  border-top: 1px solid var(--it-border, #2a2a2a) !important;
  border-bottom: 1px solid var(--it-border, #2a2a2a) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

/* Linki w dropdownie */
.elementor-nav-menu--dropdown .elementor-item {
  color: #fff !important;
  padding: 0.9rem 1.5rem !important;
  border-bottom: 1px solid var(--it-border, #2a2a2a) !important;
  transition:
    color 0.2s ease,
    background 0.2s ease !important;
}

.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-nav-menu--dropdown .elementor-item-active {
  color: var(--it-gold, #e8a020) !important;
  background: rgba(232, 160, 32, 0.05) !important;
}

/* Ostatni element bez border-bottom */
.elementor-nav-menu--dropdown li:last-child .elementor-item {
  border-bottom: none !important;
}

/* CTA "Kontakt" w dropdownie – wyróżniony */
.e-nav__link--cta .elementor-item {
  color: var(--it-gold, #e8a020) !important;
  font-weight: 700 !important;
}

.e-nav__link--cta .elementor-item:hover {
  background: rgba(232, 160, 32, 0.1) !important;
}

/* =================================================================
   10. FOOTER
   Kolory, typografia, tło, padding → Elementor
   Tu tylko to czego Elementor nie ogarnie:
================================================================= */

/* Reset Hello Elementor defaults na footer wrapperze */
footer.site-footer {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Border górny */
.elementor-location-footer {
  border-top: 1px solid var(--it-border, #2a2a2a) !important;
  display: block !important;
}

/* Separator i layout wiersza copyright */
/* Separator wiersza copyright */
.it-footer-bottom {
  border-top: 1px solid var(--it-border, #2a2a2a) !important;
}

/* =================================================================
   11. KONTAKT
   CSS class "it-contact-info" na lewej kolumnie (Icon Boxy)
   CSS class "it-contact-cta" na prawej kolumnie (email CTA)
================================================================= */

/* Icon Box – identyczny wygląd co it-icon-box */
.it-contact-info .elementor-widget-icon-box {
  background-color: var(--it-card, #1a1a1a);
  border: 1px solid var(--it-border, #2a2a2a) !important;
  border-radius: 8px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.it-contact-info .elementor-widget-icon-box:hover {
  border-color: var(--it-gold, #e8a020) !important;
  box-shadow: 0 8px 40px rgba(232, 160, 32, 0.15);
}

.it-contact-info .elementor-widget-icon-box .elementor-icon {
  background: rgba(232, 160, 32, 0.06) !important;
  border-color: rgba(232, 160, 32, 0.2) !important;
  color: var(--it-gold, #e8a020) !important;
  border-width: 1px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* SVG path dziedziczy kolor przez currentColor */
.it-contact-info .elementor-widget-icon-box .elementor-icon svg path {
  fill: currentColor;
}

.it-contact-info .elementor-widget-icon-box:hover .elementor-icon {
  background: var(--it-gold, #e8a020) !important;
  color: #0d0d0d !important;
  border-color: var(--it-gold, #e8a020) !important;
}

/* Cała karta klikalna – ::after na link tytułu pokrywa wrapper */
.it-contact-info .elementor-icon-box-wrapper {
  position: relative;
}

.it-contact-info .elementor-icon-box-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.it-contact-info .elementor-icon-box-icon {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Email CTA – przycisk stylizowany jak karta (it-icon-box) */
.it-contact-cta .elementor-button {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  background: var(--it-card, #1a1a1a) !important;
  border: 1px solid var(--it-border, #2a2a2a) !important;
  border-radius: 8px !important;
  color: var(--it-text, #fff) !important;
  padding: 1.1rem 1.5rem !important;
  font-size: 1rem !important;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease !important;
}

.it-contact-cta .elementor-button:hover {
  border-color: var(--it-gold, #e8a020) !important;
  color: var(--it-gold, #e8a020) !important;
  box-shadow: 0 8px 40px rgba(232, 160, 32, 0.15) !important;
}

/* Ikona w przycisku – złota jak ikony karty */
.it-contact-cta .elementor-button-icon svg path {
  fill: var(--it-gold, #e8a020);
  transition: fill 0.25s ease;
}

.it-contact-cta .elementor-button:hover .elementor-button-icon svg path {
  fill: var(--it-gold, #e8a020);
}

/* =================================================================
   12. FORMULARZ KONTAKTOWY (Elementor Pro – Form widget)
   CSS class "it-contact-form" na kontenerze z formularzem
   Kolory, typografia → Elementor UI
   Inputy, focus, przycisk, checkbox, success → CSS
================================================================= */

/* Wrapper zewnętrzny (.it-contact-form = cała kolumna)
   Tło i border-radius: ustaw w Elementorze na wewnętrznym kontenerze */

/* Siatka pól – wrapper jest flexem, kolumny 50/100 */
.it-contact-form .elementor-form-fields-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}

.it-contact-form .elementor-col-50 {
  width: calc(50% - 0.5rem) !important;
  flex: 0 0 calc(50% - 0.5rem) !important;
}

.it-contact-form .elementor-col-100 {
  width: 100% !important;
  flex: 0 0 100% !important;
}

@media (max-width: 640px) {
  .it-contact-form .elementor-col-50 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Labele pól */
.it-contact-form .elementor-field-label {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--it-muted, #888) !important;
  margin-bottom: 0.4rem !important;
}

/* Inputy i textarea – wyklucz checkbox */
.it-contact-form .elementor-field-textual,
.it-contact-form .elementor-field-type-select select,
.it-contact-form .elementor-field-type-textarea textarea {
  background: var(--it-dark, #141414) !important;
  border: 1px solid var(--it-border, #2a2a2a) !important;
  border-radius: 4px !important;
  color: var(--it-text, #fff) !important;
  font-size: 0.95rem !important;
  padding: 0.75em 1em !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.it-contact-form .elementor-field-textual::placeholder,
.it-contact-form .elementor-field-type-textarea textarea::placeholder {
  color: var(--it-muted, #888) !important;
}

.it-contact-form .elementor-field-textual:focus,
.it-contact-form .elementor-field-type-select select:focus,
.it-contact-form .elementor-field-type-textarea textarea:focus {
  outline: none !important;
  border-color: var(--it-gold, #e8a020) !important;
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.1) !important;
}

/* Textarea – minimalna wysokość */
.it-contact-form .elementor-field-type-textarea textarea {
  min-height: 130px !important;
  resize: vertical !important;
}

/* Select */
.it-contact-form .elementor-field-type-select select {
  appearance: none !important;
  cursor: pointer !important;
}

/* Checkbox RODO – layout + styl */
.it-contact-form .elementor-field-type-acceptance .elementor-field-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.6rem !important;
}

/* Sam checkbox – reset wszelkich inputowych stylów */
.it-contact-form .elementor-acceptance-field {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  accent-color: var(--it-gold, #e8a020);
  cursor: pointer !important;
}

/* Label obok checkboxa */
.it-contact-form .elementor-field-type-acceptance label {
  font-size: 0.8rem !important;
  color: var(--it-muted, #888) !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
}

/* Przycisk submit – złoty */
.it-contact-form .elementor-field-type-submit .elementor-button,
.it-contact-form .e-form__buttons .elementor-button {
  width: 100% !important;
  background: var(--it-gold, #e8a020) !important;
  border: none !important;
  border-radius: 4px !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.9em 2em !important;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease !important;
}

.it-contact-form .elementor-field-type-submit .elementor-button:hover,
.it-contact-form .e-form__buttons .elementor-button:hover {
  background: var(--it-gold-hover, #c8881a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(232, 160, 32, 0.25) !important;
}

/* Wiadomość sukcesu */
.it-contact-form .elementor-message.elementor-message-success {
  background: rgba(72, 199, 116, 0.08) !important;
  border: 1px solid rgba(72, 199, 116, 0.3) !important;
  border-radius: 4px !important;
  color: #48c774 !important;
  font-size: 0.9rem !important;
  padding: 0.8rem 1rem !important;
}

/* Wiadomość błędu */
.it-contact-form .elementor-message.elementor-message-danger {
  background: rgba(255, 80, 80, 0.08) !important;
  border: 1px solid rgba(255, 80, 80, 0.3) !important;
  border-radius: 4px !important;
  color: #ff5050 !important;
  font-size: 0.9rem !important;
  padding: 0.8rem 1rem !important;
}

/* =================================================================
   13. FOOTER BOTTOM – logo KingsIT
   Layout (row, space-between) ustaw w Elementorze na it-footer-bottom
   i na it-footer-made-by (direction: row, align: center)
================================================================= */

.it-footer-made-by-logo img {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.it-footer-made-by p {
  margin: 0;
}

.it-footer-made-by-logo:hover img {
  opacity: 1;
}

/* =================================================================
   14. STRONA 404
   Elementor: Theme Builder → Dodaj nowy → 404
   Kontener sekcji: CSS Class → it-404
   Heading z numerem: CSS Class → it-404-number
================================================================= */

/* Sekcja wyśrodkowana pionowo */
.it-404.e-con,
.it-404.elementor-section {
  min-height: 70vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
}

/* Duży dekoracyjny numer – ten sam wzorzec co it-service-number */
.it-404-number .elementor-heading-title {
  opacity: 0.06;
  line-height: 1 !important;
  margin-bottom: -0.15em !important;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* =================================================================
   15. POLITYKA PRYWATNOŚCI
   Elementor: zwykła strona WP, slug /polityka-prywatnosci/
   Kontener treści: CSS Class → it-privacy
   Każda sekcja (h2 + p/ul): osobny kontener lub Text Editor
================================================================= */

/* Kontener treści – max-width węższy dla czytelności */
.it-privacy.e-con {
  max-width: 800px;
}

/* Zerujemy gap Elementora – odstępem zarządzamy sami przez padding */
.it-privacy > .e-con-inner {
  gap: 0 !important;
}

/* Każda sekcja polityki – symetryczny padding + linia na górze */
.it-privacy-section {
  border-top: 1px solid var(--it-border, #2a2a2a);
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 0 !important;
}

/* Pierwsza sekcja – bez górnej linii i górnego paddingu */
.it-privacy-section:first-child {
  border-top: none !important;
  padding-top: 0 !important;
}

/* Ostatnia sekcja – bez dolnego paddingu */
.it-privacy-section:last-child {
  padding-bottom: 0 !important;
}

/* Nagłówek h2 sekcji polityki */
.it-privacy h2,
.it-privacy .elementor-heading-title {
  font-family: "Inter", sans-serif !important;
  color: var(--it-gold, #e8a020) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

/* Linki w treści – nadpisuje domyślny kolor motywu/WP */
.it-privacy a,
.it-privacy .elementor-widget-container a {
  color: var(--it-gold, #e8a020) !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.it-privacy a:hover,
.it-privacy .elementor-widget-container a:hover {
  opacity: 0.75;
}

/* Lista w treści polityki */
.it-privacy ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.it-privacy ul li {
  padding-left: 1.2rem;
  position: relative;
}

.it-privacy ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--it-gold, #e8a020);
}
