/*
Theme Name: AQUAOMATIC Premium Child
Template: aquaomatic-modern
Version: 1.0.0
Description: Responsive premium design for AQUAOMATIC; retains parent theme and WooCommerce support.
*/
:root{--aq-navy:#083657;--aq-blue:#0878b9;--aq-teal:#00a6b5;--aq-pale:#eaf7fc;--aq-ink:#17374c}*{box-sizing:border-box}body{margin:0;color:var(--aq-ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#fff}.top{display:none!important}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.aq-header{background:white;box-shadow:0 4px 25px rgba(6,48,79,.06);position:relative;z-index:10}.aq-header .head-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:94px}.aq-header .site-branding img{width:auto;max-width:230px;max-height:72px;object-fit:contain}.aq-header .menu{display:flex;flex-wrap:wrap;align-items:center;gap:5px;list-style:none;margin:0;padding:0}.aq-header .menu li{margin:0}.aq-header .menu a{display:block;color:#16445f;font-size:14px;text-decoration:none;padding:11px 10px;border-radius:8px;font-weight:600}.aq-header .menu a:hover,.aq-header .menu .current-menu-item>a{background:#eaf7fc;color:#0078ac}.aq-menu-toggle{display:none}.aq-hero{background:linear-gradient(120deg,#e7f8fd 0%,#f8fcff 62%,#e0f5f8 100%);padding:94px 0 90px;overflow:hidden}.aq-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.aq-eyebrow{color:#007d9d;font-weight:800;letter-spacing:.13em;font-size:12px;text-transform:uppercase}.aq-hero h1{font-size:clamp(40px,5vw,68px);line-height:1.1;letter-spacing:-.045em;color:#06395d;margin:18px 0 22px}.aq-hero p{font-size:19px;line-height:1.75;max-width:600px}.aq-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.aq-btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 23px;border-radius:10px;background:#0878b9;color:white!important;font-weight:750;text-decoration:none;box-shadow:0 8px 20px #0878b926}.aq-btn.dark{background:#083657}.aq-btn:hover{filter:brightness(.94)}.aq-visual{min-height:350px;display:flex;align-items:center;justify-content:center;position:relative}.aq-water{width:310px;height:310px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#b5f4ff,#2bb5d7 55%,#066da5 100%);box-shadow:0 30px 60px #086f9c36,inset 0 0 0 20px #ffffff40;display:grid;place-items:center;color:white;font-size:100px}.aq-floating{position:absolute;bottom:18px;right:0;background:white;border-radius:14px;padding:18px;box-shadow:0 15px 35px #104c7020;font-weight:800;color:#08446c}.aq-section{padding:75px 0}.aq-section.soft{background:#f3f9fc}.aq-kicker{font-size:13px;color:#0089a4;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.aq-section h2{font-size:clamp(28px,3vw,42px);line-height:1.2;color:#07395c;margin:12px 0 18px}.aq-lead{max-width:700px;line-height:1.7;color:#557184;margin-bottom:32px}.aq-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.aq-card{padding:28px;background:white;border:1px solid #e0edf3;border-radius:18px;box-shadow:0 9px 25px #093c5a0b}.aq-card .aq-symbol{font-size:34px;margin-bottom:18px}.aq-card h3{color:#07395c;font-size:20px;margin:0 0 12px}.aq-card p{line-height:1.7;color:#607688;margin:0 0 16px}.aq-card a{color:#0075a8;font-weight:750;text-decoration:none}.aq-banner{background:#073c62;color:white;border-radius:22px;padding:42px;display:flex;justify-content:space-between;align-items:center;gap:25px}.aq-banner h2{color:white;margin:0 0 10px}.aq-banner p{margin:0;color:#d4edf9;line-height:1.7}.aq-area-list{display:flex;flex-wrap:wrap;gap:10px}.aq-area-list span{background:#e9f6fa;color:#095478;padding:11px 16px;border-radius:30px;font-weight:650}.aq-footer-note{color:#68869a;font-size:13px}.footer{background:#072e4d;color:#d8edf7;padding:40px 0}.footer strong{color:white}.footer p{color:#d8edf7}.wa{z-index:20}.aq-hero .btn{display:none}@media(max-width:900px){.aq-hero-grid{grid-template-columns:1fr}.aq-visual{min-height:220px}.aq-water{width:200px;height:200px;font-size:70px}.aq-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.wrap{width:min(100% - 32px,1180px)}.aq-header .head-inner{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;min-height:85px;gap:8px;padding:12px 0}.aq-header .site-branding{flex:1;min-width:0}.aq-header .site-branding img{max-width:min(100%,185px);max-height:65px}.aq-header .aq-menu-toggle{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #cfe0e8;color:#063b65;border-radius:9px;padding:10px 13px;font-size:15px;font-weight:700;cursor:pointer}.aq-header .main-navigation{display:none!important;width:100%;flex-basis:100%}.aq-header .main-navigation.aq-menu-open{display:block!important;background:#fff;border:1px solid #e1edf2;border-radius:12px;padding:6px;box-shadow:0 10px 25px #093c5a12}.aq-header .main-navigation .menu{display:flex;flex-direction:column;align-items:stretch;gap:0!important;margin:0!important;padding:0!important}.aq-header .main-navigation .menu li{width:100%;margin:0!important;border-bottom:1px solid #edf3f6}.aq-header .main-navigation .menu li:last-child{border:0}.aq-header .main-navigation .menu a{padding:12px 14px!important;font-size:15px!important}.aq-hero{padding:58px 0}.aq-hero h1{font-size:clamp(36px,10vw,50px)}.aq-hero p{font-size:16px}.aq-visual{display:none}.aq-cards{grid-template-columns:1fr}.aq-section{padding:52px 0}.aq-banner{padding:27px;display:block}.aq-banner .aq-btn{margin-top:20px}.aq-actions .aq-btn{flex:1;min-width:170px}}

/* Family story: photographs supplied by site owner */
.aq-family-section{padding:78px 0;background:linear-gradient(120deg,#f4fbfe,#e7f6fc)}
.aq-family-layout{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:55px}
.aq-family-eyebrow{display:inline-block;color:#0786a5;font-size:12px;font-weight:800;letter-spacing:.13em}
.aq-family-copy h2{font-size:clamp(32px,3.8vw,52px);line-height:1.14;letter-spacing:-.035em;color:#07395c;margin:16px 0 20px}
.aq-family-copy p{font-size:17px;line-height:1.8;color:#45687d;margin:0 0 28px;max-width:540px}
.aq-family-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center}
.aq-family-photo{margin:0;overflow:hidden;border:6px solid white;border-radius:24px;box-shadow:0 18px 42px rgba(8,55,89,.13);height:370px;background:#f6f2ee}
.aq-family-photo-two{transform:translateY(22px)}
.aq-family-photo img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block}
@media(max-width:767px){.aq-family-section{padding:52px 0}.aq-family-layout{grid-template-columns:1fr;gap:25px}.aq-family-copy h2{font-size:34px}.aq-family-copy p{font-size:16px}.aq-family-photos{gap:10px}.aq-family-photo{height:280px;border-width:4px;border-radius:16px}.aq-family-photo-two{transform:translateY(12px)}}
@media(max-width:380px){.aq-family-photo{height:225px}}

/* Research knowledge centre styles */
.aq-research-hero{background:linear-gradient(115deg,#073e6b,#087fba);color:#fff;padding:65px 0 56px}.aq-research-hero h1{color:#fff;font-size:clamp(30px,5vw,54px);line-height:1.13;margin:14px 0}.aq-research-hero p{max-width:720px;color:#e8f6ff;font-size:17px}.aq-r-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#b7e9ff}.aq-r-lang{display:flex;gap:8px;margin-top:24px}.aq-r-lang button{padding:10px 20px;border:1px solid #b5dff1;background:transparent;color:#fff;border-radius:24px;cursor:pointer}.aq-r-lang button.is-active{background:#fff;color:#08446f;font-weight:700}.aq-research-content{padding:38px 0 70px;background:#f5f9fc}.aq-r-searchpanel{background:#fff;padding:24px;border-radius:16px;box-shadow:0 6px 26px #09334c14}.aq-r-searchpanel label{display:block;font-weight:750;font-size:18px;margin-bottom:12px}.aq-r-searchpanel input{display:block;width:100%;box-sizing:border-box;border:2px solid #b8d6e5;border-radius:10px;padding:15px;font-size:17px;background:#fff;color:#16364c}.aq-r-searchpanel input:focus{outline:3px solid #99dcf4}.aq-r-small{font-size:13px;color:#536b7c;margin:10px 0 0}.aq-r-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:30px 0 17px}.aq-r-sectionhead h2{margin:0}.aq-r-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.aq-research-card{background:#fff;border:1px solid #e0edf3;border-radius:15px;padding:22px;box-shadow:0 4px 14px #0a34570a}.aq-r-tag{display:inline-block;padding:6px 12px;background:#e2f6fd;color:#05638d;border-radius:30px;font-size:12px;font-weight:800}.aq-research-card h3{font-size:20px;margin:14px 0 10px;color:#073c61}.aq-research-card p{font-size:14px;line-height:1.7;color:#344f60}.aq-r-note{font-size:13px;line-height:1.55;background:#f0f8fd;border-left:3px solid #1699c5;padding:12px;border-radius:5px;color:#1d4d68}.aq-r-resource{background:#fff;border-radius:15px;padding:26px;margin-top:32px}.aq-r-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.aq-r-links a{padding:10px 14px;border-radius:8px;background:#e8f5fc;color:#075784;text-decoration:none;font-weight:650}.aq-r-warning{margin-top:20px;padding:18px 22px;border:1px solid #d9e5ec;border-radius:10px;background:#fff;color:#365365;line-height:1.7}.aq-r-empty{padding:20px;background:#fff;border-radius:10px}.aq-research-content [hidden],.aq-research-hero [hidden]{display:none!important}@media(max-width:950px){.aq-r-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.aq-r-grid{grid-template-columns:1fr}.aq-research-hero{padding:45px 0}.aq-r-searchpanel,.aq-r-resource{padding:18px}.aq-research-card{padding:19px}}

/* Research test analyzer */
.aq-analyzer{padding:70px 0;background:linear-gradient(145deg,#f1faff,#fff);color:#16334c}.aq-analyzer-head{max-width:780px}.aq-analyzer-head h2{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:12px 0}.aq-analyzer-panel{background:#fff;border:1px solid #d9e9f1;border-radius:22px;padding:clamp(18px,3vw,34px);box-shadow:0 14px 40px rgba(10,53,84,.08);margin:24px 0}.aq-analyzer-panel label{display:block;font-weight:700;margin:15px 0 7px}.aq-analyzer-panel select,.aq-analyzer-panel input{width:100%;padding:14px;border:1px solid #b6d2e2;border-radius:10px;background:#fff;font-size:16px;color:#123}.aq-test-inputrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.aq-test-inputrow input{flex:1;min-width:120px}.aq-test-inputrow button{cursor:pointer;border:0}.aq-test-result{background:#f3f9fc;border-left:4px solid #1684b8;border-radius:8px;margin-top:22px;padding:18px}.aq-test-result h3{margin:0 0 8px}.aq-test-result .warn{color:#9d431b}.aq-test-result .ok{color:#176d46}.aq-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.aq-methods article{background:white;border:1px solid #e0eaf1;border-radius:18px;padding:22px}.aq-methods h3{margin:0 0 8px}.aq-test-disclaimer{padding:20px;background:#fff8e8;border:1px solid #e9d9b0;border-radius:12px;margin:22px 0}@media(max-width:760px){.aq-methods{grid-template-columns:1fr}.aq-test-inputrow button{width:100%}}

/* All-in-one contact and mobile refinements */
.aq-contact-hero{padding:65px 0 40px;background:linear-gradient(125deg,#e7f7ff,#f6fcff)}.aq-contact-hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:14px 0}.aq-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.aq-contact-card{border:1px solid #d7e7f0;border-radius:22px;padding:30px;background:white;box-shadow:0 12px 30px #0b507014}.aq-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.aq-quick-links{position:fixed;z-index:999;bottom:12px;left:12px;display:flex;flex-wrap:wrap;gap:7px}.aq-quick-links a{background:#087f9e;color:white!important;text-decoration:none;border-radius:30px;padding:10px 15px;font-weight:700;box-shadow:0 4px 15px #1234}.aq-quick-links a:nth-child(n+2){background:#168b50}@media(max-width:720px){.aq-contact-grid{grid-template-columns:1fr}.aq-contact-card{padding:20px}.aq-quick-links{bottom:8px;left:8px;right:8px;justify-content:center}.aq-quick-links a{font-size:12px;padding:9px 12px}.footer{padding-bottom:70px}}



/* Prevent any duplicate child header; parent theme provides the original header. */
header.aq-header {display:none!important;}


/* AQUAOMATIC header repair — retain the single visible navigation */
html,body{margin:0!important;padding-top:0!important;}
body > header.aq-header{display:none!important;}
body > .top{display:none!important;}
/* Visible theme or builder header must sit above overlapping hero layers. */
body > header:not(.aq-header),body > .site-header,body > #masthead,
header.site-header,header.header:not(.aq-header){position:relative!important;z-index:1000!important;}
header nav,header nav a,header .menu,header .menu a{pointer-events:auto!important;}
/* Prevent hero artwork from covering the navigation's click targets. */
.aq-new-hero,.aq-hero-banner{position:relative;z-index:0;}

/* Keep parent header above the banner; do not disable its navigation. */
header nav a, .site-header nav a, #masthead nav a { pointer-events: auto !important; }
.aq-new-hero { isolation: isolate; }
