/* ============================================================
   Hard Water Area page template
   Scoped under .hw-page so it cannot leak into the theme.
   Palette: #01657f / #006580 teal, #84dade aqua, #c1272d red,
   #f4fbfc tint band, Nunito 300/400/700/800.
   ============================================================ */

.hw-page,
.hw-page * {
	box-sizing: border-box;
}

.hw-page {
	font-family: 'Nunito', sans-serif;
	color: #232020;
	background: #ffffff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

.hw-page img {
	max-width: 100%;
	height: auto;
}

.hw-page a {
	color: #01657f;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hw-page a:hover {
	color: #84dade;
}

.hw-page h1,
.hw-page h2 {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	padding: 0;
}

.hw-wrap {
	max-width: 1170px;
	margin: 0 auto;
}

.hw-section {
	padding: clamp(56px, 8vw, 100px) 24px;
}

.hw-section--tint {
	background: #f4fbfc;
}

/* --- shared type --- */

.hw-eyebrow {
	font-size: 18px;
	font-weight: 400;
	color: #232020;
}

.hw-h2 {
	font-size: clamp(28px, 3.4vw, 38px);
	line-height: 1.25;
	color: #01657f;
	margin: 8px 0 18px;
}

.hw-sechead {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.hw-sechead .hw-h2 {
	margin: 8px 0 16px;
}

.hw-sechead-intro,
.hw-sechead-intro p {
	font-size: 18px;
	line-height: 1.55;
	color: #4f4e4e;
	margin: 0;
}

.hw-body p {
	font-size: 17.5px;
	line-height: 1.6;
	margin: 0 0 16px;
}

.hw-body p:last-child {
	margin-bottom: 0;
}

.hw-body a {
	font-weight: 700;
}

/* --- buttons --- */

.hw-btn {
	display: inline-block;
	border-radius: 30px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hw-btn-red {
	padding: 16px 38px;
	background: radial-gradient(circle farthest-corner at 100% 150%, #e83b59 10%, #c1272d 50%);
	color: #ffffff;
	box-shadow: 0 9px 30px 0 rgba(193, 39, 45, 0.28);
}

.hw-btn-red:hover {
	transform: translateY(-2px);
	color: #ffffff;
}

.hw-btn-teal {
	padding: 14px 36px;
	background: #006580;
	border: 2px solid #006580;
	color: #ffffff;
	box-shadow: 0 9px 30px 0 rgba(132, 218, 222, 0.4);
}

.hw-btn-teal:hover {
	background: #ffffff;
	color: #006580;
}

.hw-btn-white {
	padding: 14px 36px;
	background: #ffffff;
	border: 2px solid #ffffff;
	color: #006580;
}

.hw-btn-white:hover {
	background: transparent;
	color: #ffffff;
}

.hw-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

/* Hard overrides: the parent theme styles bare anchors aggressively,
   so button colours are pinned down here. */
.hw-page a.hw-btn {
	display: inline-block !important;
	height: auto !important;
	min-height: 0 !important;
	font-family: 'Nunito', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

.hw-page a.hw-btn-red,
.hw-page a.hw-btn-red:link,
.hw-page a.hw-btn-red:visited,
.hw-page a.hw-btn-red:active,
.hw-page a.hw-btn-red:focus {
	background: radial-gradient(circle farthest-corner at 100% 150%, #e83b59 10%, #c1272d 50%) !important;
	color: #ffffff !important;
	border: 0 !important;
	padding: 16px 38px !important;
}

.hw-page a.hw-btn-red:hover {
	color: #ffffff !important;
}

.hw-page a.hw-btn-teal,
.hw-page a.hw-btn-teal:link,
.hw-page a.hw-btn-teal:visited,
.hw-page a.hw-btn-teal:active,
.hw-page a.hw-btn-teal:focus {
	background: #006580 !important;
	border: 2px solid #006580 !important;
	color: #ffffff !important;
	padding: 14px 36px !important;
}

.hw-page a.hw-btn-teal:hover {
	background: #ffffff !important;
	color: #006580 !important;
}

.hw-page a.hw-btn-white,
.hw-page a.hw-btn-white:link,
.hw-page a.hw-btn-white:visited,
.hw-page a.hw-btn-white:active,
.hw-page a.hw-btn-white:focus {
	background: #ffffff !important;
	border: 2px solid #ffffff !important;
	color: #006580 !important;
	padding: 14px 36px !important;
}

.hw-page a.hw-btn-white:hover {
	background: transparent !important;
	color: #ffffff !important;
}

/* ============ HERO ============ */

.hw-hero {
	background-size: cover;
	background-position: center;
	padding: clamp(40px, 7vw, 90px) 24px clamp(48px, 7vw, 100px);
}

.hw-hero .hw-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}

.hw-hero-main {
	flex: 1 1 520px;
	min-width: 0;
}

.hw-breadcrumb {
	font-size: 15px;
	font-weight: 700;
	color: #8b9baf;
	margin-bottom: 18px;
}

.hw-breadcrumb .hw-breadcrumb-sep {
	margin: 0 6px;
}

.hw-breadcrumb .hw-breadcrumb-current {
	color: #01657f;
}

.hw-hero .hw-eyebrow {
	margin-bottom: 10px;
}

.hw-hero-title {
	font-size: clamp(34px, 4.4vw, 50px);
	line-height: 1.14;
	color: #161616;
	margin: 0 0 22px;
}

.hw-hero-intro p {
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.55;
	margin: 0 0 14px;
	max-width: 620px;
	color: #4f4e4e;
}

.hw-hero-intro p:first-child {
	font-size: clamp(17px, 1.6vw, 20px);
	color: #232020;
}

.hw-hero-intro p strong {
	color: #01657f;
}

.hw-hero-intro {
	margin-bottom: 30px;
}

/* --- at a glance card --- */

.hw-glance-col {
	flex: 0 1 380px;
	min-width: 300px;
}

.hw-glance {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(0, 101, 128, 0.14);
	padding: 30px 32px;
}

.hw-glance-title {
	font-weight: 800;
	font-size: 18px;
	color: #01657f;
	margin-bottom: 18px;
}

.hw-glance-rows {
	display: grid;
	gap: 14px;
}

.hw-glance-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid #eef4f6;
	padding-bottom: 12px;
}

.hw-glance-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.hw-glance-row .hw-glance-label {
	color: #4f4e4e;
	font-size: 15px;
}

.hw-glance-row strong {
	color: #232020;
	font-size: 15px;
	text-align: right;
}

.hw-glance-row strong.hw-alert {
	color: #c1272d;
}

.hw-glance-footnote,
.hw-glance-footnote p {
	margin: 0;
	font-size: 13.5px;
	color: #8b9baf;
	line-height: 1.45;
}

.hw-glance-footnote {
	margin-top: 20px;
}

/* ============ TOWN TABLE ============ */

.hw-table-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 44px;
	align-items: center;
	margin-top: 40px;
}

.hw-table-col {
	flex: 1 1 520px;
	min-width: 0;
}

.hw-table {
	border: 1px solid #e4eef1;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 34px rgba(0, 101, 128, 0.07);
}

.hw-table-head {
	display: flex;
	gap: 10px;
	padding: 14px 22px;
	background: #006580;
	color: #ffffff;
	font-weight: 800;
	font-size: 14.5px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hw-table-head .hw-col-area {
	flex: 1 1 auto;
}

.hw-table-head .hw-col-value {
	flex: 0 0 118px;
	text-align: right;
}

.hw-table-head .hw-col-rating {
	flex: 0 0 132px;
	text-align: right;
}

.hw-table-row {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 13px 22px;
	border-top: 1px solid #eef4f6;
	background: #ffffff;
}

.hw-table-row .hw-cell-area {
	flex: 1 1 auto;
	font-weight: 700;
	color: #232020;
	font-size: 15.5px;
	min-width: 0;
}

.hw-table-row .hw-cell-area .hw-pc {
	color: #8b9baf;
	font-weight: 400;
	font-size: 14px;
}

.hw-table-row .hw-cell-value {
	flex: 0 0 118px;
	text-align: right;
	font-weight: 800;
	color: #01657f;
	font-size: 15.5px;
}

.hw-table-row .hw-cell-rating {
	flex: 0 0 132px;
	display: flex;
	justify-content: flex-end;
}

.hw-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 800;
	color: #ffffff;
	white-space: nowrap;
}

.hw-badge--soft {
	background: #01657f;
}

.hw-badge--moderate {
	background: #7c529c;
}

.hw-badge--hard {
	background: #e83b59;
}

.hw-badge--very_hard {
	background: #c1272d;
}

.hw-table-footnote,
.hw-table-footnote p {
	font-size: 14px;
	color: #8b9baf;
	line-height: 1.5;
	margin: 0;
}

.hw-table-footnote {
	margin: 14px 4px 0;
}

.hw-table-footnote a {
	font-weight: 700;
}

.hw-map-col {
	flex: 1 1 380px;
	min-width: 300px;
	text-align: center;
}

.hw-map-col img {
	width: 100%;
	max-width: 470px;
	border-radius: 18px;
}

.hw-map-caption,
.hw-map-caption p {
	font-size: 15px;
	color: #4f4e4e;
	margin: 0;
	line-height: 1.5;
}

.hw-map-caption {
	margin: 14px auto 0;
	max-width: 420px;
}

/* ============ WHY / COST split sections ============ */

.hw-split {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.hw-split--center {
	align-items: center;
}

.hw-split--stretch {
	align-items: stretch;
}

.hw-split-text {
	flex: 1 1 460px;
	min-width: 0;
}

/* When a split section has no image, keep a readable line length. */
.hw-split-text:only-child {
	max-width: 860px;
}

.hw-split-media {
	flex: 1 1 460px;
	min-width: 300px;
	display: flex;
}

.hw-split-media img {
	width: 100%;
	min-height: 380px;
	object-fit: cover;
	border-radius: 20px;
	align-self: stretch;
}

.hw-cost-media {
	flex: 1 1 400px;
	min-width: 280px;
}

.hw-cost-media img {
	min-height: 340px;
}

.hw-cost-text {
	flex: 1 1 480px;
}

.hw-cost-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.hw-cost-card {
	flex: 1 1 150px;
	background: #006580;
	border-radius: 16px;
	padding: 20px 18px;
	text-align: center;
}

.hw-cost-card .hw-cost-value {
	font-weight: 800;
	font-size: clamp(26px, 2.6vw, 34px);
	color: #84dade;
	line-height: 1;
}

.hw-cost-card .hw-cost-label {
	font-size: 13.5px;
	color: #ffffff;
	margin-top: 8px;
	line-height: 1.35;
	font-weight: 700;
}

/* ============ SOLUTION ============ */

.hw-solution-text {
	flex: 1 1 500px;
	min-width: 0;
}

.hw-zeros {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}

.hw-zero {
	background: #ffffff;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 6px 20px rgba(0, 101, 128, 0.06);
}

.hw-zero-title {
	font-weight: 800;
	font-size: 16px;
	color: #01657f;
}

.hw-zero-desc {
	font-size: 13.5px;
	color: #4f4e4e;
	line-height: 1.4;
	margin-top: 4px;
}

.hw-solution-cta {
	margin-top: 28px;
}

.hw-solution-price {
	font-weight: 800;
	color: #01657f;
	font-size: 16px;
}

.hw-solution-media {
	flex: 0 1 340px;
	min-width: 260px;
}

.hw-solution-card {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 10px 34px rgba(0, 101, 128, 0.1);
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hw-solution-card img {
	width: 100%;
	max-width: 250px;
	height: auto;
	object-fit: contain;
}

/* ============ STATS BAND ============ */

.hw-stats {
	background: radial-gradient(circle farthest-corner at 100% 150%, #006580 10%, #0b7d9b 70%);
	padding: clamp(44px, 6vw, 72px) 24px;
}

.hw-stats .hw-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	text-align: center;
}

.hw-stat-value {
	font-weight: 800;
	font-size: clamp(38px, 4vw, 54px);
	color: #84dade;
	line-height: 1;
}

.hw-stat-title {
	font-weight: 800;
	font-size: 16px;
	color: #ffffff;
	margin-top: 10px;
}

.hw-stat-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.45;
	margin: 6px auto 0;
	max-width: 240px;
}

/* ============ TESTIMONIALS ============ */

.hw-testi-head {
	margin-bottom: 40px;
}

.hw-testi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.hw-testi-card {
	background: #ffffff;
	border: 1px solid #e4eef1;
	border-radius: 18px;
	padding: 28px 28px 24px;
	box-shadow: 0 10px 34px rgba(0, 101, 128, 0.07);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hw-testi-quote,
.hw-testi-quote p {
	font-size: 16px;
	line-height: 1.6;
	color: #232020;
	margin: 0;
}

.hw-testi-quote {
	flex: 1 1 auto;
}

.hw-testi-meta {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hw-testi-meta img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.hw-testi-name {
	font-weight: 800;
	color: #01657f;
	font-size: 15.5px;
}

.hw-testi-place {
	font-size: 13.5px;
	color: #8b9baf;
}

.hw-testi-more {
	text-align: center;
	margin-top: 28px;
}

.hw-testi-more a {
	font-weight: 700;
	font-size: 16px;
}

/* ============ FAQ ============ */

.hw-faq-wrap {
	max-width: 880px;
	margin: 0 auto;
}

.hw-faq-head {
	margin-bottom: 36px;
}

.hw-faq-list {
	display: grid;
	gap: 14px;
}

.hw-faq-item {
	background: #ffffff;
	border: 1px solid #e4eef1;
	border-radius: 14px;
	overflow: hidden;
}

.hw-faq-item[open] {
	background: #f4fbfc;
}

.hw-faq-item summary {
	cursor: pointer;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-weight: 800;
	font-size: 17px;
	color: #01657f;
	list-style: none;
}

.hw-faq-item summary::-webkit-details-marker,
.hw-faq-item summary::marker {
	display: none;
	content: '';
}

.hw-chev {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #84dade;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	transition: transform 0.2s ease;
}

.hw-faq-item[open] .hw-chev {
	transform: rotate(45deg);
}

.hw-faq-answer,
.hw-faq-answer p {
	font-size: 16px;
	line-height: 1.6;
	color: #4f4e4e;
	margin: 0 0 12px;
}

.hw-faq-answer {
	padding: 0 24px 22px;
}

.hw-faq-answer p:last-child {
	margin-bottom: 0;
}

/* ============ FINAL CTA ============ */

.hw-cta-box {
	background: radial-gradient(circle farthest-corner at 100% 150%, #006580 0%, #018aa8 100%);
	border-radius: 26px;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hw-cta-text {
	flex: 1 1 460px;
	min-width: 0;
}

.hw-cta-box .hw-eyebrow {
	color: rgba(255, 255, 255, 0.9);
}

.hw-cta-title {
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.2;
	color: #ffffff;
	margin: 8px 0 16px;
}

.hw-cta-body,
.hw-cta-body p {
	font-size: 17.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	max-width: 560px;
}

.hw-cta-body {
	margin-bottom: 28px;
}

.hw-cta-body p + p {
	margin-top: 14px;
}

.hw-cta-phone {
	margin-top: 22px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.hw-page .hw-cta-phone a,
.hw-page .hw-cta-phone a:link,
.hw-page .hw-cta-phone a:visited {
	color: #84dade !important;
	font-weight: 800;
}

.hw-page .hw-cta-phone a.hw-cta-installer {
	font-weight: 700;
}

.hw-page .hw-cta-phone a:hover {
	color: #ffffff !important;
}

.hw-cta-media {
	flex: 0 1 300px;
	min-width: 240px;
	text-align: center;
	position: relative;
}

.hw-cta-media img {
	max-width: 100%;
	width: 300px;
}

/* ============ STICKY MOBILE BAR ============ */

.hw-sticky {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: #ffffff;
	box-shadow: 0 -8px 30px rgba(0, 101, 128, 0.16);
	padding: 12px 16px;
	gap: 10px;
}

.hw-page .hw-sticky a,
.hw-page .hw-sticky a:link,
.hw-page .hw-sticky a:visited,
.hw-page .hw-sticky a:active,
.hw-page .hw-sticky a:focus {
	flex: 1 1 50%;
	text-align: center;
	padding: 13px 10px !important;
	border-radius: 26px;
	font-weight: 800 !important;
	font-size: 15px !important;
	color: #ffffff !important;
	height: auto !important;
	min-height: 0 !important;
	border: 0 !important;
}

.hw-page .hw-sticky a:hover {
	color: #ffffff !important;
}

.hw-page .hw-sticky .hw-sticky-call {
	background: #006580 !important;
}

.hw-page .hw-sticky .hw-sticky-cta {
	background: radial-gradient(circle farthest-corner at 100% 150%, #e83b59 10%, #c1272d 50%) !important;
}

.hw-sticky-spacer {
	display: none;
	height: 72px;
}

@media (max-width: 820px) {
	.hw-has-sticky .hw-sticky {
		display: flex;
	}

	.hw-has-sticky .hw-sticky-spacer {
		display: block;
	}
}

/* ============ MOBILE REFINEMENTS ============ */

@media (max-width: 600px) {

	.hw-section,
	.hw-hero {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hw-hero .hw-wrap,
	.hw-split,
	.hw-table-cols {
		gap: 28px;
	}

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

	.hw-breadcrumb {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.hw-hero-title {
		margin-bottom: 16px;
	}

	.hw-btn-row .hw-btn {
		flex: 1 1 100%;
	}

	.hw-glance-col {
		flex-basis: 100%;
		min-width: 0;
	}

	.hw-glance {
		padding: 24px 22px;
	}

	.hw-sechead {
		text-align: left;
	}

	.hw-table-head {
		padding: 12px 16px;
		font-size: 12.5px;
	}

	.hw-table-row {
		padding: 12px 16px;
	}

	.hw-table-row .hw-cell-area .hw-pc {
		display: block;
		font-size: 12.5px;
	}

	.hw-table-head .hw-col-value,
	.hw-table-row .hw-cell-value {
		flex: 0 0 62px;
	}

	.hw-table-head .hw-col-rating,
	.hw-table-row .hw-cell-rating {
		flex: 0 0 92px;
	}

	.hw-badge {
		padding: 4px 10px;
		font-size: 11.5px;
	}

	.hw-split-media img {
		min-height: 260px;
	}

	.hw-cost-media img {
		min-height: 220px;
	}

	.hw-cost-cards {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.hw-zeros {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.hw-solution-media {
		display: none;
	}

	.hw-stats .hw-wrap {
		grid-template-columns: 1fr 1fr;
		gap: 28px 16px;
	}

	.hw-faq-item summary {
		padding: 16px 18px;
		font-size: 15.5px;
	}

	.hw-faq-answer {
		padding: 0 18px 18px;
	}

	.hw-faq-answer,
	.hw-faq-answer p {
		font-size: 15px;
	}

	.hw-cta-phone {
		text-align: center;
	}

	.hw-cta-phone .hw-cta-sep {
		display: none;
	}

	.hw-cta-phone a.hw-cta-installer {
		display: block;
		margin-top: 6px;
	}
}
