/* Unified red CTA for individual pest pages — matches hub /daunatori/ sid-cta */

.si-pest-cta {
	--si-red: #c5362a;
	--si-red-deep: #9e2a20;
	--si-green: #1f7a3d;
	--si-ease: cubic-bezier(.22, .61, .36, 1);
	background: var(--si-red);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.si-pest-wrap {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: clamp(16px, 5vw, 40px);
}

.si-pest-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 40px;
	padding-block: clamp(40px, 6vw, 64px);
}

.si-pest-cta-text {
	flex: 1 1 380px;
	text-align: left;
}

.si-pest-cta-h {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.12;
	text-wrap: balance;
	color: #fff !important;
}

.si-pest-cta .si-pest-cta-h,
.si-pest-cta h2#si-pest-cta-title {
	color: #fff !important;
}

.si-pest-cta-text p {
	margin: 0;
	max-width: 52ch;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .76) !important;
	text-align: left;
}

.si-pest-cta-text strong { color: #fff !important; }

.si-pest-cta-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 auto;
	min-width: 260px;
}

.si-pest-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 24px;
	border-radius: 12px;
	font-size: 1.04rem;
	font-weight: 700;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: transform .16s var(--si-ease), background .16s var(--si-ease), box-shadow .16s var(--si-ease), border-color .16s var(--si-ease);
}

.si-pest-btn svg { width: 21px; height: 21px; fill: currentColor; flex: none; }
.si-pest-btn:hover { transform: translateY(-2px); }
.si-pest-btn:active { transform: translateY(0); }

.si-pest-btn--primary {
	background: #fff !important;
	color: var(--si-red) !important;
	border-color: #fff !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.si-pest-btn--primary:hover {
	background: #f2f2f2 !important;
	color: var(--si-red-deep) !important;
}

.si-pest-btn--wa {
	background: var(--si-green) !important;
	color: #fff !important;
	border-color: var(--si-green) !important;
}
.si-pest-btn--wa:hover {
	background: #24914a !important;
	border-color: #24914a !important;
	color: #fff !important;
}

.si-pest-btn--ghost {
	background: transparent !important;
	color: #fff !important;
	border-color: rgba(255, 255, 255, .55) !important;
}
.si-pest-btn--ghost:hover,
.si-pest-btn--ghost:focus {
	background: #fff !important;
	color: #c5362a !important;
	border-color: #fff !important;
}

.si-pest-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Hide legacy Elementor red CTA (replaced by si-pest-cta) */
body.si-pest-page .si-hidden-old-cta {
	display: none !important;
}

/* Breadcrumb on individual pest pages */
.si-pest-bc {
	background: #f4f5f7;
	border-bottom: 1px solid #e5e8ec;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.si-pest-bc-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	font-size: .875rem;
	font-weight: 600;
	color: #5b6470;
}

.si-pest-bc-list a {
	color: #2b2f37 !important;
	text-decoration: none;
	transition: color .15s ease;
}

.si-pest-bc-list a:hover { color: #c5362a !important; }

.si-pest-bc-list li + li::before {
	content: "›";
	margin-right: 10px;
	color: #b0b7c0;
	font-weight: 400;
}

.si-pest-bc-list li[aria-current="page"] {
	color: #c5362a;
}

/* Hide legacy plain-text breadcrumb in hero (replaced by si-pest-bc) */
body.si-pest-page .elementor-top-section:first-of-type .elementor-column:first-child .elementor-widget-text-editor:first-of-type {
	display: none !important;
}

@media (max-width: 640px) {
	.si-pest-cta-actions { width: 100%; min-width: 0; }
	.si-pest-cta-text { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.si-pest-btn:hover { transform: none; }
}

/* FAQ accordion on pest pages */
.si-pest-faq {
	background: #f4f5f7;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	padding-block: clamp(36px, 5vw, 56px);
	border-top: 1px solid #e5e8ec;
}
.si-pest-faq .si-pest-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.si-pest-faq-h {
	margin: 0 0 18px;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #16181d;
	text-align: center;
	width: 100%;
}
.si-pest-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
}
.si-pest-faq-item {
	background: #fff;
	border: 1px solid #e5e8ec;
	border-radius: 12px;
	padding: 0;
}
.si-pest-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 20px;
	font-weight: 700;
	font-size: 1.02rem;
	color: #16181d;
	line-height: 1.35;
}
.si-pest-faq-item summary::-webkit-details-marker { display: none; }
.si-pest-faq-item summary::after {
	content: "+";
	float: right;
	font-weight: 500;
	color: #c5362a;
	margin-left: 12px;
}
.si-pest-faq-item[open] summary::after { content: "–"; }
.si-pest-faq-item p {
	margin: 0;
	padding: 0 20px 18px;
	color: #5b6470;
	font-size: 1rem;
	line-height: 1.6;
}
.si-pest-faq-item p a {
	color: #c5362a;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.si-pest-faq-item p a:hover {
	color: #9e2a20;
}

/* Products block after FAQ — readable dark text (RO + RU pest pages). */
body.si-pest-page .si-pest-faq + .elementor-top-section .elementor-heading-title {
	color: #16181d !important;
}
body.si-pest-page .si-pest-faq + .elementor-top-section .elementor-widget-text-editor,
body.si-pest-page .si-pest-faq + .elementor-top-section .elementor-widget-text-editor p {
	color: #3f464e !important;
}
