/**
 * AquaPure child theme: Home 01 hero, problem finder, process and systems table (R-31 to R-34).
 * Loaded after style.css (inc/setup.php). Each block names its custom-code register row.
 *
 * @package AquaPure
 */

/* R-31 Home hero (design .hero, .zip, .trust, .stage, .slot, .play, .wf). Native: section min-height, padding, group
   grid/flex, absolute positions, background image + gradient, borders, shadows. Here only what has no field:
   flex grow of row/column/stage, CF7 pill frame, inline marks in text, the live ping, the play ring and the
   short-screen reductions (max-height queries). */
.el-hero>.et_pb_row,
.el-hero-col,
.el-stage {
	flex: 1 1 auto
}

.el-pano {
	flex: 1 1 auto;
	min-height: 100%
}

.el-zipf>p {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 68px;
	padding: 8px 8px 8px 28px;
	border-radius: 999px;
	background: var(--gcid-44818934e9, #EEF3F4);
	box-shadow: inset 0 0 0 1px var(--gcid-f1e1d11ae0, #7A878D);
	transition: box-shadow .25s, background-color .25s
}

.el-zipf .wpcf7-form-control-wrap {
	flex: 1;
	min-width: 0
}

.el-zipf input.wpcf7-text {
	min-height: 44px;
	outline: 0
}

.el-zipf .wpcf7-submit {
	height: 56px;
	white-space: nowrap
}

.el-zipf .wpcf7-spinner {
	position: absolute;
	right: 16px;
	top: -30px;
	margin: 0
}

.el-zip .wpcf7-response-output {
	display: none
}

/* The CF7 module is a flex box; its clearfix pseudo-elements become flex items and add a 30 px gap. */
.et_pb_contact_form_7.clearfix::before,
.et_pb_contact_form_7.clearfix::after {
	display: none
}

#page-container .el-zipf>p {
	padding-bottom: 8px
}

.el-trust p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px
}

.el-trust strong {
	color: var(--gcid-68132854d9, #0E1A1F);
	font-weight: 600
}

.el-trust .el-star {
	color: var(--gcid-3d46655f50, #8A4214)
}

.el-trust i {
	width: 1px;
	height: 14px;
	background: var(--gcid-6adf4739b0, #DCE3E6)
}

.el-slot-t strong,
.el-play-t strong {
	display: block;
	color: #FFFFFF
}

.el-slot-t strong {
	font-size: 16px
}

.el-play-t strong {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em
}

.el-play-t p {
	white-space: nowrap
}

.el-live {
	flex: 0 0 auto
}

.el-live::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 2px solid #6FD3A7;
	border-radius: 50%;
	opacity: 0;
	animation: el-ping 2.4s ease-out infinite
}

@keyframes el-ping {
	0% {
		transform: scale(.6);
		opacity: .9
	}

	100% {
		transform: scale(1.6);
		opacity: 0
	}
}

.el-pb {
	flex: 0 0 auto;
	transition: transform .35s, background-color .25s
}

.el-pb::before {
	content: "";
	position: absolute;
	inset: -9px;
	border: 1.5px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	transition: inset .35s, opacity .35s
}

.el-pb .et-pb-icon {
	margin-left: 4px
}

.el-play:hover .el-pb {
	transform: scale(1.06);
	background-color: #FFFFFF
}

.el-play:hover .el-pb::before {
	inset: -14px;
	opacity: .35
}

/* Padding of the label, its rows and the slot card lives here, not in the modules: native padding is printed with
   !important, which would block the short-screen reductions below. */
.el-wf {
	padding: 16px 20px 20px
}

.el-wr {
	padding: 8px 0
}

.el-slot {
	padding: 16px 20px
}

.el-wr em {
	margin-left: 8px;
	color: var(--gcid-3d46655f50, #8A4214);
	font-size: 12px;
	font-style: normal;
	font-weight: 600
}

.el-wr em.el-ok {
	color: var(--gcid-28669f4abe, #1F4D3B)
}

.el-wf--fresh .el-wr {
	animation: el-row .5s ease-out both
}

.el-wf--fresh .el-wr:nth-child(4) {
	animation-delay: .06s
}

.el-wf--fresh .el-wr:nth-child(5) {
	animation-delay: .12s
}

.el-wf--fresh .el-wr:nth-child(6) {
	animation-delay: .18s
}

.el-wf--fresh .el-wr:nth-child(7) {
	animation-delay: .24s
}

@keyframes el-row {
	from {
		opacity: 0;
		transform: translateY(6px)
	}

	to {
		opacity: 1;
		transform: none
	}
}

.el-wf-n strong {
	color: var(--gcid-68132854d9, #0E1A1F)
}

@media (min-width:981px) and (max-height:860px) {
	#page-container .el-wf {
		width: 320px;
		max-width: 320px;
		padding: 12px 16px 16px
	}

	#page-container .el-wf h2 {
		font-size: 28px
	}

	#page-container .el-wr {
		padding: 4px 0
	}

	#page-container .el-wr>div:first-child p {
		font-size: 14px
	}

	.el-wf-n {
		display: none
	}
}

@media (min-width:981px) and (max-height:760px) {
	#page-container .el-hero .preset--module--divi-text--rjwp5fo9pr p {
		font-size: 16px
	}

	.el-zipf>p {
		height: 58px
	}

	.el-zipf .wpcf7-submit {
		height: 46px
	}

	#page-container .el-pb {
		width: 60px;
		max-width: 60px;
		height: 60px;
		min-height: 60px
	}

	#page-container .el-slot {
		padding: 12px 16px
	}

	.el-slot-t strong {
		font-size: 15px
	}
}

@media (min-width:981px) and (max-height:720px) {
	.el-wf-s {
		display: none
	}

	#page-container .el-wf h2 {
		font-size: 24px
	}

	.el-wf>.el-wr:nth-child(7) {
		display: none
	}
}

@media (min-width:981px) and (max-width:1279px) {
	#page-container .el-hero h1 {
		font-size: clamp(60px, 8.6vh, 76px)
	}
}

@media (max-width:980px) {

	.el-hero>.et_pb_row,
	.el-hero-col,
	.el-stage {
		flex: none
	}

	.el-pano {
		min-height: 0
	}
}

@media (max-width:767px) {
	#page-container .el-zipf>p {
		flex-direction: column;
		align-items: stretch;
		height: auto;
		padding: 8px;
		border-radius: 22px
	}

	.el-zipf input.wpcf7-text {
		min-height: 44px
	}

	.et_pb_accordion .et_pb_toggle .et_pb_toggle_title::before {
		width: 36px;
		height: 36px;
		margin-top: -20px
	}

	/* Design .fq button at 640: min-height 72 with the question centred, one line or two. */
	.et_pb_accordion .et_pb_toggle_title {
		display: flex;
		align-items: center;
		min-height: 72px;
		padding-right: 60px
	}

	#page-container .et_pb_accordion .et_pb_toggle_content {
		padding: 0 0 28px
	}

	.el-pledge small {
		letter-spacing: inherit
	}

	.el-pano {
		aspect-ratio: 4/3
	}

	.el-slot {
		padding: 12px 16px
	}

	.el-play-t strong {
		font-size: 15px
	}

	.el-trust p {
		gap: 8px 16px
	}

	.el-trust i {
		display: none
	}
}

/* R-32 Home problem finder (design .pf). Native: Button / Problem Row and Group / Problem Card presets, grid
   groups, Interactions (hover and click show one card, add is-on to its row). Here: the row's number column
   (counter), the arrow's resting state, the active shift, the h4 gap and the card text rise. */
.el-pf-list {
	counter-reset: el-pf
}

#page-container .el-pf-list .el-pf-b {
	counter-increment: el-pf;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 84px;
	color: var(--gcid-2ccbcdbe0a, #46535B);
	text-align: left;
	transition: color .25s
}

#page-container .el-pf-list .el-pf-b:hover {
	color: var(--gcid-68132854d9, #0E1A1F)
}

#page-container .el-pf-list .el-pf-b::after {
	display: none
}

.el-pf-b>span::before {
	content: counter(el-pf, decimal-leading-zero);
	display: inline-block;
	width: 56px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums
}

.el-pf-b>span {
	display: flex;
	align-items: center;
	transition: padding .3s
}

/* Divi prints ".et_pb_button_N::before{display:none !important}" for buttons whose icon is off; the row arrow needs to win. */
html body #page-container .et_pb_section .el-pf-list .el-pf-b::before {
	display: block !important
}

#page-container .el-pf-list .el-pf-b::before {
	content: "\2192";
	order: 2;
	display: block;
	position: static;
	margin: 0;
	color: var(--gcid-3d46655f50, #8A4214);
	font: inherit;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .25s, transform .25s
}

#page-container .el-pf-list .el-pf-b.is-on {
	color: var(--gcid-68132854d9, #0E1A1F)
}

.el-pf-b.is-on>span {
	padding-left: 12px
}

#page-container .el-pf-list .el-pf-b.is-on::before {
	opacity: 1;
	transform: none
}

#page-container .el-pf-list .el-pf-b:focus-visible {
	outline: 2px solid var(--gcid-68132854d9, #0E1A1F);
	outline-offset: -2px
}

.el-pf-fact h4 {
	padding-bottom: 8px
}

.el-pf-price strong {
	display: block;
	color: var(--gcid-68132854d9, #0E1A1F);
	font-size: 28px;
	letter-spacing: -.02em
}

.el-pf-go {
	animation: el-rise .5s ease-out both
}

@keyframes el-rise {
	from {
		opacity: 0;
		transform: translateY(8px)
	}

	to {
		opacity: 1;
		transform: none
	}
}

@media (max-width:767px) {
	#page-container .el-pf-list .el-pf-b {
		min-height: 64px
	}
}

/* R-33 Home process and promises (design .proc, .photo, .steps, .pledge, .gtee). Native: colours, fonts, grid
   groups, borders, absolute captions. Here: the photo's 4:5 crop, the step time floated right, the pledge
   signature row, and the promise cells' dividers, which change at 1180 px (no native breakpoint there). */
.el-photo {
	aspect-ratio: 4/5
}

.el-photo-img,
.el-photo-img .et_pb_image_wrap {
	height: 100%
}

.el-photo-img img {
	object-fit: cover;
	object-position: 30% 40%
}

.el-play--sm .el-pb::before,
.el-play--sm:hover .el-pb::before {
	inset: -6px
}

/* Design: the small play control is pinned top 20 and bottom 28, so it sits centred down the photo's left edge. */
#page-container .el-play--sm {
	bottom: 28px
}

@media (max-width:767px) {
	#page-container .el-play--sm {
		bottom: auto
	}
}

.el-play--sm .el-play-t strong {
	font-size: 15px
}

.el-cap strong {
	display: block;
	font-size: 15px
}

.el-step-t {
	float: right;
	padding: 0;
	color: var(--gcid-26c2a85d99, #C9E2E9);
	font-size: 14px;
	font-weight: 500
}

.el-step-c h3 {
	padding-bottom: 8px
}

.el-pledge small {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	color: var(--gcid-26c2a85d99, #C9E2E9);
	font-size: 14px;
	letter-spacing: 0
}

/* The default Text preset prints margin:0 !important, so the design's 32px cell margin needs !important here. */
#page-container .el-gtee .el-g {
	padding: 36px 32px 40px 0;
	margin-right: 32px !important;
	border-right: 1px solid var(--gcid-6adf4739b0, #DCE3E6)
}

#page-container .el-gtee .el-g:last-child {
	margin-right: 0 !important;
	border-right: 0
}

.el-g-n {
	padding: 0;
	color: var(--gcid-078aea8610, #0B3C49);
	font-size: 44px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums
}

.el-g h3 {
	margin-top: 16px;
	padding-bottom: 8px
}

@media (max-width:1279px) {
	#page-container .el-gtee {
		grid-template-columns: repeat(2, minmax(0, 1fr))
	}

	#page-container .el-gtee .el-g:nth-child(2) {
		margin-right: 0 !important;
		border-right: 0
	}
}

@media (max-width:767px) {
	.el-step-t {
		float: none;
		margin-bottom: 4px
	}

	#page-container .el-gtee .el-g {
		padding: 28px 0;
		margin-right: 0 !important;
		border-right: 0;
		border-bottom: 1px solid var(--gcid-6adf4739b0, #DCE3E6)
	}

	#page-container .el-gtee .el-g:last-child {
		border-bottom: 0
	}

	.el-g-n {
		font-size: 36px
	}

	#page-container .el-gtee {
		grid-template-columns: minmax(0, 1fr)
	}
}

/* R-34 Home systems table (design .pl-r, .pillcd). Native: grid per breakpoint, hover background, hidden cells
   below 981 px, Countdown module. Here: the hover inset, the arrow's hover fill, the name link colour, the cell
   order on tablet/phone and the 1180 px column widths (no native breakpoint there). */
.el-pl-r {
	transition: background-color .25s, padding .3s
}

#page-container .el-pl-r:hover {
	padding-right: 20px;
	padding-left: 20px
}

.el-pl-name a:focus-visible {
	outline: 2px solid var(--gcid-68132854d9, #0E1A1F);
	outline-offset: 4px
}

.el-pl-m strong {
	display: block;
	color: var(--gcid-68132854d9, #0E1A1F);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums
}

.el-pl-arr {
	transition: background-color .25s, border-color .25s, color .25s
}

#page-container .el-pl-r:hover .el-pl-arr {
	background: var(--gcid-68132854d9, #0E1A1F);
	border-color: var(--gcid-68132854d9, #0E1A1F)
}

#page-container .el-pl-r:hover .el-pl-arr p {
	color: #FFFFFF
}

/* Design: the countdown pill sits inline at the start of the note paragraph, and the text wraps after it. */
#page-container .el-note {
	display: block;
	font-size: 14px;
	line-height: 1.6
}

#page-container .el-note .el-pillcd {
	display: inline-flex
}

.el-pillcd>* {
	flex: none;
	white-space: nowrap
}

#page-container .el-note-t,
.el-note-t .et_pb_text_inner,
.el-note-t p {
	display: inline
}

.el-cd-light .section.values {
	background: #FFFFFF
}

.el-cd-light .section.values::after {
	color: var(--gcid-68132854d9, #0E1A1F)
}

@media (min-width:981px) and (max-width:1279px) {

	#page-container .el-pl-r,
	#page-container .el-pl-h {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 130px 120px 40px
	}
}

@media (max-width:980px) {
	#page-container .el-pl-r:hover {
		padding-right: 0;
		padding-left: 0
	}

	.el-pl-p {
		grid-column: 1/-1;
		order: 3
	}

	.el-pl-m {
		order: 2
	}
}

@media (max-width:767px) {
	.el-pl-m strong {
		font-size: 20px
	}
}