/*
Theme Name: Twój Ekoaudyt Child
Theme URI: https://xn--twj-ekoaudyt-1hb.pl/
Description: Lekki motyw potomny Hello Elementor dla serwisu Twój Ekoaudyt.
Author: Twój Ekoaudyt
Template: hello-elementor
Version: 2.0.0-rc1
Text Domain: twoj-ekoaudyt-child
*/

:root {
	--tea-navy: #102f36;
	--tea-green: #157a6e;
	--tea-green-dark: #0f5f56;
	--tea-mint: #e8f5f1;
	--tea-cream: #f7f8f4;
	--tea-white: #ffffff;
	--tea-text: #17383e;
	--tea-muted: #5c6f73;
	--tea-border: #d8e3e1;
	--tea-danger: #a61b1b;
	--tea-radius-sm: 10px;
	--tea-radius: 18px;
	--tea-shadow: 0 18px 55px rgba(16, 47, 54, 0.10);
	--tea-container: 1180px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tea-white);
	color: var(--tea-text);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--tea-navy);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.12;
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

a {
	color: var(--tea-green-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(21, 122, 110, 0.3);
	outline-offset: 3px;
}

.tea-container {
	width: min(calc(100% - 36px), var(--tea-container));
	margin-inline: auto;
}

.tea-section {
	padding-block: clamp(64px, 8vw, 112px);
}

.tea-section--soft {
	background: var(--tea-cream);
}

.tea-section--mint {
	background: var(--tea-mint);
}

.tea-eyebrow {
	color: var(--tea-green-dark);
	font-size: 13px;
	font-weight: 760;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tea-lead {
	color: var(--tea-muted);
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.55;
}

.tea-button .elementor-button,
.tea-button-link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	border: 1px solid var(--tea-green);
	border-radius: var(--tea-radius-sm);
	background: var(--tea-green);
	color: #fff;
	font-weight: 740;
	min-height: 50px;
	padding: 13px 22px;
	transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.tea-button .elementor-button:hover,
.tea-button-link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--tea-green-dark);
	border-color: var(--tea-green-dark);
	color: #fff;
	transform: translateY(-1px);
}

.tea-button--secondary .elementor-button {
	background: transparent;
	color: var(--tea-green-dark);
}

.tea-card,
.tea-price-card,
.tea-trust-card {
	height: 100%;
	border: 1px solid var(--tea-border);
	border-radius: var(--tea-radius);
	background: var(--tea-white);
	box-shadow: 0 12px 38px rgba(16, 47, 54, 0.07);
	padding: clamp(22px, 3vw, 34px);
}

.tea-price-card--featured {
	border: 2px solid var(--tea-green);
	box-shadow: var(--tea-shadow);
}

.tea-price {
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 820;
	letter-spacing: -0.055em;
	line-height: 1;
}

.tea-trustbar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--tea-border);
	border-radius: var(--tea-radius);
	background: var(--tea-border);
	overflow: hidden;
}

.tea-trustbar > * {
	background: #fff;
	padding: 20px;
	text-align: center;
}

.tea-proof {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: var(--tea-mint);
	color: var(--tea-green-dark);
	font-size: 14px;
	font-weight: 720;
	padding: 8px 13px;
}

.tea-faq details {
	border-bottom: 1px solid var(--tea-border);
	padding-block: 18px;
}

.tea-faq summary {
	color: var(--tea-navy);
	cursor: pointer;
	font-weight: 720;
	list-style-position: outside;
}

.tea-faq details > div {
	color: var(--tea-muted);
	padding-top: 10px;
}

.tea-sticky-cta {
	display: none;
}

.woocommerce form.checkout,
.woocommerce .woocommerce-order {
	max-width: 1060px;
	margin-inline: auto;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 48px;
	border: 1px solid #b9cbc8;
	border-radius: var(--tea-radius-sm);
	padding: 10px 12px;
}

.woocommerce-checkout #payment,
.woocommerce table.shop_table {
	border-color: var(--tea-border);
	border-radius: var(--tea-radius);
	background: #fff;
}

.tea-checkout-consent {
	border: 1px solid #c5d8d4;
	border-radius: var(--tea-radius-sm);
	background: var(--tea-mint);
	padding: 14px 16px !important;
}

@media (max-width: 820px) {
	.tea-trustbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tea-sticky-cta {
		display: block;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		z-index: 999;
	}

	.tea-sticky-cta .elementor-button {
		width: 100%;
		box-shadow: 0 10px 30px rgba(16, 47, 54, 0.24);
	}
}

/* Korekty projektu 2026-10: nagłówek, kafle i partnerzy. */
.tea-topbar {
	position: relative !important;
	top: auto !important;
}

.tea-e-service-card,
.tea-e-process-card,
.tea-e-route-card {
	box-shadow: 0 16px 42px rgba(16, 47, 54, 0.10);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tea-e-service-card:hover,
.tea-e-process-card:hover,
.tea-e-route-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 58px rgba(16, 47, 54, 0.16);
	border-color: rgba(183, 226, 38, 0.72);
}

.tea-e-button-primary .elementor-button:hover,
.tea-e-service-card .elementor-button:hover,
.tea-e-route-card .elementor-button:hover {
	box-shadow: 0 0 0 5px rgba(183, 226, 38, 0.18), 0 12px 30px rgba(16, 47, 54, 0.18);
}

.tea-e-process-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
}

.tea-e-tudor-logo {
	width: min(100%, 220px);
	margin: 28px auto 0;
	padding: 20px;
	border: 1px solid var(--tea-border);
	border-radius: var(--tea-radius);
	background: var(--tea-white);
	box-shadow: 0 12px 38px rgba(16, 47, 54, 0.07);
}

.tea-e-tudor-logo img {
	max-height: 110px;
	width: auto;
	object-fit: contain;
}

@media (max-width: 820px) {
	.tea-e-process-grid {
		grid-template-columns: 1fr;
	}
}

/* Symetryczny układ partnerów: 3 × 2 na desktopie, większe i równe kafelki. */
@media (min-width: 821px) {
	.tea-trusted-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 22px !important;
	}

	.tea-trusted-logo {
		min-height: 168px !important;
		padding: 30px !important;
	}

	.tea-trusted-logo img {
		width: 100% !important;
		height: 96px !important;
		max-width: 260px !important;
		margin-inline: auto;
		object-fit: contain !important;
	}
}

.tea-route-context {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 2px 12px;
	width: fit-content;
	max-width: 100%;
	margin-top: 18px;
	padding: 12px 16px;
	border: 1px solid rgba(16, 47, 54, 0.16);
	border-radius: 14px;
	background: #f6f9f1;
	color: #102f36;
}

.tea-route-context::before {
	content: '';
	grid-row: 1 / span 2;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #b7e226;
	box-shadow: 0 0 0 5px rgba(183, 226, 38, 0.20);
}

.tea-route-context > span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.68;
}

.tea-route-context > strong {
	grid-column: 2;
	font-size: 16px;
	line-height: 1.25;
}

.tea-route-context > small {
	grid-column: 1 / -1;
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.45;
	color: #456269;
}

@media (max-width: 560px) {
	.tea-route-context {
		width: 100%;
	}
}

body.tea-glossy-site .tea-mobile-menu[hidden] {
  display: none !important;
}
body.tea-glossy-site .tea-mobile-menu:not([hidden]) {
  display: grid !important;
}

/* Header v2: consistent neutral close control on mobile and tablet. */
@media (max-width: 1120px) {
  body .tea-v2-site-header .tea-v2-menu-toggle,
  body .tea-v2-site-header .tea-v2-menu-toggle:hover,
  body .tea-v2-site-header .tea-v2-menu-toggle:focus,
  body .tea-v2-site-header .tea-v2-menu-toggle:active,
  body .tea-v2-site-header .tea-v2-menu-toggle[aria-expanded="true"],
  body .tea-v2-site-header.is-menu-open .tea-v2-menu-toggle {
    background: #ecf4f1 !important;
    color: #102f36 !important;
    border: 1px solid #cddfda !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  body .tea-v2-site-header .tea-v2-menu-icon,
  body .tea-v2-site-header .tea-v2-menu-icon i {
    color: #102f36 !important;
  }
}

/* Mobile UX hotfix 2026-10-08: order wizard and nav states. */
@media (max-width: 780px) {
  body.tea-glossy-site .tea-topbar .tea-menu-btn,
  body.tea-glossy-site .tea-topbar .tea-menu-btn:hover,
  body.tea-glossy-site .tea-topbar .tea-menu-btn:focus,
  body.tea-glossy-site .tea-topbar .tea-menu-btn:active,
  body.tea-glossy-site .tea-topbar .tea-menu-btn[aria-expanded="true"] {
    display: flex !important;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 44px;
    height: 44px;
    padding: 7px !important;
    border: 1px solid #cddfda !important;
    border-radius: 11px !important;
    background: #ecf4f1 !important;
    color: #102f36 !important;
    box-shadow: none !important;
    outline-offset: 3px;
  }
  body.tea-glossy-site .tea-topbar .tea-menu-btn span {
    width: 22px !important;
    height: 2px !important;
    margin: 3px auto !important;
    background: #102f36 !important;
    border-radius: 3px;
    transition: transform .18s ease, opacity .18s ease;
  }
  body.tea-glossy-site .tea-topbar .tea-menu-btn[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }
  body.tea-glossy-site .tea-topbar .tea-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  body.tea-glossy-site .tea-topbar .tea-menu-btn[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
  body.tea-page-zamow-swiadectwo .tea-wizard,
  body.tea-page-zamow-swiadectwo .tea-wizard-head,
  body.tea-page-zamow-swiadectwo .tea-wizard-head > div {
    max-width: 100%;
    min-width: 0;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard-head h2 {
    font-size: clamp(24px, 6.8vw, 34px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard-head > div:first-child > p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    overflow-wrap: break-word;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard-assurance {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard-assurance span {
    display: block !important;
    min-width: 0;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    border-radius: 12px;
    padding: 10px 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  body.tea-page-zamow-swiadectwo .tea-route-context {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 100%;
    min-width: 0;
    margin: 18px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 14px;
  }
  body.tea-page-zamow-swiadectwo .tea-route-context > span,
  body.tea-page-zamow-swiadectwo .tea-route-context > strong,
  body.tea-page-zamow-swiadectwo .tea-route-context > small {
    display: block !important;
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    text-align: left;
  }
  body.tea-page-zamow-swiadectwo .tea-route-context > span {
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: .06em;
  }
  body.tea-page-zamow-swiadectwo .tea-route-context > strong {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }
  body.tea-page-zamow-swiadectwo .tea-route-context > small {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body.tea-page-zamow-swiadectwo .tea-step-intro h3 {
    font-size: clamp(22px, 5.8vw, 30px) !important;
    line-height: 1.2 !important;
  }
  body.tea-page-zamow-swiadectwo .tea-grid,
  body.tea-page-zamow-swiadectwo .tea-choice-grid,
  body.tea-page-zamow-swiadectwo .tea-choice-grid.tea-two {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.tea-page-zamow-swiadectwo .tea-grid > *,
  body.tea-page-zamow-swiadectwo .tea-choice-grid > *,
  body.tea-page-zamow-swiadectwo .tea-step > * {
    min-width: 0;
  }
  body.tea-page-zamow-swiadectwo .tea-nav {
    flex-wrap: wrap;
  }
  body.tea-page-zamow-swiadectwo .tea-nav .tea-btn {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
  }
}
@media (max-width: 380px) {
  body.tea-glossy-site .tea-topbar .tea-brand strong {
    font-size: 13px;
  }
  body.tea-glossy-site .tea-topbar .tea-nav-actions {
    gap: 6px;
  }
  body.tea-page-zamow-swiadectwo .tea-wizard {
    padding: 14px !important;
  }
}

/* Accessibility: stronger contrast on light page heroes and the dark footer. */
body.tea-glossy-site .tea-e-page-hero-simple .tea-e-eyebrow p {
	color: #0f5f56 !important;
}
body.tea-glossy-site .tea-e-page-hero-simple .tea-e-lead p {
	color: #3f5960 !important;
}
body.tea-glossy-site .tea-brand-footer small {
	color: rgba(255, 255, 255, 0.78) !important;
}
body.tea-page-kontakt .tea-e-standard-page .tea-e-copy a,
body.tea-page-kontakt .tea-native-contact a,
body.tea-page-kontakt .tea-native-contact small {
	color: #0f5f56 !important;
}
body.tea-page-kontakt .tea-e-standard-page .tea-e-copy p,
body.tea-page-kontakt .tea-e-standard-action .tea-e-copy p {
	color: #3f5960 !important;
}
body.tea-page-kontakt .tea-e-button-primary .elementor-button {
	color: #082238 !important;
}
body.tea-page-kontakt .tea-native-contact .tea-btn {
	color: #082238 !important;
}
body.tea-glossy-site .tea-e-final .tea-e-copy p {
	color: rgba(255, 255, 255, 0.88) !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
