/* Cup of Air — Global Water Solutions */
.coa-gws {
	--coa-navy: #013a58;
	--coa-blue: #0a6ea5;
	--coa-sky: #e8f4fb;
	--coa-mist: #f4f8fb;
	--coa-ink: #1a2b36;
	--coa-muted: #5a6f7c;
	--coa-green: #1f7a4d;
	--coa-green-bg: #e7f6ee;
	--coa-amber: #9a6700;
	--coa-amber-bg: #fff4d6;
	--coa-teal: #0b6e7a;
	--coa-teal-bg: #e3f5f7;
	--coa-accent: #0b8b91;
	--coa-card: #f7f7f7;
	--coa-radius: 14px;
	--coa-card-radius: 23px;
	color: var(--coa-ink);
	font-size: 18px;
	line-height: 1.55;
	overflow-x: clip;
}

.coa-gws * { box-sizing: border-box; }

/* Let the hero/CTA go edge-to-edge inside SP Page Builder */
.sppb-addon-wrapper:has(.coa-gws),
.sppb-addon-raw-html:has(.coa-gws),
.sppb-column-addons:has(.coa-gws) {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sppb-section:has(.coa-gws) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: visible;
}

.sppb-row-container:has(.coa-gws),
.sppb-container-inner:has(.coa-gws),
.sppb-column:has(.coa-gws) {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.coa-gws-wrap {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.coa-gws-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(560px, 78vh, 720px);
	display: flex;
	align-items: center;
	color: var(--coa-ink);
	/* Full-bleed past typical SPPB/container padding */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #d8eef8;
}

.coa-gws-hero-bg {
	position: absolute;
	inset: 0;
	background-color: #cfe3ef;
	/* Keep horizon glow / open water on the visible right */
	background-position: 62% 48%;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.05);
	transform-origin: 65% 50%;
}

.coa-gws-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Soft mist veil — readable copy without a hard white wall */
	background:
		linear-gradient(102deg,
			rgba(255, 255, 255, 0.88) 0%,
			rgba(248, 252, 255, 0.68) 24%,
			rgba(232, 244, 251, 0.28) 44%,
			rgba(232, 244, 251, 0.06) 58%,
			transparent 72%),
		linear-gradient(180deg,
			rgba(255, 255, 255, 0.12) 0%,
			transparent 22%,
			transparent 78%,
			rgba(1, 58, 88, 0.16) 100%);
}

.coa-gws-hero-grid {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 88px 0 80px;
	min-height: inherit;
}

.coa-gws-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 540px;
	padding: 8px 20px 8px 0;
	animation: coa-gws-hero-copy 0.8s ease-out both;
}

.coa-gws-kicker {
	display: inline-block;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--coa-blue);
}

.coa-gws-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 700;
	color: var(--coa-navy);
}

.coa-gws-lead {
	margin: 0 0 16px;
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.3;
	font-weight: 600;
	color: var(--coa-blue);
}

.coa-gws-hero p {
	margin: 0 0 14px;
	color: var(--coa-muted);
	max-width: 48ch;
}

@keyframes coa-gws-hero-copy {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}


.coa-gws-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.coa-gws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.coa-gws-btn-primary {
	background: #fff;
	color: var(--coa-navy) !important;
}

.coa-gws-btn-primary:hover,
.coa-gws-btn-primary:focus {
	background: #e8f4fb;
	color: var(--coa-navy) !important;
}

.coa-gws-btn-ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.75);
}

.coa-gws-btn-ghost:hover,
.coa-gws-btn-ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

.coa-gws-btn-solid {
	background: var(--coa-navy);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(1, 58, 88, 0.22);
}

.coa-gws-btn-solid:hover,
.coa-gws-btn-solid:focus {
	background: #012a40;
	color: #fff !important;
}

.coa-gws-btn-outline {
	background: rgba(255, 255, 255, 0.92);
	color: var(--coa-navy) !important;
	border-color: transparent;
}

.coa-gws-btn-outline:hover,
.coa-gws-btn-outline:focus {
	background: var(--coa-sky);
	color: var(--coa-navy) !important;
	border-color: transparent;
}

.coa-gws-btn .coa-gws-icon {
	width: 16px;
	height: 16px;
}

.coa-gws-section {
	padding: 56px 0;
}

.coa-gws-section-alt {
	background: var(--coa-mist);
}

.coa-gws-section h2 {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.2;
	color: var(--coa-navy);
	font-weight: 700;
}

.coa-gws-section-intro {
	margin: 0 0 28px;
	color: var(--coa-muted);
	max-width: 60ch;
}

.coa-gws-countries {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
}

.coa-gws-country-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--coa-radius);
	text-decoration: none !important;
	color: var(--coa-navy) !important;
	background: #fff;
	box-shadow: 0 10px 28px rgba(1, 58, 88, 0.12);
	transition: transform .25s ease, box-shadow .25s ease;
}

.coa-gws-country-card:hover,
.coa-gws-country-card:focus {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(1, 58, 88, 0.2);
}

.coa-gws-country-card-media {
	display: block;
	aspect-ratio: 3 / 4;
	min-height: 200px;
	background: #0b3a52 center/cover no-repeat;
	position: relative;
}

.coa-gws-country-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(1, 58, 88, 0.28) 100%);
}

.coa-gws-country-card-body {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 10px 10px 12px;
	background: #fff;
	border-radius: 0 0 var(--coa-radius) var(--coa-radius);
}

.coa-gws-flag {
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	border-radius: 50%;
	overflow: hidden;
	flex: 0 0 32px;
	border: 2px solid #e2eef5;
	background: #fff;
	display: block;
	box-shadow: 0 2px 8px rgba(1, 58, 88, 0.12);
}

.coa-gws-flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.coa-gws-country-card strong {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--coa-navy);
}

.coa-gws-icon {
	display: block;
	flex-shrink: 0;
	color: inherit;
}

.coa-gws-arrow {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	max-width: 28px;
	max-height: 28px;
	border-radius: 50%;
	background: var(--coa-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	overflow: hidden;
	transition: background-color .15s ease, transform .15s ease;
}

.coa-gws-country-card:hover .coa-gws-arrow,
.coa-gws-country-card:focus .coa-gws-arrow {
	background: var(--coa-blue);
	transform: translateX(2px);
}

.coa-gws-arrow .coa-gws-icon {
	width: 12px !important;
	height: 12px !important;
	flex: none;
}


.coa-gws-country-top {
	padding-top: 28px;
}

.coa-gws-country-header {
	margin: 0 0 28px;
	max-width: 720px;
}

.coa-gws-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--coa-blue) !important;
	text-decoration: none !important;
}

.coa-gws-back .coa-gws-icon {
	width: 14px;
	height: 14px;
	transform: scaleX(-1);
}

.coa-gws-back:hover,
.coa-gws-back:focus {
	color: var(--coa-navy) !important;
}

.coa-gws-country-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
}

.coa-gws-country-head .coa-gws-flag {
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	flex: 0 0 28px;
	border-color: #d7e8f2;
	box-shadow: none;
}

.coa-gws-country-head span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--coa-blue);
	line-height: 1;
}

.coa-gws-country-title {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.15;
	color: var(--coa-navy);
	font-weight: 700;
}

.coa-gws-split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 28px;
	align-items: start;
}

.coa-gws-prose p {
	margin: 0 0 14px;
	color: var(--coa-ink);
}

.coa-gws-prose-lead {
	font-size: 1.08em;
	font-weight: 600;
	color: var(--coa-navy) !important;
	line-height: 1.45;
}

.coa-gws-media-col {
	position: relative;
}

.coa-gws-media {
	position: sticky;
	top: 24px;
	border-radius: var(--coa-radius);
	overflow: hidden;
	min-height: 480px;
	aspect-ratio: 3 / 4;
	background-color: #0b3a52;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: 0 12px 30px rgba(1, 58, 88, 0.14);
}

.coa-gws-stats {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 12px;
	padding: 14px 16px;
	display: grid;
	gap: 10px;
	box-shadow: 0 8px 24px rgba(1, 58, 88, 0.12);
}

.coa-gws-stat {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 10px;
	align-items: start;
}

.coa-gws-stat-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--coa-sky);
	color: var(--coa-navy);
	display: grid;
	place-items: center;
}

.coa-gws-stat-icon .coa-gws-icon {
	width: 18px;
	height: 18px;
}

.coa-gws-stat strong {
	display: block;
	color: var(--coa-navy);
	font-size: 16px;
	line-height: 1.25;
}

.coa-gws-stat span {
	display: block;
	color: var(--coa-muted);
	font-size: 13px;
	line-height: 1.35;
}

.coa-gws-callout {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--coa-sky);
	color: var(--coa-navy);
	font-weight: 700;
}

.coa-gws-callout-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--coa-navy);
	display: grid;
	place-items: center;
}

.coa-gws-callout-icon .coa-gws-icon {
	width: 20px;
	height: 20px;
}

.coa-gws-ext-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.coa-gws-ext-link .coa-gws-icon {
	width: 14px;
	height: 14px;
}

.coa-gws-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.coa-gws-panel {
	background: #fff;
	border-radius: var(--coa-radius);
	padding: 24px;
	box-shadow: 0 8px 24px rgba(1, 58, 88, 0.06);
}

.coa-gws-panel h3 {
	margin: 0 0 12px;
	font-size: 22px;
	color: var(--coa-navy);
	font-weight: 700;
}

.coa-gws-panel p {
	margin: 0 0 12px;
	color: var(--coa-ink);
}

.coa-gws-panel a {
	color: var(--coa-blue);
	font-weight: 700;
}

.coa-gws-industries {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding-bottom: 7px;
}

.coa-gws-industry {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 22px 16px 20px;
	border-radius: var(--coa-card-radius);
	background: var(--coa-card);
	box-shadow: 0 7px 0 0 var(--coa-accent);
	color: var(--coa-navy);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.35;
	text-align: center;
}

.coa-gws-industry-icon {
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	background: transparent;
	color: var(--coa-navy);
	margin-bottom: 2px;
}

.coa-gws-industry-icon .coa-gws-icon {
	width: 42px;
	height: 42px;
}

.coa-gws-reco {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 24px;
	align-items: start;
}

.coa-gws-table-wrap {
	overflow-x: auto;
	background: #fff;
	border-radius: var(--coa-radius);
	box-shadow: 0 8px 24px rgba(1, 58, 88, 0.06);
}

.coa-gws-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.coa-gws-table th,
.coa-gws-table td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e4eef4;
}

.coa-gws-table th {
	background: var(--coa-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.coa-gws-table td {
	font-size: 15px;
	color: var(--coa-ink);
}

.coa-gws-table tr:nth-child(even) td {
	background: #f7fbfe;
}

.coa-gws-badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	white-space: normal;
}

.coa-gws-badge-very {
	background: var(--coa-green-bg);
	color: var(--coa-green);
}

.coa-gws-badge-good {
	background: var(--coa-sky);
	color: var(--coa-blue);
}

.coa-gws-badge-mid {
	background: var(--coa-teal-bg);
	color: var(--coa-teal);
}

.coa-gws-badge-warn {
	background: var(--coa-amber-bg);
	color: var(--coa-amber);
}

.coa-gws-why {
	background: var(--coa-card);
	border-radius: var(--coa-card-radius);
	padding: 26px 22px;
	box-shadow: 0 7px 0 0 var(--coa-accent);
	margin-bottom: 7px;
}

.coa-gws-why-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	text-align: center;
}

.coa-gws-why-icon {
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: var(--coa-navy);
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	box-shadow: none;
}

.coa-gws-why-icon .coa-gws-icon {
	width: 48px;
	height: 48px;
}

.coa-gws-why h3 {
	margin: 8px 0 0;
	color: var(--coa-navy);
	font-size: 22px;
	font-weight: 500;
}

.coa-gws-why p {
	margin: 0 0 10px;
	color: #2f4550;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
}

.coa-gws-why p:last-child {
	margin-bottom: 0;
}

.coa-gws-support {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 22px;
	padding-bottom: 7px;
}

.coa-gws-support-item {
	background: var(--coa-card);
	border-radius: var(--coa-card-radius);
	padding: 28px 20px 26px;
	box-shadow: 0 7px 0 0 var(--coa-accent);
	text-align: center;
}

.coa-gws-support-icon {
	width: auto;
	height: auto;
	margin: 0 auto 4px;
	border-radius: 0;
	background: transparent;
	color: var(--coa-navy);
	display: grid;
	place-items: center;
}

.coa-gws-support-icon .coa-gws-icon {
	width: 56px;
	height: 56px;
}

.coa-gws-support-item h3 {
	margin: 16px 0 10px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--coa-navy);
}

.coa-gws-support-item p {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: #2f4550;
}

.coa-gws-cta {
	position: relative;
	overflow: hidden;
	background: #06263a center/cover no-repeat;
	color: #fff;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.coa-gws-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(1, 40, 58, 0.9), rgba(1, 58, 88, 0.72));
}

.coa-gws-cta-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 56px 0;
}

.coa-gws-cta h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(28px, 3.5vw, 40px);
}

.coa-gws-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	max-width: 42ch;
}

.coa-gws-cta .coa-gws-actions {
	flex-direction: column;
	align-items: stretch;
	min-width: 220px;
}

@media (prefers-reduced-motion: reduce) {
	.coa-gws-hero-inner,
	.coa-gws-country-card,
	.coa-gws-arrow {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 1199px) {
	.coa-gws-countries {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.coa-gws-country-card-media {
		aspect-ratio: 4 / 5;
		min-height: 220px;
	}
}

@media (max-width: 991px) {
	.coa-gws-hero {
		min-height: clamp(480px, 70vh, 640px);
	}

	.coa-gws-hero-bg {
		background-position: 58% 42%;
		transform: scale(1.08);
	}

	.coa-gws-hero-grid {
		padding: 64px 0 56px;
		min-height: 0;
	}

	.coa-gws-hero-bg::after {
		background:
			linear-gradient(180deg,
				rgba(248, 252, 255, 0.9) 0%,
				rgba(248, 252, 255, 0.72) 38%,
				rgba(232, 244, 251, 0.28) 62%,
				rgba(1, 58, 88, 0.1) 100%);
	}

	.coa-gws-hero-inner {
		padding: 4px 0 8px;
		max-width: 640px;
	}

	.coa-gws-countries {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.coa-gws-split,
	.coa-gws-two,
	.coa-gws-reco,
	.coa-gws-cta-inner {
		grid-template-columns: 1fr;
		display: grid;
	}

	.coa-gws-media {
		position: relative;
		top: auto;
		aspect-ratio: 4 / 3;
		min-height: 320px;
	}

	.coa-gws-support {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.coa-gws-cta .coa-gws-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media (max-width: 640px) {
	.coa-gws-wrap,
	.coa-gws-hero-grid {
		width: min(1180px, calc(100% - 28px));
	}

	.coa-gws-hero-grid {
		padding: 44px 0 40px;
	}

	.coa-gws-countries,
	.coa-gws-industries,
	.coa-gws-support {
		grid-template-columns: 1fr;
	}

	.coa-gws-section {
		padding: 40px 0;
	}

	.coa-gws-media {
		min-height: 280px;
	}
}
