/*
 * Marketingo audito puslapis (page-audit.php).
 * Spalvos ir šriftas – iš esamo Way Makers stiliaus:
 * #214B3B (žalia), #1EBA88 (mėtinė), #FFF5EC (smėlio), #E9F8F3 (šviesi žalia), Nunito Sans.
 */

#audit-page {
	--wm-green: #214b3b;
	--wm-mint: #1eba88;
	--wm-sand: #fff5ec;
	--wm-light: #e9f8f3;
	--wm-black: #000;
	--wm-text: #212529;
	font-family: "Nunito Sans", sans-serif;
	color: var(--wm-text);
	overflow-x: hidden;
}

#audit-page [id] {
	scroll-margin-top: 90px;
}

/* ---------- Bendri ---------- */
.audit-section {
	padding: 100px 0;
}

.audit-sand {
	background-color: var(--wm-sand);
}

.audit-light {
	background-color: var(--wm-light);
	background-image: url("../images/testimonials-bg-01.svg");
	background-position: center 95%;
	background-repeat: no-repeat;
}

.audit-green {
	background-color: var(--wm-green);
	background-image: url("../images/contacts-bg-01.svg");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	color: var(--wm-sand);
}

.audit-h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wm-green);
	margin-bottom: 40px;
}

.audit-green .audit-h2 {
	color: var(--wm-sand);
}

.btn-audit,
#audit-page .wpcf7-submit {
	display: inline-block;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	color: var(--wm-sand);
	background-color: var(--wm-mint);
	border: none;
	border-radius: 0;
	padding: 20px 30px;
	transition: background-color 0.2s ease;
}

.btn-audit:hover,
.btn-audit:focus,
#audit-page .wpcf7-submit:hover,
#audit-page .wpcf7-submit:focus {
	color: var(--wm-sand);
	background-color: #40c49a;
}

/* ---------- 1. Hero ---------- */
.audit-hero {
	position: relative;
	background-color: var(--wm-green);
	background-image: url("../images/contacts-bg-01.svg");
	background-size: 140% auto;
	background-position: 30% 85%;
	background-repeat: no-repeat;
	color: var(--wm-sand);
	padding: 190px 0 120px;
}

.audit-eyebrow {
	font-size: 20px;
	letter-spacing: 1px;
	margin-bottom: 24px;
}

.audit-hero h1 {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 1px;
	color: var(--wm-sand);
	margin-bottom: 32px;
}

.audit-lead {
	font-size: 19px;
	line-height: 1.6;
	max-width: 720px;
	margin-bottom: 40px;
}

.audit-note {
	font-size: 14px;
	margin-top: 16px;
	opacity: 0.85;
}

/* ---------- 2. Kortelės ---------- */
.audit-card {
	height: 100%;
	background: #fff;
	border: 2px solid var(--wm-black);
	padding: 40px 32px;
}

.audit-card-number {
	font-size: 14px;
	font-weight: 800;
	color: var(--wm-mint);
	margin-bottom: 16px;
}

.audit-card h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--wm-green);
	margin-bottom: 12px;
}

.audit-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- 3. Ką gausite ---------- */
.audit-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.audit-checklist li {
	position: relative;
	padding: 18px 0 18px 48px;
	border-bottom: 1px solid #d9d9d9;
	font-size: 19px;
	line-height: 1.5;
}

.audit-checklist li::before {
	content: "\f00c";
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 18px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 14px;
	color: var(--wm-sand);
	background-color: var(--wm-mint);
}

.audit-why {
	height: 100%;
	background-color: var(--wm-sand);
	border-left: 6px solid var(--wm-mint);
	padding: 48px;
}

.audit-why p {
	font-size: 19px;
	line-height: 1.6;
	margin: 0;
}

/* ---------- 4. Sąlygos ---------- */
.audit-condition {
	height: 100%;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border: 1px solid rgba(255, 245, 236, 0.4);
	padding: 32px 28px;
	background-color: rgba(0, 0, 0, 0.15);
}

.audit-condition i {
	flex: 0 0 auto;
	font-size: 22px;
	color: var(--wm-mint);
	margin-top: 2px;
}

.audit-condition p {
	margin: 0;
	font-size: 19px;
	line-height: 1.5;
}

/* ---------- 5. Įrodymai + forma ---------- */
.audit-form-intro {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 40px;
}

.audit-testimonial {
	position: relative;
	background-color: var(--wm-black);
	color: var(--wm-sand);
	padding: 32px;
	margin-bottom: 48px;
}

.audit-testimonial::after {
	content: "";
	position: absolute;
	left: 40px;
	bottom: -32px;
	border-style: solid;
	border-width: 32px 32px 0 0;
	border-color: var(--wm-black) transparent transparent transparent;
}

.audit-stars {
	color: #fff;
	font-size: 20px;
	letter-spacing: 4px;
	margin-bottom: 16px;
}

.audit-testimonial p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

.audit-testimonial a {
	font-size: 14px;
	font-weight: 700;
	color: var(--wm-mint);
	text-decoration: none;
}

.audit-testimonial a:hover {
	text-decoration: underline;
}

.audit-proof-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.audit-person {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--wm-green);
}

.audit-person img {
	border-radius: 50%;
	flex: 0 0 auto;
}

.audit-google {
	width: 130px;
	height: auto;
	flex: 0 0 auto;
}

.audit-form-card {
	background: #fff;
	border: 2px solid var(--wm-black);
	padding: 40px;
	color: var(--wm-text);
}

.audit-green .audit-form-card {
	border-color: var(--wm-mint);
}

/* CF7 forma */
#audit-page .wpcf7 {
	max-width: none;
	margin: 0;
}

.audit-form .row {
	--bs-gutter-y: 20px;
}

.audit-form p {
	margin: 0;
}

.audit-form label br {
	display: none;
}

#audit-page .audit-form .form-control,
#audit-page .audit-form .form-select {
	height: auto;
	min-height: 54px;
	padding: 14px 12px;
	font-size: 16px;
	line-height: 1.5;
}

#audit-page .audit-form textarea.form-control {
	min-height: 110px;
}

.audit-form label {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: var(--wm-green);
	margin-bottom: 6px;
}

.audit-form .wpcf7-form-control-wrap {
	display: block;
}

.audit-form label .wpcf7-form-control-wrap {
	margin-top: 6px;
	font-weight: 400;
}

.audit-form .wpcf7-acceptance label {
	display: inline;
	font-weight: 400;
	font-size: 14px;
	color: var(--wm-text);
}

.audit-form .wpcf7-acceptance input {
	margin-right: 8px;
}

.audit-form .wpcf7-acceptance a {
	color: var(--wm-green);
}

.audit-form .form-control,
.audit-form .form-select {
	border-radius: 0;
	font-size: 16px;
	padding: 14px 12px;
	border: 1px solid #ced4da;
}

.audit-form .form-control:focus,
.audit-form .form-select:focus {
	border-color: var(--wm-mint);
	box-shadow: 0 0 0 0.2rem rgba(30, 186, 136, 0.25);
}

.audit-form .audit-field {
	margin-bottom: 0;
}

.audit-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
	font-size: 14px;
}

.audit-form .wpcf7-submit {
	width: 100%;
	margin-top: 8px;
}

.audit-form .audit-after-submit {
	text-align: center;
	font-size: 14px;
	margin: 12px 0 0;
	color: var(--wm-green);
}

/* Klaidos: raudonas rėmelis kaip visoje svetainėje + paaiškinimas po lauku */
#audit-page .audit-form select.wpcf7-not-valid {
	border: 3px solid #c72c2c !important;
}

#audit-page .audit-form .wpcf7-not-valid-tip {
	display: block;
	visibility: visible;
	font-size: 13px;
	font-weight: 600;
	color: #c72c2c;
	margin-top: 4px;
}

#audit-page .audit-form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	color: var(--wm-green);
	background-color: #fff;
	border: 2px solid var(--wm-mint);
}

#audit-page .audit-form.invalid .wpcf7-response-output,
#audit-page .audit-form.failed .wpcf7-response-output,
#audit-page .audit-form.spam .wpcf7-response-output,
#audit-page .audit-form.unaccepted .wpcf7-response-output {
	color: #c72c2c;
	border-color: #c72c2c;
}

.audit-form .wpcf7-spinner {
	display: none;
}

.audit-form.submitting .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

/* ---------- 6. SEO tekstas ---------- */
.audit-content {
	max-width: 900px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.7;
}

.audit-content h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--wm-green);
	margin: 64px 0 20px;
}

.audit-content > h2:first-child,
.audit-content > *:first-child {
	margin-top: 0;
}

.audit-content .wp-block-table {
	margin: 24px 0 32px;
	overflow-x: auto;
}

.audit-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.audit-content table th,
.audit-content thead td {
	background-color: var(--wm-green);
	color: var(--wm-sand);
	font-weight: 700;
	text-align: left;
	padding: 14px 16px;
	border: 1px solid var(--wm-green);
}

.audit-content table td {
	padding: 14px 16px;
	border: 1px solid #d9d9d9;
	vertical-align: top;
}

.audit-content table tbody tr:nth-child(even) td {
	background-color: var(--wm-sand);
}

.audit-content table td:first-child {
	font-weight: 700;
	color: var(--wm-green);
}

.audit-content ul,
.audit-content ol {
	padding-left: 0;
	list-style: none;
	margin: 20px 0 28px;
}

.audit-content ul li,
.audit-content ol li {
	position: relative;
	padding-left: 36px;
	margin-bottom: 12px;
}

.audit-content ul li::before {
	content: "\f00c";
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--wm-mint);
}

.audit-content ol {
	counter-reset: audit-step;
}

.audit-content ol li {
	counter-increment: audit-step;
}

.audit-content ol li::before {
	content: counter(audit-step);
	position: absolute;
	left: 0;
	top: 2px;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--wm-sand);
	background-color: var(--wm-green);
}

/* DUK (details blokai) */
.audit-content details {
	border-top: 1px solid var(--wm-black);
	padding: 0;
	margin: 0;
}

.audit-content details:last-of-type {
	border-bottom: 1px solid var(--wm-black);
}

.audit-content summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	font-size: 19px;
	font-weight: 700;
	color: var(--wm-black);
	padding: 22px 48px 22px 0;
}

.audit-content summary::-webkit-details-marker {
	display: none;
}

.audit-content summary::after {
	content: "\f107";
	font-family: FontAwesome;
	position: absolute;
	right: 8px;
	top: 20px;
	font-size: 24px;
	color: var(--wm-mint);
	transition: transform 0.2s ease;
}

.audit-content details[open] summary::after {
	transform: rotate(180deg);
}

.audit-content details > :not(summary) {
	padding-bottom: 20px;
	margin: 0;
}

.audit-content .audit-note-small {
	font-size: 14px;
	color: #6c757d;
}

/* ---------- Planšetė ---------- */
@media (max-width: 991.98px) {
	.audit-section {
		padding: 72px 0;
	}

	.audit-hero {
		padding: 150px 0 90px;
		background-size: 220% auto;
	}

	.audit-hero h1 {
		font-size: 40px;
	}

	.audit-h2 {
		font-size: 36px;
		margin-bottom: 28px;
	}

	.audit-proof {
		max-width: 560px;
	}
}

/* ---------- Telefonas ---------- */
@media (max-width: 575.98px) {
	.audit-section {
		padding: 56px 0;
	}

	#audit-page .row.g-5 {
		--bs-gutter-x: 1.5rem;
	}

	.audit-hero {
		padding: 130px 0 64px;
		background-size: 320% auto;
	}

	.audit-eyebrow {
		font-size: 16px;
	}

	.audit-hero h1 {
		font-size: 30px;
		letter-spacing: 0;
	}

	.audit-lead,
	.audit-checklist li,
	.audit-why p,
	.audit-condition p {
		font-size: 17px;
	}

	.btn-audit {
		display: block;
		text-align: center;
	}

	.audit-h2 {
		font-size: 30px;
	}

	.audit-card {
		padding: 28px 22px;
	}

	.audit-why {
		padding: 32px 24px;
	}

	.audit-form-card {
		padding: 24px 18px;
	}

	.audit-proof-bottom {
		flex-wrap: wrap;
	}

	.audit-google {
		width: 110px;
	}

	.audit-content {
		font-size: 16px;
	}

	.audit-content h2 {
		font-size: 28px;
		margin-top: 48px;
	}

	.audit-content summary {
		font-size: 17px;
	}

	/* Lentelės telefone – kortelėmis (stulpelių pavadinimai iš data-label) */
	.audit-content table,
	.audit-content tbody,
	.audit-content tr,
	.audit-content td {
		display: block;
		width: 100%;
	}

	.audit-content thead {
		display: none;
	}

	.audit-content table tbody tr {
		border: 1px solid #d9d9d9;
		border-top: 4px solid var(--wm-green);
		margin-bottom: 16px;
	}

	.audit-content table tbody tr:nth-child(even) td {
		background-color: transparent;
	}

	.audit-content table td {
		border: none;
		padding: 6px 16px;
		font-size: 15px;
	}

	.audit-content table td:first-child {
		font-size: 17px;
		padding-top: 14px;
	}

	.audit-content table td:last-child {
		padding-bottom: 14px;
	}

	.audit-content table td[data-label]:not(:first-child)::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		color: var(--wm-mint);
		margin-bottom: 2px;
	}
}
