/*
Theme Name: Aqua Splaash
Theme URI: https://aquasplaash.com
Author: Aqua Splaash
Description: Custom theme for Aqua Splaash packaged drinking water, Bettahalasur, Bengaluru. Edit contact details, licence numbers, prices and photos under Appearance → Customize → Aqua Splaash.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: aqua-splaash
*/

:root {
  --navy: #0B2545;
  --navy-2: #13325A;
  --blue: #1368AA;
  --aqua: #5FC3E4;
  --aqua-soft: #8FD3EE;
  --ground: #EEF6FB;
  --line: #D6E6F2;
  --line-2: #A9C9E2;
  --muted: #3E5570;
  --on-navy: #C9DCEC;
  --white: #FFFFFF;
  --radius: 18px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--navy); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; }
p { margin: 0; }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--white); padding: 12px 16px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section--ground { background: var(--ground); }
.section--navy { background: var(--navy); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row > * { flex: 1 1 240px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 420px; }

.eyebrow { color: var(--blue); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.section--navy .eyebrow { color: var(--aqua-soft); }
.h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; }
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.section--navy .lead, .section--navy p { color: var(--on-navy); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn--light:hover { background: var(--ground); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; padding: 12px 0; display: inline-block; }

/* Top bar + header */
.topbar { background: var(--navy); color: #DCEBF7; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__name { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.brand img { max-height: 48px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.main-nav a { display: block; color: var(--navy); text-decoration: none; font-weight: 500; padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.main-nav .nav-cta a { background: var(--blue); color: var(--white); padding: 12px 20px; border-radius: 999px; border: none; font-weight: 600; margin-left: 8px; }
.main-nav .nav-cta a:hover { background: var(--navy); color: var(--white); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .main-nav a { border-bottom: 1px solid var(--line); }
  .main-nav .current-menu-item > a, .main-nav .current_page_item > a { border-bottom-color: var(--line); }
  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; }
  .admin-bar .site-header { top: 0; }
}

/* Page hero */
.page-hero { background: var(--ground); }
.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.page-hero .h1 { max-width: 860px; }

/* Home hero */
.hero { background: var(--ground); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero__art { flex: 1 1 380px; display: flex; justify-content: center; }
.hero__art svg, .hero__art img { width: 100%; max-width: 440px; }
.pill { align-self: flex-start; background: var(--white); color: var(--blue); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid #C3DCEE; }
.hero .lead { max-width: 540px; }
.hero__call a { color: var(--navy); font-weight: 600; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.trust__item { flex: 1 1 220px; display: flex; gap: 12px; align-items: center; }
.trust__item strong { display: block; font-weight: 600; }
.trust__item span { font-size: 14px; color: var(--muted); }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card--line { border: 1px solid var(--line); }
.card--ground { background: var(--ground); }
.card--navy { background: var(--navy-2); }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card--navy p { color: var(--on-navy); }
.card ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

.product-mini { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; flex: 1 1 190px; }
.product-mini__art { background: var(--ground); height: 220px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; }
.product-mini__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.product-mini__body h3 { font-size: 22px; }
.product-mini__body p { font-size: 15px; color: var(--muted); }

.product { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-wrap: wrap; }
.product__art { flex: 1 1 240px; background: var(--ground); min-height: 240px; display: flex; align-items: flex-end; justify-content: center; padding: 28px 20px 24px; }
.product__art img { max-height: 220px; width: auto; object-fit: contain; }
.product__body { flex: 3 1 420px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.product__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__top h2 { font-size: 30px; font-weight: 600; }
.product__price { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--blue); }
.product__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.product__meta span { color: var(--muted); }
.product__meta strong { font-weight: 600; }

.step-num { width: 40px; height: 40px; border-radius: 999px; background: var(--blue); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-row { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.step-row .step-num { width: 52px; height: 52px; font-size: 22px; }
.step-row__text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.step-row__text p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.step-row__tag { flex: 0 1 220px; background: var(--ground); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--muted); }
.step-row__tag strong { color: var(--navy); }
.big-num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--aqua-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #3A5A80; border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--white); }

.cta-band { background: var(--blue); color: var(--white); border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.cta-band .h2 { font-size: clamp(28px, 3.5vw, 40px); }
.cta-band p { font-size: 18px; line-height: 1.6; color: #E3F0FA; }
@media (max-width: 600px) { .cta-band { padding: 36px 24px; } }

.photo { border-radius: 24px; overflow: hidden; background: var(--line); min-height: 220px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { border: 2px dashed var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; text-align: center; padding: 24px; }
.photo--tall { min-height: 380px; }
.avatar { width: 104px; height: 104px; flex: none; border-radius: 999px; overflow: hidden; background: var(--line); border: 2px dashed var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--img { border: none; }
.partner { flex-direction: row; align-items: center; gap: 20px; }
.value { border-top: 3px solid var(--blue); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 280px; }
.value p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks div { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.6; }
.checks svg { flex: none; margin-top: 2px; }
.licence-badge { width: 72px; height: 72px; border-radius: 14px; background: var(--ground); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.licence-badge img { max-width: 64px; max-height: 64px; }

.contact-card { flex: 1 1 260px; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.contact-card:hover { border-color: var(--blue); color: var(--navy); }
.contact-card strong { font-family: var(--display); font-size: 22px; font-weight: 600; word-break: break-word; }
.map { border-radius: 24px; overflow: hidden; min-height: 340px; background: var(--line); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Forms */
.form-panel { background: var(--ground); border-radius: 24px; padding: 36px; }
@media (max-width: 600px) { .form-panel { padding: 24px; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form .row { gap: 18px; }
.form .row > * { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; color: var(--navy); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
fieldset.field { border: none; margin: 0; padding: 0; }
.checkbox-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-pills label { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; min-height: 44px; font-weight: 500; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 14px; padding: 16px 20px; font-weight: 500; }
.notice--ok { background: #E3F5EA; color: #14532D; }
.notice--err { background: #FDECEC; color: #7F1D1D; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.site-footer a { color: var(--on-navy); text-decoration: none; padding: 6px 0; display: inline-block; }
.site-footer a:hover { color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; }
.footer-col--brand { flex: 2 1 280px; gap: 14px; }
.footer-title { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.footer-col p, .footer-col address { font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { border-top: 1px solid #1E3A5F; }
.footer-bottom .wrap { padding-top: 18px; padding-bottom: 18px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.brand--footer .brand__name { color: var(--white); font-size: 22px; }

/* Generic page content (page.php) */
.entry { max-width: 780px; font-size: 18px; line-height: 1.7; }
.entry > * + * { margin-top: 1em; }
.entry h2 { font-size: 30px; margin-top: 1.6em; }
.entry h3 { font-size: 22px; margin-top: 1.4em; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 999px; background: #1F8F4E; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(11,37,69,.25); z-index: 60; }
.wa-float:hover { background: #18723E; color: #fff; }
