/* PP Design Widgets — Services Carousel (scoped) */
.pp-sc {
	--pp-accent: #367887;
	--pp-card-bg: #EAF3F5;
	--pp-ink: #3E3E3E;
	--pp-grey: #8E8E8E;
}

.pp-sc-head {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 30px;
}

.pp-sc-toggle {
	display: flex;
	gap: 40px;
}

.pp-sc-toggle__btn {
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	background: none;
	border: 0;
	padding: 0 0 7px;
	cursor: pointer;
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--pp-grey);
	border-bottom: 2px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.pp-sc-toggle__btn::selection,
.pp-sc-toggle__btn *::selection {
	background: transparent;
}

.pp-sc-toggle__btn:hover {
	color: var(--pp-accent);
}

/* Defensive: some browser extensions inject button:hover backgrounds
   (e.g. rgb(204,51,102) pink). Nothing may repaint the toggle. */
.pp-sc .pp-sc-toggle .pp-sc-toggle__btn,
.pp-sc .pp-sc-toggle .pp-sc-toggle__btn:hover,
.pp-sc .pp-sc-toggle .pp-sc-toggle__btn:focus,
.pp-sc .pp-sc-toggle .pp-sc-toggle__btn:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
}

.pp-sc-toggle__btn.is-active {
	color: var(--pp-accent);
	border-bottom-color: var(--pp-accent);
}

.pp-sc-track--hidden {
	display: none;
}

.pp-sc .swiper {
	overflow: hidden;
}

/* Equal-height slides: stretch every card to the tallest in the row */
.pp-sc .swiper-slide {
	height: auto;
	display: flex;
}

.pp-sc-card {
	position: relative;
	width: 100%;
	background: var(--pp-card-bg);
	border-radius: 12px;
	padding: 28px 30px 30px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
}

.pp-sc-card__go {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #1c1c1c;
	border-radius: 10px;
	transition: transform .2s ease;
}

.pp-sc-card__go:hover {
	transform: translate(2px, -2px);
	background: var(--pp-accent);
	color: #fff;
}

.pp-sc-card {
	transition: transform .25s ease, box-shadow .25s ease;
}

.pp-sc .swiper-slide:hover .pp-sc-card {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(54, 120, 135, .14);
}

.pp-sc-card__title {
	margin: 44px 0 14px;
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--pp-ink);
	text-align: left;
}

.pp-sc-card__text {
	margin: 0;
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pp-ink);
	text-align: left;
}

.pp-sc-foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 22px;
}

.pp-sc-arrows {
	display: flex;
	gap: 9px;
}

.pp-sc-arrow {
	width: 52px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pp-accent);
	color: #fff;
	border: 0;
	border-radius: 17px;
	cursor: pointer;
	transition: filter .2s ease;
}

.pp-sc-arrow:hover {
	filter: brightness(.9);
}

.pp-sc-arrow[disabled] {
	opacity: .45;
	cursor: default;
}


/* ---- PP Image Collage (About pattern, Figma 441x631 / 310x352 / 83x242) ---- */
.pp-collage {
	--pp-collage-shape: #FCEDE6;
	position: relative;
	width: 100%;
}

.pp-collage__large {
	display: block;
	width: 66%;
	margin-left: 34%;
	aspect-ratio: 441 / 631;
	object-fit: cover;
	border-radius: 16px;
	position: relative;
	z-index: 2;
}

.pp-collage__small {
	position: absolute;
	width: 46%;
	aspect-ratio: 310 / 352;
	object-fit: cover;
	border-radius: 16px;
	left: -13%;
	top: -6%;
	z-index: 3;
}

.pp-collage__shape {
	position: absolute;
	width: 12.5%;
	aspect-ratio: 83 / 242;
	background: var(--pp-collage-shape);
	border-radius: 16px;
	left: 26%;
	top: -10%;
	z-index: 1;
}


/* ---- Footer newsletter (Elementor form with .pp-newsletter class) ---- */
.pp-newsletter .elementor-form-fields-wrapper {
	position: relative;
	align-items: center;
}

.pp-newsletter input[type="email"] {
	border-radius: 30px;
	border: 1px solid #3E3E3E;
	padding: 14px 170px 14px 22px;
	background: #fff;
}

.pp-newsletter .elementor-field-type-submit {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: auto !important;
	flex-basis: auto !important;
	display: flex;
}

.pp-newsletter .elementor-field-type-submit .elementor-button {
	height: 100%;
	border-radius: 26px;
	padding: 0 32px;
}


/* Check-badge: kill the inline baseline gap so the white frame is even */
.pp-check-badge .elementor-widget-container {
	line-height: 0;
	text-align: left;
}

.elementor-element.pp-check-badge {
	align-self: flex-start !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.pp-check-badge .elementor-icon {
	display: inline-flex;
}


/* ---- PP Mobile Menu (slide-in panel) ---- */
.pp-mm__toggle {
	background: none;
	border: 0;
	padding: 11px;
	min-width: 48px;
	min-height: 48px;
	justify-content: center;
	color: #3E3E3E;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}

.pp-mm__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(30, 41, 45, .45);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
	z-index: 9998;
}

.pp-mm__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: #fff;
	z-index: 9999;
	transform: translateX(100%);
	transition: transform .3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
}

.pp-mm.is-open .pp-mm__backdrop {
	opacity: 1;
	pointer-events: auto;
}

.pp-mm.is-open .pp-mm__panel {
	transform: translateX(0);
}

.pp-mm__head {
	display: flex;
	justify-content: flex-end;
	padding: 18px 18px 6px;
}

.pp-mm__close {
	background: #EAF3F5;
	border: 0;
	border-radius: 12px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #3E3E3E;
	cursor: pointer;
}

.pp-mm__nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 26px 20px;
}

.pp-mm__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pp-mm__nav > ul > li {
	border-bottom: 1px solid #EAF3F5;
}

.pp-mm__nav a {
	display: block;
	padding: 15px 0;
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	color: #1c1c1c;
}

.pp-mm__nav a:hover {
	color: #367887;
}

.pp-mm__nav .sub-menu a {
	font-size: 16px;
	font-weight: 400;
	color: #3E3E3E;
	padding: 9px 0 9px 16px;
}

.pp-mm__cta {
	padding: 18px 26px 28px;
	border-top: 1px solid #EAF3F5;
}

.pp-mm__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #367887;
	color: #fff;
	border-radius: 30px;
	padding: 14px 20px;
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 17px;
	font-weight: 700;
}

.pp-mm__button:hover {
	color: #fff;
	filter: brightness(.92);
}

body.pp-mm-lock {
	overflow: hidden;
}


/* Extension-immunity: nothing may repaint our interactive elements.
   (A Chrome extension in some profiles injects button:hover {background:#C36}.) */
.pp-mm__toggle,
.pp-mm__toggle:hover,
.pp-mm__toggle:focus,
.pp-mm__toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	color: #3E3E3E !important;
}

.pp-mm__close,
.pp-mm__close:hover,
.pp-mm__close:focus,
.pp-mm__close:active {
	background: #EAF3F5 !important;
	background-color: #EAF3F5 !important;
	color: #3E3E3E !important;
}

.pp-mm__close:hover {
	background: #d9e9ec !important;
	background-color: #d9e9ec !important;
}

.pp-sc-arrow,
.pp-sc-arrow:hover,
.pp-sc-arrow:focus,
.pp-sc-arrow:active {
	background: var(--pp-accent) !important;
	background-color: var(--pp-accent) !important;
}

.pp-sc-card__go:hover {
	background: var(--pp-accent) !important;
}


/* Accessibility: larger close icon + visible keyboard focus rings */
.pp-mm__close svg {
	width: 24px;
	height: 24px;
}

.pp-mm__toggle:focus-visible,
.pp-mm__close:focus-visible,
.pp-sc-toggle__btn:focus-visible,
.pp-sc-arrow:focus-visible,
.pp-sc-card__go:focus-visible,
.pp-mm__nav a:focus-visible,
.pp-mm__button:focus-visible {
	outline: 3px solid #367887 !important;
	outline-offset: 2px;
}

/* [CHECK LIST BULLETS] Sizes the Figma-exported check SVG (gradient rounded square baked into the
   SVG itself - no CSS background needed). Why: Elementor icon-list has no icon sizing for SVG media.
   Used on: icon-list widgets with class .pp-check-list, site-wide. Updated 04/08/2026. */
.pp-check-list .elementor-icon-list-icon {
	width: 25px;
	min-width: 25px;
	display: inline-flex;
	align-items: flex-start;
}
.pp-check-list .elementor-icon-list-icon svg {
	width: 25px !important;
	min-width: 25px !important;
	height: 25px !important;
}
.pp-check-list .elementor-icon-list-item {
	align-items: flex-start;
}

/* ---- PP FAQ accordion (horizontal dividers only, per Figma) ---- */
.pp-faq .elementor-accordion-item {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid #000000 !important;
}
.pp-faq .elementor-accordion-item .elementor-tab-content {
	border-top: 0 !important;
}

/* ---- Hero WhatsApp label: number on its own line between mobile and laptop ---- */
@media (min-width: 768px) and (max-width: 1200px) {
	.pp-wa-num { display: block; }
}

/* [SERVICES TOGGLE MOBILE] Keep both toggle labels fully on-screen at phone widths.
   Why: two 20px bold labels + 40px gap exceed a 375px viewport and clipped off-page.
   Used on: pp-services-carousel toggle. Added 04/08/2026. */
@media (max-width: 540px) {
	.pp-sc-toggle {
		gap: 22px;
		flex-wrap: wrap;
	}
	.pp-sc-toggle__btn {
		font-size: 16px;
	}
}

/* [FOOTER NEWSLETTER MOBILE] Stack the email field and Subscribe button on phones.
   Why: the button-inside-field pill leaves too little typing room below ~540px and
   input text was hidden under the button. Field on top, full-width button below.
   Used on: footer newsletter form (.pp-newsletter). Added 04/08/2026. */
@media (max-width: 540px) {
	.pp-newsletter input[type="email"] {
		padding-right: 22px;
	}
	.pp-newsletter .elementor-field-type-submit {
		position: static;
		width: 100% !important;
		flex-basis: 100% !important;
		margin-top: 10px;
	}
	.pp-newsletter .elementor-field-type-submit .elementor-button {
		width: 100%;
		height: auto;
		padding: 12px 32px;
	}
}

/* [FAQ QUESTION TYPOGRAPHY] Styles accordion question titles (h3) in one place.
   Why: Elementor stopped emitting the widget's title_typography rules after the
   global-typography retrofit; kit h3 tag styles then applied 20px/1.0 on mobile.
   Used on: every accordion with class .pp-faq, site-wide. Added 04/08/2026. */
.pp-faq .elementor-tab-title,
.pp-faq .elementor-tab-title a {
	font-family: "palatino-linotype", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45 !important; /* Elementor's accordion base css sets line-height:1 at equal specificity */
}
@media (max-width: 767px) {
	.pp-faq .elementor-tab-title,
	.pp-faq .elementor-tab-title a {
		font-size: 16px;
	}
}
