/* 
Theme Name: Kozwelder
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Lekki motyw potomny dla Hello Elementor, stworzony przez Freeline, aby bezpiecznie rozwijać wygląd strony bez nadpisywania zmian po aktualizacjach.
Author: Freeline
Author URI: https://freeline.pl/
Template: hello-elementor
Version: 1.0
Text Domain: hello-kozwelder-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* 
header .elementor-sticky--active.bwp-ux-smart-header{
	box-shadow: 0px 5px 10px rgba(200,200,200, 0.5);
} */

.warning-cacsp-iframe-content-text{
	line-height:1.4;
}
.modal-cacsp-btn{
	border-radius: 12px!important;
}

 .rank-math-breadcrumb{	
	font-family: var(--e-global-typography-overline-font-family), Sans-serif;
    font-size: var(--e-global-typography-overline-font-size);
    font-weight: var(--e-global-typography-overline-font-weight);
    text-transform: var(--e-global-typography-overline-text-transform);
    font-style: var(--e-global-typography-overline-font-style);
    text-decoration: var(--e-global-typography-overline-text-decoration);
    line-height: var(--e-global-typography-overline-line-height);
    letter-spacing: var(--e-global-typography-overline-letter-spacing);
	color: #fff;
}
.rank-math-breadcrumb a{
	color: #fff;
}
.rank-math-breadcrumb p{
	    gap: 8px;
    display: flex;
    flex-direction: row;
}
@media (max-width: 991px){
	.rank-math-breadcrumb p{
	font-size: 12px;
	line-height: 1.2;
	}
}

.rank-math-breadcrumb a:hover{
	text-decoration: underline;
}
#menu-header {
	backdrop-filter: blur(3px);
}
/*
#menu-header.menu-hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
} */


.card-hover .elementor-icon{
    transition: all 0.2s;
}


.card-hover:hover .elementor-icon{
     transform:rotate(-45deg);
}

.card-hover .card-badge{
    transition: padding 0.2s ease;
}


.card-hover:hover .card-badge{
    padding: 24px 8px 8px 8px !important;
}


.btn {
  display: inline-flex !important;
}

.btn a.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 8px 8px 24px !important;
  border-radius: 999px !important;
  border: 2px solid transparent !important;

  text-decoration: none;

  font-family: var(--e-global-typography-button-font-family), Sans-serif;
  font-size: var(--e-global-typography-button-font-size);
  font-weight: var(--e-global-typography-button-font-weight);
  font-style: var(--e-global-typography-button-font-style);
  line-height: var(--e-global-typography-button-line-height);
  letter-spacing: var(--e-global-typography-button-letter-spacing);
}

.btn a .elementor-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
/* Hover animation */
.btn a.elementor-button {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn a .elementor-button-content-wrapper {
  transition: gap 0.25s ease;
}

.btn a .elementor-button-content-wrapper::after {
  transition:
    transform 0.25s ease,
    background-size 0.25s ease,
    box-shadow 0.25s ease;
}

.btn a.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn a.elementor-button:hover .elementor-button-content-wrapper {
  gap: 18px;
}

.btn a.elementor-button:hover .elementor-button-content-wrapper::after {
  transform: translateX(2px) scale(1.04);
  background-size: 18px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn a.elementor-button:active {
  transform: translateY(0) scale(0.98);
}


.btn a .elementor-button-content-wrapper::after {
  content: "";
  display: inline-block;

  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  border-radius: 50%;
  background-color: #fff;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.btn-phone a .elementor-button-content-wrapper::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='M222.37 158.46l-47.11-21.11-.13-.06a16 16 0 0 0-15.17 1.4 8.12 8.12 0 0 0-.75.56L134.87 160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16 16 0 0 0 1.32-15.06v-.12L97.54 33.64a16 16 0 0 0-16.62-9.52A56.26 56.26 0 0 0 32 80c0 79.4 64.6 144 144 144a56.26 56.26 0 0 0 55.88-48.92 16 16 0 0 0-9.51-16.62Z'/%3E%3C/svg%3E");
}
/* Variants */
.btn.btn-primary a.elementor-button {
  background-color: var(--e-global-color-primary) !important;
}

.btn.btn-primary a.elementor-button:hover {
  background-color: var(--e-global-color-0b2bc64) !important;
}

/* Ghost */
.btn.btn-ghost a.elementor-button {
  background-color: var(--e-global-color-7383f5a) !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.btn.btn-ghost a.elementor-button:hover {
  background-color: var(--e-global-color-6751c1d) !important;
  color: #000 !important;
  border-color: var(--e-global-color-6751c1d) !important;
}


@media (prefers-reduced-motion: reduce) {
  .btn a.elementor-button,
  .btn a .elementor-button-content-wrapper,
  .btn a .elementor-button-content-wrapper::after {
    transition: none;
  }
}


.corner {
  --r: 24px; /* promień łuku */

  width: 40px;
  height: 40px;

  background: radial-gradient(
    circle at bottom right,
    transparent 0 40px,
    var(--e-global-color-7383f5a) 41px
  );
	transform: rotate(180deg);
}



.project-featured-image {
  position: relative;
  overflow: hidden;
}

.project-featured-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.project-grid a:hover .project-featured-image::before {
  transform: scale(1.1);
}

.process-steps{
    text-align: center;
    width:64px;
    height: 64px;
    align-content: center;
}

/* Formularz budowa domu – pole "Typ inwestycji" (pokazywane dopiero przy "Inne").
   Selektor musi być ograniczony do widgetu 70523a7: ten sam custom_id
   (field_c096d57) w formularzu zbiorniki/oczyszczalnie oznacza etap inwestycji. */
.elementor-element-70523a7 .elementor-field-group-field_c096d57 {
	display: none !important;
}

.elementor-element-70523a7 .elementor-field-group-field_c096d57.investment-type-visible {
	display: flex !important;
}

/* --------------------------------------------------------------------------
   Zestawienie powierzchni – tabele w opis_parteru / opis_pietra (CPT projekt-domu)
   -------------------------------------------------------------------------- */
.kozwelder-powierzchnie,
body.single-projekt-domu .elementor-element-acc7700,
body.single-projekt-domu .elementor-element-37f509f {
	--kp-ink: var(--e-global-color-secondary, #12151A);
	--kp-muted: var(--e-global-color-text, #6B7380);
	--kp-primary: var(--e-global-color-primary, #D94E1F);
	--kp-surface: var(--e-global-color-6751c1d, #FAFAF8);
	--kp-line: var(--e-global-color-8035236, #D8DEE6);
	--kp-accent-soft: var(--e-global-color-62bf86a, #FDECE6);
	width: 100%;
}

.kozwelder-powierzchnie + .kozwelder-powierzchnie,
.kozwelder-powierzchnie table + table {
	margin-top: 1.5rem;
}

.kozwelder-powierzchnie table,
body.single-projekt-domu .elementor-element-acc7700 table,
body.single-projekt-domu .elementor-element-37f509f table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--kp-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-size: 0.9375rem;
	line-height: 1.35;
	color: var(--kp-ink);
}

.kozwelder-powierzchnie thead tr:first-child th,
body.single-projekt-domu .elementor-element-acc7700 thead tr:first-child th,
body.single-projekt-domu .elementor-element-37f509f thead tr:first-child th {
	background: var(--kp-ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	padding: 0.9rem 1rem;
	border: 0;
	border-bottom: 3px solid var(--kp-primary);
}

.kozwelder-powierzchnie thead tr:nth-child(2) th,
body.single-projekt-domu .elementor-element-acc7700 thead tr:nth-child(2) th,
body.single-projekt-domu .elementor-element-37f509f thead tr:nth-child(2) th {
	background: var(--kp-surface);
	color: var(--kp-muted);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.65rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--kp-line);
}

.kozwelder-powierzchnie thead tr:nth-child(2) th:nth-child(1),
body.single-projekt-domu .elementor-element-acc7700 thead tr:nth-child(2) th:nth-child(1),
body.single-projekt-domu .elementor-element-37f509f thead tr:nth-child(2) th:nth-child(1) {
	text-align: left;
	width: 4.5rem;
}

.kozwelder-powierzchnie thead tr:nth-child(2) th:nth-child(2),
body.single-projekt-domu .elementor-element-acc7700 thead tr:nth-child(2) th:nth-child(2),
body.single-projekt-domu .elementor-element-37f509f thead tr:nth-child(2) th:nth-child(2) {
	text-align: left;
}

.kozwelder-powierzchnie thead tr:nth-child(2) th:nth-child(3),
body.single-projekt-domu .elementor-element-acc7700 thead tr:nth-child(2) th:nth-child(3),
body.single-projekt-domu .elementor-element-37f509f thead tr:nth-child(2) th:nth-child(3) {
	text-align: right;
	width: 5rem;
}

.kozwelder-powierzchnie tbody td,
body.single-projekt-domu .elementor-element-acc7700 tbody td,
body.single-projekt-domu .elementor-element-37f509f tbody td {
	padding: 0.7rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--kp-line);
	vertical-align: middle;
}

.kozwelder-powierzchnie tbody tr:nth-child(even) td,
body.single-projekt-domu .elementor-element-acc7700 tbody tr:nth-child(even) td,
body.single-projekt-domu .elementor-element-37f509f tbody tr:nth-child(even) td {
	background: var(--kp-surface);
}

.kozwelder-powierzchnie tbody tr:last-child td,
body.single-projekt-domu .elementor-element-acc7700 tbody tr:last-child td,
body.single-projekt-domu .elementor-element-37f509f tbody tr:last-child td {
	border-bottom: 0;
}

.kozwelder-powierzchnie tbody td:nth-child(1),
body.single-projekt-domu .elementor-element-acc7700 tbody td:nth-child(1),
body.single-projekt-domu .elementor-element-37f509f tbody td:nth-child(1) {
	color: var(--kp-muted);
	font-variant-numeric: tabular-nums;
	font-size: 0.8125rem;
}

.kozwelder-powierzchnie tbody td:nth-child(2),
body.single-projekt-domu .elementor-element-acc7700 tbody td:nth-child(2),
body.single-projekt-domu .elementor-element-37f509f tbody td:nth-child(2) {
	font-weight: 500;
	letter-spacing: 0.01em;
}

.kozwelder-powierzchnie tbody td:nth-child(3),
body.single-projekt-domu .elementor-element-acc7700 tbody td:nth-child(3),
body.single-projekt-domu .elementor-element-37f509f tbody td:nth-child(3) {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--kp-ink);
}

.kozwelder-powierzchnie tfoot th,
.kozwelder-powierzchnie tfoot td,
.kozwelder-powierzchnie tbody tr th,
body.single-projekt-domu .elementor-element-acc7700 tfoot th,
body.single-projekt-domu .elementor-element-acc7700 tfoot td,
body.single-projekt-domu .elementor-element-acc7700 tbody tr th,
body.single-projekt-domu .elementor-element-37f509f tfoot th,
body.single-projekt-domu .elementor-element-37f509f tfoot td,
body.single-projekt-domu .elementor-element-37f509f tbody tr th {
	background: var(--kp-accent-soft);
	color: var(--kp-ink);
	font-weight: 700;
	padding: 0.85rem 1rem;
	border: 0;
	border-top: 1px solid var(--kp-line);
}

.kozwelder-powierzchnie tfoot th:last-child,
.kozwelder-powierzchnie tfoot td:last-child,
.kozwelder-powierzchnie tbody tr th:last-child,
body.single-projekt-domu .elementor-element-acc7700 tfoot th:last-child,
body.single-projekt-domu .elementor-element-acc7700 tfoot td:last-child,
body.single-projekt-domu .elementor-element-acc7700 tbody tr th:last-child,
body.single-projekt-domu .elementor-element-37f509f tfoot th:last-child,
body.single-projekt-domu .elementor-element-37f509f tfoot td:last-child,
body.single-projekt-domu .elementor-element-37f509f tbody tr th:last-child {
	text-align: right;
	color: var(--kp-primary);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
	.kozwelder-powierzchnie table,
	body.single-projekt-domu .elementor-element-acc7700 table,
	body.single-projekt-domu .elementor-element-37f509f table {
		font-size: 0.875rem;
		border-radius: 10px;
	}

	.kozwelder-powierzchnie thead th,
	.kozwelder-powierzchnie tbody td,
	.kozwelder-powierzchnie tfoot th,
	.kozwelder-powierzchnie tfoot td,
	body.single-projekt-domu .elementor-element-acc7700 th,
	body.single-projekt-domu .elementor-element-acc7700 td,
	body.single-projekt-domu .elementor-element-37f509f th,
	body.single-projekt-domu .elementor-element-37f509f td {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}
