/*
Theme Name: WQO Apple
Theme URI: https://wqo.info/
Author: Water Quality Organization
Author URI: https://wqo.info/
Description: A private, standalone WordPress theme for Water Quality Organization.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: wqo-apple
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--white: #fff;
	--soft: #f5f5f7;
	--ink: #1d1d1f;
	--muted: #6e6e73;
	--faint: #a1a1a6;
	--blue: #5b8fa8;
	--blue-dark: #3d6e87;
	--blue-soft: #ebf2f6;
	--line: rgba(0, 0, 0, 0.08);
	--shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; word-wrap: normal; }
.screen-reader-text:focus { clip: auto; clip-path: none; background: #fff; color: #000; height: auto; left: 1rem; padding: .75rem 1rem; top: 1rem; width: auto; z-index: 9999; }

.site-header { backdrop-filter: saturate(180%) blur(20px); background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(0,0,0,.06); left: 0; position: fixed; right: 0; top: 0; transition: box-shadow .25s ease; z-index: 100; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.site-header__inner { align-items: center; display: flex; height: 56px; justify-content: space-between; margin: 0 auto; max-width: 1280px; padding: 0 32px; }
.brand { align-items: center; display: inline-flex; gap: 10px; text-decoration: none; }
.brand__mark { align-items: center; border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); display: inline-flex; font-size: 11px; font-weight: 700; height: 30px; justify-content: center; letter-spacing: -.04em; width: 30px; }
.brand__name { font-size: 13px; font-weight: 550; letter-spacing: -.01em; }
.primary-nav { align-items: center; display: flex; gap: 30px; }
.primary-nav > a { font-size: 13px; text-decoration: none; transition: color .15s ease; }
.primary-nav > a:hover { color: var(--blue-dark); }
.menu-toggle { background: none; border: 0; display: none; height: 42px; padding: 10px; width: 42px; }
.menu-toggle > span:not(.screen-reader-text) { background: var(--ink); display: block; height: 1px; margin: 5px auto; transition: transform .2s, opacity .2s; width: 20px; }

.button { align-items: center; background: var(--blue); border: 0; border-radius: 999px; color: #fff; cursor: pointer; display: inline-flex; font-size: 15px; font-weight: 550; justify-content: center; min-height: 46px; padding: 0 28px; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button--small { min-height: 34px; padding: 0 18px; }
.button--dark { background: var(--ink); }
.button--dark:hover { background: #343437; }
.button--wide { border-radius: 12px; width: 100%; }
.text-link { align-items: center; color: var(--blue-dark); display: inline-flex; font-size: 15px; font-weight: 500; gap: 8px; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }

.hero { align-items: center; display: flex; justify-content: center; min-height: 100svh; padding: 120px 24px 80px; position: relative; text-align: center; }
.hero__content { max-width: 980px; }
.hero__eyebrow { animation: rise .6s .1s both; color: var(--blue-dark); font-size: 13px; font-weight: 550; letter-spacing: .02em; margin: 0 0 24px; }
.hero h1 { animation: rise .75s .2s both; font-size: clamp(3.25rem, 8.2vw, 7.4rem); font-weight: 650; letter-spacing: -.055em; line-height: .97; margin: 0 0 28px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__intro { animation: rise .75s .32s both; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 350; line-height: 1.65; margin: 0 auto 34px; max-width: 650px; }
.hero__actions { align-items: center; animation: rise .75s .44s both; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.hero small { animation: rise .75s .56s both; color: var(--faint); display: block; font-size: 12px; margin-top: 22px; }

.trust-strip { align-items: center; background: var(--ink); color: rgba(255,255,255,.65); display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 520; gap: 40px; justify-content: center; padding: 17px 24px; }
.trust-strip span { align-items: center; display: inline-flex; gap: 9px; }
.trust-strip span::before { background: var(--blue); border-radius: 50%; content: ""; height: 5px; width: 5px; }

.section { padding: 120px 32px; }
.section__inner, .split-layout { margin: 0 auto; max-width: 1200px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.eyebrow { color: var(--blue); display: block; font-size: 11px; font-weight: 650; letter-spacing: .1em; margin-bottom: 16px; text-transform: uppercase; }
.section h2, .consultation h2, .product-specs h2, .product-features h2, .product-ideal h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 630; letter-spacing: -.04em; line-height: 1.06; margin: 0 0 24px; }
.section p, .consultation p { color: var(--muted); font-size: 17px; font-weight: 350; line-height: 1.72; margin: 0; }
.section--dark p { color: rgba(255,255,255,.58); }

.split-layout { align-items: center; display: grid; gap: 80px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.statement { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.3vw, 3.2rem) !important; font-style: italic; font-weight: 400 !important; line-height: 1.35 !important; }
.statement em { color: var(--blue-dark); font-family: var(--font); font-style: normal; font-weight: 650; }
.tile-grid { background: var(--line); border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 1px; grid-template-columns: 1fr 1fr; overflow: hidden; }
.tile-grid article { background: #fff; min-height: 185px; padding: 28px; transition: background .18s ease; }
.tile-grid article:hover { background: var(--blue-soft); }
.tile-icon, .value-grid article > span, .ideal-grid article > span { color: var(--blue); display: block; font-size: 11px; font-weight: 650; letter-spacing: .08em; margin-bottom: 24px; }
.tile-grid h3, .value-grid h3 { font-size: 15px; margin: 0 0 8px; }
.tile-grid p, .value-grid p { font-size: 13px; line-height: 1.55; }

.section-heading--split { align-items: end; display: grid; gap: 72px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-heading--split > p { padding-bottom: 10px; }
.section-heading--center { margin: 0 auto 64px; max-width: 720px; text-align: center; }
.section-heading--center p { margin: 0 auto; max-width: 620px; }
.steps-grid { background: var(--line); border: 1px solid var(--line); border-radius: 22px; display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); margin-top: 64px; overflow: hidden; }
.step-card { background: #fff; min-height: 260px; padding: 34px 28px; }
.step-card > span { color: var(--blue-dark); display: block; font-size: 11px; font-weight: 650; letter-spacing: .08em; margin-bottom: 54px; text-transform: uppercase; }
.step-card h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 12px; }
.step-card p { font-size: 14px; line-height: 1.62; }

.quote-section { margin: 0 auto; max-width: 880px; padding: 130px 32px; text-align: center; }
.quote-section blockquote { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.3vw, 2.7rem); font-style: italic; line-height: 1.42; margin: 0 0 26px; }
.quote-section blockquote em { color: var(--blue-dark); }
.quote-section cite { color: var(--faint); font-size: 12px; font-style: normal; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }

.product-grid { background: var(--line); border: 1px solid var(--line); border-radius: 24px; display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.product-card { background: #fff; display: flex; flex-direction: column; min-width: 0; text-decoration: none; transition: background .2s ease; }
.product-card:hover { background: #fafafa; }
.product-card--featured { background: var(--ink); color: #fff; }
.product-card--featured:hover { background: #29292c; }
.product-card__media { align-items: center; background: #eef0f2; display: flex; height: 290px; justify-content: center; overflow: hidden; }
.product-card__media img { height: 100%; object-fit: cover; transition: transform .5s ease; width: 100%; }
.product-card--featured .product-card__media img { object-fit: contain; padding: 18px; }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.product-card__tag { color: var(--blue-dark); font-size: 10px; font-weight: 650; letter-spacing: .09em; margin-bottom: 10px; text-transform: uppercase; }
.product-card--featured .product-card__tag, .product-card--featured .text-link { color: #8db3c5; }
.product-card h3 { font-size: 25px; letter-spacing: -.03em; margin: 0 0 5px; }
.product-card__type { color: var(--muted); font-size: 13px !important; margin-bottom: 22px !important; }
.product-card--featured .product-card__type { color: rgba(255,255,255,.48); }
.product-card ul { list-style: none; margin: auto 0 24px; padding: 0; }
.product-card li { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.45; padding: 8px 0 8px 12px; position: relative; }
.product-card li::before { background: var(--blue); border-radius: 50%; content: ""; height: 4px; left: 0; position: absolute; top: 15px; width: 4px; }
.product-card--featured li { border-color: rgba(255,255,255,.09); color: rgba(255,255,255,.58); }
.systems-note { color: var(--faint) !important; font-size: 14px !important; margin-top: 28px !important; text-align: center; }
.systems-note a { color: var(--blue-dark); }

.split-layout--dark h2 { color: #fff; }
.value-grid { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; display: grid; gap: 1px; grid-template-columns: 1fr 1fr; overflow: hidden; }
.value-grid article { background: rgba(255,255,255,.025); min-height: 185px; padding: 28px; }
.value-grid h3 { color: #fff; }
.value-grid p { color: rgba(255,255,255,.45); }

.consultation { background: var(--soft); padding: 120px 32px; }
.consultation__inner { align-items: start; display: grid; gap: 90px; grid-template-columns: minmax(0, .9fr) minmax(400px, 1fr); margin: 0 auto; max-width: 1050px; }
.consultation__copy > p { max-width: 520px; }
.promise-list { list-style: none; margin: 36px 0 0; padding: 0; }
.promise-list li { color: var(--muted); font-size: 14px; line-height: 1.5; padding: 7px 0 7px 18px; position: relative; }
.promise-list li::before { background: var(--blue); border-radius: 50%; content: ""; height: 5px; left: 0; position: absolute; top: 15px; width: 5px; }
.form-card { background: #fff; border: 1px solid rgba(0,0,0,.04); border-radius: 22px; box-shadow: var(--shadow); padding: 38px; }
.form-card h3 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 8px; }
.form-card > p { font-size: 14px; line-height: 1.55; margin-bottom: 26px; }
.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.lead-form label > span { color: var(--muted); display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.lead-form input, .lead-form select { appearance: none; background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 11px; color: var(--ink); font-size: 15px; min-height: 48px; outline: none; padding: 0 14px; width: 100%; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,143,168,.14); }
.lead-form small { color: var(--faint); display: block; font-size: 11px; line-height: 1.5; text-align: center; }
.honey-field { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.form-message { border-radius: 10px; font-size: 13px; line-height: 1.5; margin: 0 0 18px; padding: 12px 14px; }
.form-message--success { background: #edf8ef; color: #245f30; }
.form-message--error { background: #fff0f0; color: #8b2929; }

.product-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; padding-top: 56px; }
.product-hero__media { align-items: center; background: var(--soft); display: flex; justify-content: center; overflow: hidden; padding: 60px; }
.product-hero__media img { max-height: 620px; object-fit: contain; width: 100%; }
.product-hero__content { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: 70px; }
.back-link { color: var(--faint); font-size: 13px; margin-bottom: 50px; text-decoration: none; }
.product-hero h1 { font-size: clamp(3.2rem, 5vw, 5.7rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: 0 0 10px; }
.product-hero__type { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.product-pill { background: var(--blue-soft); border-radius: 999px; color: var(--blue-dark); display: inline-block; font-size: 12px; font-weight: 650; margin-bottom: 24px; padding: 8px 14px; }
.product-hero__intro { color: var(--muted); font-size: 17px; font-weight: 350; line-height: 1.7; margin: 0 0 32px; max-width: 520px; }
.product-hero .hero__actions { animation: none; justify-content: flex-start; }

.product-specs dl { background: var(--line); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 42px 0 0; overflow: hidden; }
.product-specs dl > div { background: #fff; min-height: 130px; padding: 26px; }
.product-specs dt { color: var(--faint); font-size: 10px; font-weight: 650; letter-spacing: .1em; margin-bottom: 10px; text-transform: uppercase; }
.product-specs dd { font-size: 15px; line-height: 1.5; margin: 0; }
.product-features .section-heading--split { align-items: start; }
.feature-list { counter-reset: feature; list-style: none; margin: 0; padding: 0; }
.feature-list li { border-bottom: 1px solid var(--line); counter-increment: feature; font-size: 17px; font-weight: 550; padding: 23px 0 23px 46px; position: relative; }
.feature-list li::before { color: var(--blue); content: counter(feature, decimal-leading-zero); font-size: 11px; left: 0; letter-spacing: .08em; position: absolute; top: 28px; }
.ideal-grid { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: 42px; overflow: hidden; }
.ideal-grid article { background: rgba(255,255,255,.025); min-height: 170px; padding: 28px; }
.ideal-grid h3 { color: #fff; font-size: 18px; line-height: 1.35; margin: 0; }

.content-shell { margin: 0 auto; max-width: 900px; min-height: 70vh; padding: 140px 28px 90px; }
.content-entry { border-bottom: 1px solid var(--line); padding: 30px 0; }
.content-entry h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.04em; }
.content-entry h1 a { text-decoration: none; }
.entry-content { color: var(--muted); font-size: 17px; line-height: 1.7; }

.legal-page { background: var(--soft); min-height: 100vh; padding: 130px 24px 100px; }
.legal-shell { margin: 0 auto; max-width: 940px; }
.legal-hero { margin-bottom: 46px; max-width: 760px; }
.legal-hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: 0 0 22px; }
.legal-updated { color: var(--faint); font-size: 13px; margin: 0; }
.legal-layout { align-items: start; display: grid; gap: 54px; grid-template-columns: 240px minmax(0, 1fr); }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; position: sticky; top: 82px; }
.legal-toc strong { display: block; font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; text-transform: uppercase; }
.legal-toc a { color: var(--muted); display: block; font-size: 13px; line-height: 1.35; padding: 7px 0; text-decoration: none; }
.legal-toc a:hover { color: var(--blue-dark); }
.legal-content { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 5vw, 58px); }
.legal-content section { border-bottom: 1px solid var(--line); padding: 0 0 38px; scroll-margin-top: 90px; }
.legal-content section + section { padding-top: 38px; }
.legal-content section:last-child { border: 0; padding-bottom: 0; }
.legal-content h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 18px; }
.legal-content h3 { font-size: 17px; margin: 26px 0 10px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 10px 0 18px; padding-left: 22px; }
.legal-content a { color: var(--blue-dark); }

.site-footer { align-items: center; background: var(--ink); color: #fff; display: grid; gap: 30px; grid-template-columns: 1fr auto; padding: 46px max(32px, calc((100% - 1200px) / 2)); }
.site-footer strong { font-size: 13px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.5; margin: 5px 0 0; }
.site-footer__meta { text-align: right; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 920px) {
	.section, .consultation { padding: 90px 24px; }
	.split-layout, .section-heading--split, .consultation__inner { gap: 50px; grid-template-columns: 1fr; }
	.consultation__inner { max-width: 680px; }
	.steps-grid { grid-template-columns: 1fr 1fr; }
	.product-grid { grid-template-columns: 1fr 1fr; }
	.product-hero { grid-template-columns: 1fr; }
	.product-hero__media { min-height: 52svh; }
	.product-hero__content { padding: 60px 32px 80px; }
	.product-specs dl { grid-template-columns: 1fr 1fr; }
	.legal-layout { grid-template-columns: 1fr; }
	.legal-toc { position: static; }
}

@media (max-width: 680px) {
	.site-header__inner { height: 54px; padding: 0 16px; }
	.brand__name { font-size: 12px; }
	.menu-toggle { display: block; }
	.primary-nav { align-items: stretch; background: rgba(255,255,255,.98); flex-direction: column; gap: 0; left: 0; opacity: 0; padding: 20px 24px 32px; pointer-events: none; position: absolute; right: 0; top: 54px; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
	.primary-nav.is-open { opacity: 1 !important; pointer-events: auto; transform: none !important; visibility: visible; }
	.primary-nav > a { border-bottom: 1px solid var(--line); font-size: 16px; padding: 15px 0; }
	.primary-nav .button { border: 0; margin-top: 16px; }
	.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.hero { min-height: 92svh; padding-top: 110px; }
	.hero h1 { font-size: clamp(3rem, 16vw, 5.4rem); }
	.trust-strip { align-items: flex-start; flex-direction: column; gap: 12px; padding-left: 32px; }
	.tile-grid, .value-grid, .product-grid, .ideal-grid, .product-specs dl { grid-template-columns: 1fr; }
	.steps-grid { grid-template-columns: 1fr; }
	.step-card { min-height: 220px; }
	.product-card__media { height: 310px; }
	.field-row { grid-template-columns: 1fr; }
	.form-card { padding: 28px 20px; }
	.product-hero__media { min-height: 430px; padding: 50px 24px; }
	.product-hero__content { padding: 50px 24px 70px; }
	.back-link { margin-bottom: 36px; }
	.site-footer { grid-template-columns: 1fr; padding: 42px 24px; }
	.site-footer__meta { text-align: left; }
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
