/* ==========================================================================
   Piscine Îngropate — Service Maytronics Dolphin
   Template: page-template/piscine-ingropate.php
   ========================================================================== */

/* --- Design tokens (Figma) --- */
.piscine-ingropate-page {
	--pi-primary: #37c9ff;
	--pi-primary-dark: #00a8e6;
	--pi-bg-light: #eef2f6;
	--pi-bg-section: #f0f3f8;
	--pi-card-bg: #f8f8f8;
	--pi-border: #cbcbcb;
	--pi-border-form: #bab7b7;
	--pi-text-muted: #6e6e6e;
	--pi-icon-alert: #ca6f56;
	--pi-text: #000000;
	--pi-white: #ffffff;
	--pi-radius-sm: 15px;
	--pi-radius-md: 20px;
	--pi-radius-lg: 25px;
	--pi-radius-pill: 40px;
	 
}

/* --- Base --- */
.piscine-ingropate-page {
	overflow-x: hidden;
	color: var(--pi-text);
	font-family: var(--pi-font-body);
}

.piscine-ingropate-page h1,
.piscine-ingropate-page h2,
.piscine-ingropate-page h3,
.piscine-ingropate-page h4,
.piscine-ingropate-page h5,
.piscine-ingropate-page h6 {
	color: var(--pi-text);
	font-weight: inherit;
}

.piscine-ingropate-page p,
.piscine-ingropate-page li,
.piscine-ingropate-page a,
.piscine-ingropate-page span {
	font-family: inherit;
}

.piscine-ingropate-page .pi-section-title {
	font-size: 37px;
	font-weight: 700;
	line-height: 47px;

	color: var(--pi-text);
	margin-bottom: 30px;
}

.piscine-ingropate-page .pi-section-title--center {
	text-align: center;
	max-width: 770px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Buttons --- */
.piscine-ingropate-page .pi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.piscine-ingropate-page .pi-btn:hover {
	opacity: 0.9;
	color: var(--pi-white);
}

.piscine-ingropate-page .pi-btn--phone {
	background: var(--pi-primary);
	color: var(--pi-white);
	font-family: var(--pi-font-ui);
	font-size: 25px;
	font-weight: 500;
	line-height: normal;
	border-radius: var(--pi-radius-md);
	min-height: 74px;
	min-width: 248px;
	padding: 0 24px;
}

.piscine-ingropate-page .pi-btn--phone-sm {
	font-size: 21px;
	min-width: 248px;
}

.piscine-ingropate-page .pi-btn--call {
	background: var(--pi-primary);
	color: var(--pi-white);
	border-radius: var(--pi-radius-lg);
	min-height: 104px;
	padding: 12px 24px 12px 16px;
	gap: 12px;
	text-align: left;
}

.piscine-ingropate-page .pi-btn__call-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 65px;
	height: 65px;
	background: var(--pi-primary-dark);
	border-radius: var(--pi-radius-sm);
	flex-shrink: 0;
}

.piscine-ingropate-page .pi-btn__call-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.piscine-ingropate-page .pi-btn__call-text {
	display: flex;
	flex-direction: column;
}

.piscine-ingropate-page .pi-btn__call-label {
	font-family: var(--pi-font-heading);
	font-size: 25px;
	font-weight: 600;
	line-height: 39px;
}

.piscine-ingropate-page .pi-btn__call-number {
	font-family: var(--pi-font-ui);
	font-size: 25px;
	font-weight: 500;
	line-height: normal;
}

.piscine-ingropate-page .pi-btn--submit {
	background: var(--pi-primary-dark);
	color: var(--pi-white);
	font-family: var(--pi-font-ui);
	font-size: 20px;
	font-weight: 500;
	border-radius: var(--pi-radius-md);
	width: 193px;
	height: 55px;
	margin: 0 auto;
	display: flex;
}

/* ==========================================================================
   SECȚIUNEA 1 — HERO
   ========================================================================== */
.piscine-ingropate-page .pi-hero {
	position: relative;
	min-height: 830px;
	overflow: hidden;
}

.piscine-ingropate-page .pi-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.piscine-ingropate-page .pi-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.piscine-ingropate-page .pi-hero__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to left,
		rgba(239, 243, 247, 0) 0%,
		rgba(239, 243, 247, 0.96) 16.074%,
		#eef2f6 44.599%
	);
	width: 100%;
	max-width: 1048px;
}

.piscine-ingropate-page .pi-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 120px;
	padding-bottom: 0;
}

.piscine-ingropate-page .pi-hero__title-row {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 24px;
}

.piscine-ingropate-page .pi-hero__title {
	font-size: 37px;
	font-weight: 700;
	line-height: 53px;
	color: var(--pi-text);
	margin: 0;
	max-width: 433px;
}

.piscine-ingropate-page .pi-hero__badge {
	width: 140px;
	height: auto;
	flex-shrink: 0;
}

.piscine-ingropate-page .pi-hero__lead {
	font-size: 20px;
	font-weight: 400;
	line-height: 34px;
	max-width: 591px;
	margin-bottom: 24px;
}

.piscine-ingropate-page .pi-hero__checklist {
	margin-bottom: 32px;
}

.piscine-ingropate-page .pi-hero__checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 2px;
	font-size: 20px;
	font-weight: 600;
	line-height: 40px;
}

.piscine-ingropate-page .pi-hero__checklist li img:first-child {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	margin-top: 5px;
}

.piscine-ingropate-page .pi-flag-ro {
	width: 40px;
	height: 40px;
	vertical-align: middle;
	display: inline-block;
	margin-left: 4px;
}

/* ==========================================================================
   SECȚIUNEA 2 — DE CE SERVICE
   ========================================================================== */
.piscine-ingropate-page .pi-why {
	padding: 80px 0;
}

.piscine-ingropate-page .pi-card--benefit {
	background: var(--pi-bg-light);
	border: 1px solid var(--pi-primary);
	border-radius: var(--pi-radius-md);
	padding: 26px 22px 22px;
	height: 100%;
	min-height: 278px;
	margin-bottom: 20px;
}

.piscine-ingropate-page .pi-card__icon {
	width: 50px;
	height: 49px;
	object-fit: contain;

}
.col-lg-6.pi-why__content {
	padding-left: 48px;
}

.piscine-ingropate-page .pi-card__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	margin-bottom: 4px;
}

.piscine-ingropate-page .pi-card__text {
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	margin: 0;
}

.piscine-ingropate-page .pi-why__content {
	padding-top: 0;
}

.piscine-ingropate-page .pi-why__text p {
	font-size: 17px;
	line-height: 30px;
	margin-bottom: 30px;
}

/* ==========================================================================
   SECȚIUNEA 3 — PROBLEME
   ========================================================================== */
.piscine-ingropate-page .pi-problems {
	background: var(--pi-bg-section);
	padding: 80px 0 90px;
}

.piscine-ingropate-page .pi-problems__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 48px 0 40px;
}

.piscine-ingropate-page .pi-problem-card {
	background: var(--pi-card-bg);
	border: 1px solid var(--pi-border);
	border-radius: var(--pi-radius-md);
	padding: 20px 16px 16px;
	min-height: 143px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.piscine-ingropate-page .pi-problem-card__icon {
	width: 43px;
	height: 40px;
	object-fit: contain;
	margin-bottom: 8px;

}

.piscine-ingropate-page .pi-problem-card__label {
	font-size: 17px;
	font-weight: 600 !important;
	line-height: 24px;
	margin: 0;
}

.piscine-ingropate-page .pi-problems__note {
	font-size: 25px;
	font-weight: 500 !important;
	line-height: 42px;
	text-align: center;
	max-width: 1300px;
	margin: 0 auto 32px;
}

/* ==========================================================================
   SECȚIUNEA 4 — MODELE
   ========================================================================== */
.piscine-ingropate-page .pi-models {
	padding: 80px 0 90px;
}

.piscine-ingropate-page .pi-models__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	max-width: 1100px;
	margin: 0 auto 24px;
}

.piscine-ingropate-page .pi-models__pill {
	background: var(--pi-bg-section);
	border-radius: var(--pi-radius-pill);
	font-size: 22px;
	font-weight: 600;
	line-height: 40px;
	padding: 14px 32px;
	min-width: 238px;
	text-align: center;
}

.piscine-ingropate-page .pi-models__more {
	font-size: 22px;
	font-weight: 600 !important;
	line-height: 40px;
	text-align: center;
	margin: 0;
	margin-top: 50px;
}


.piscine-ingropate-page .pi-contact {
	background: var(--pi-bg-section);
	padding: 80px 0 100px;
}

.piscine-ingropate-page .pi-contact__subtitle {
	font-size: 22px;
	font-weight: 600 !important;
	line-height: 39px;
	margin-bottom: 32px;
	max-width: 642px;
}

.piscine-ingropate-page .pi-contact__badge-row {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 40px;
}

.piscine-ingropate-page .pi-contact__badge {
	width: 120px;
	height: auto;
	flex-shrink: 0;
}

.piscine-ingropate-page .pi-contact__badge-text {

	font-size: 22px;
	font-weight: 700 !important;
	line-height: normal;
	margin: 0;
	max-width: 348px;
}

.piscine-ingropate-page .pi-form-card {
	background: var(--pi-white);
	border-radius: var(--pi-radius-sm);
	box-shadow: 3px 0 19px -3px rgba(0, 0, 0, 0.25);
	padding: 36px 40px 48px;
}

.piscine-ingropate-page .pi-form-card__title {

	font-size: 40px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 28px;
}

.piscine-ingropate-page .pi-form__field {
	margin-bottom: 20px;
}

.piscine-ingropate-page .pi-form__field input,
.piscine-ingropate-page .pi-form__field textarea {
	width: 100%;
	border: 1px solid var(--pi-border-form);
	border-radius: var(--pi-radius-md);

	font-size: 20px;
	font-weight: 500;
	color: var(--pi-text);
	padding: 20px 24px;
	background: var(--pi-white);
}

.piscine-ingropate-page .pi-form__field input::placeholder,
.piscine-ingropate-page .pi-form__field textarea::placeholder {
	color: var(--pi-text-muted);
}

.piscine-ingropate-page .pi-form__field textarea {
	min-height: 167px;
	resize: vertical;
}

.piscine-ingropate-page .pi-form {
	display: flex;
	flex-direction: column;
}

/* --- Contact Form 7 (#contact-service) --- */
.piscine-ingropate-page #contact-service .wpcf7 {
	margin: 0;
}

.piscine-ingropate-page #contact-service .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.piscine-ingropate-page #contact-service .wpcf7-form p {
	margin: 0 0 20px;
}

.piscine-ingropate-page #contact-service .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

.piscine-ingropate-page #contact-service .form-servicewatermark,
.piscine-ingropate-page #contact-service input.form-servicewatermark,
.piscine-ingropate-page #contact-service textarea.form-servicewatermark,
.piscine-ingropate-page #contact-service .wpcf7-form-control.form-servicewatermark {
	width: 100%;
	border: 1px solid var(--pi-border-form);
	border-radius: var(--pi-radius-md);

	font-size: 20px;
	font-weight: 500;
	color: var(--pi-text);
	padding: 20px 24px;
	background: var(--pi-white);
	box-shadow: none;
}

.piscine-ingropate-page #contact-service .form-servicewatermark::placeholder,
.piscine-ingropate-page #contact-service .wpcf7-form-control.form-servicewatermark::placeholder {
	color: var(--pi-text-muted);
	opacity: 1;
}

.piscine-ingropate-page #contact-service textarea.form-servicewatermark,
.piscine-ingropate-page #contact-service textarea.wpcf7-textarea.form-servicewatermark {
	min-height: 167px;
	resize: vertical;
	height: 167px;
}
div#contact-service .wpcf7-acceptance {

	margin: 0;
}

.piscine-ingropate-page #contact-service .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.piscine-ingropate-page #contact-service .wpcf7-not-valid-tip {

	font-size: 14px;
	margin-top: 6px;
	color: #dc3545;
}

.piscine-ingropate-page #contact-service .wpcf7-not-valid {
	border-color: #dc3545 !important;
}

.piscine-ingropate-page #contact-service .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: var(--pi-radius-md);

	font-size: 16px;
	border: 1px solid var(--pi-border-form);
}

.piscine-ingropate-page #contact-service .wpcf7-spinner {
	margin-left: 12px;
}

.piscine-ingropate-page #contact-service .wpcf7-acceptance {
	display: block;
}

.piscine-ingropate-page #contact-service .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;

	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	color: var(--pi-text);
	cursor: pointer;
}

.piscine-ingropate-page #contact-service .wpcf7-acceptance input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--pi-primary-dark);
}

.piscine-ingropate-page #contact-service .wpcf7-acceptance a {
	color: var(--pi-primary-dark);
	text-decoration: underline;
}

.piscine-ingropate-page #contact-service .wpcf7-acceptance a:hover {
	color: var(--pi-primary);
}

.piscine-ingropate-page #contact-service .btn-service,
.piscine-ingropate-page #contact-service input.btn-service,
.piscine-ingropate-page #contact-service .wpcf7-submit.btn-service {
	background: var(--pi-primary-dark);
	color: var(--pi-white);
	font-family: 'Poppins', sans-serif !important;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
	border-radius: var(--pi-radius-md);
	width: 193px;
	height: 55px;
	padding: 0;
	margin: 8px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.piscine-ingropate-page #contact-service .btn-service:hover,
.piscine-ingropate-page #contact-service input.btn-service:hover {
	opacity: 0.9;
	color: var(--pi-white);
}

.piscine-ingropate-page #contact-service .wpcf7-form p:has(.btn-service),
.piscine-ingropate-page #contact-service .wpcf7-form p:has(.wpcf7-submit) {
	display: flex;
	justify-content: center;
	margin-top: 4px;
	margin-bottom: 0;
}

.piscine-ingropate-page .pi-form__notice {
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px;
	color: #856404;
	background: #fff3cd;
	border: 1px solid #ffeeba;
	border-radius: var(--pi-radius-md);
	padding: 12px 16px;
	margin: 0;
}


@media (min-width: 992px) {
	.piscine-ingropate-page .pi-hero__badge {
		width: 160px;
	}
	.piscine-ingropate-page .pi-card--benefit {

		min-height: 278px;

	}
}

@media (max-width: 1399.98px) {
	.piscine-ingropate-page .pi-problems__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 1199.98px) {
	.piscine-ingropate-page .pi-hero {
		min-height: auto;
	}

	.piscine-ingropate-page .pi-hero__gradient {
		max-width: 100%;
		background: linear-gradient(
			to bottom,
			rgba(238, 242, 246, 0.92) 0%,
			rgba(238, 242, 246, 0.85) 60%,
			rgba(238, 242, 246, 0.4) 100%
		);
	}

	.piscine-ingropate-page .pi-hero__inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.piscine-ingropate-page .pi-hero__title-row {
		flex-direction: column;
	}

	.piscine-ingropate-page .pi-hero__badge {
		display: block;
		width: 140px;
	}

	.piscine-ingropate-page .pi-section-title {
		font-size: 34px;
		line-height: 44px;
	}

	.piscine-ingropate-page .pi-problems__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.piscine-ingropate-page .pi-why__content {
		margin-top: 24px;
	}
}

@media (max-width: 991.98px) {
	.piscine-ingropate-page .pi-hero__title {
		font-size: 34px;
		line-height: 44px;
		max-width: 100%;
	}

	.piscine-ingropate-page .pi-hero__lead {
		font-size: 20px;
		line-height: 30px;
	}

	.piscine-ingropate-page .pi-hero__checklist li {
		font-size: 18px;
		line-height: 32px;
	}

	.piscine-ingropate-page .pi-problems__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.piscine-ingropate-page .pi-problems__note {
		font-size: 20px;
		line-height: 32px;
	}

	.piscine-ingropate-page .pi-models__pill {
		min-width: calc(50% - 18px);
		font-size: 18px;
		padding: 12px 20px;
	}
}

@media (max-width: 767.98px) {
	.piscine-ingropate-page .pi-hero__media img {
		object-position: 74% center !important;
	}
	    .piscine-ingropate-page .pi-hero__gradient {
       
        background: linear-gradient(to bottom, rgba(238, 242, 246, 0.5) 0%, rgba(238, 242, 246, 0.5) 60%, rgba(238, 242, 246, 0.5) 100%);
    }
	.col-lg-6.pi-why__content {
		padding-left: 15px !important;
	}
	.piscine-ingropate-page .pi-hero__inner {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.piscine-ingropate-page .pi-problem-card {

		min-height: auto !important;
	}
	.pi-form-card__title {
		margin-top: 0;
	}
	.piscine-ingropate-page .pi-section-title {
		font-size: 28px;
		line-height: 36px;
	}

	.piscine-ingropate-page .pi-why,
	.piscine-ingropate-page .pi-problems,
	.piscine-ingropate-page .pi-models,
	.piscine-ingropate-page .pi-contact {
		padding: 48px 25px
	}

	.piscine-ingropate-page .pi-btn--phone {
		width: 100%;
		font-size: 20px;
		min-height: 62px;
		padding: 0 16px;
	}

	.piscine-ingropate-page .pi-btn--call {
		width: 100%;
	}

	.piscine-ingropate-page .pi-problems__grid {
		grid-template-columns: 1fr;
	}

	.piscine-ingropate-page .pi-models__pill {
		min-width: 100%;
	}

	.piscine-ingropate-page .pi-form-card {
		padding: 28px 20px 36px;
		margin-top: 46px;
	}

	.piscine-ingropate-page .pi-form-card__title {
		font-size: 25px;
	}

	.piscine-ingropate-page .pi-contact__badge-row {
		flex-direction: column;
		text-align: center;
	}
	.piscine-ingropate-page #contact-service .form-servicewatermark, .piscine-ingropate-page #contact-service input.form-servicewatermark, .piscine-ingropate-page #contact-service textarea.form-servicewatermark, .piscine-ingropate-page #contact-service .wpcf7-form-control.form-servicewatermark {

		font-size: 17px !important;

		padding: 16px 17px !important;
	}
	.container.pi-hero__inner {
		padding: 25px;
	}
}

@media (max-width: 575.98px) {
	.piscine-ingropate-page .pi-hero__title {
		font-size: 26px;
		line-height: 34px;
	}

	.piscine-ingropate-page .pi-hero__checklist li {
		font-size: 16px;
		line-height: 28px;
	}
}
