:root {
  --bg: #f6fafd;
  --surface: #ffffff;
  --alt: #e9f4fb;
  --text: #0e2342;
  --muted: #53647c;
  --line: #d5e3ee;
  --blue: #1a9be0;
  --navy: #0b2a5b;
  --gold: #b88e3a;
  --gold-text: #ffffff;
  --shadow: 0 10px 30px rgba(11, 42, 91, .08);
  --radius: 14px;
  --head: system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

[data-theme="dark"] {
  --bg: #08131f;
  --surface: #0f2133;
  --alt: #0c1b2b;
  --text: #e8f1f8;
  --muted: #9fb3c6;
  --line: #1d3550;
  --blue: #4cb8f0;
  --navy: #0a2745;
  --gold: #d4ab55;
  --gold-text: #1a1305;
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background .3s, color .3s;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.wrap {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.15;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand img {
  height: 56px;
  width: auto;
}

[data-theme="dark"] .brand img,
[data-theme="dark"] .foot-logo {
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--alt);
}

.nav a.nav-cta {
  background: var(--gold);
  color: var(--gold-text);
  margin-inline: 4px;
}

.nav a.nav-cta:hover {
  filter: brightness(1.08);
}

.header-tools {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  background: var(--alt);
}

.i-sun {
  display: none;
}

[data-theme="dark"] .i-sun {
  display: block;
}

[data-theme="dark"] .i-moon {
  display: none;
}

.menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, filter .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #04121f;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--alt);
}

.btn-gold {
  background: var(--gold);
  color: var(--gold-text);
  padding: 10px 18px;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, rgba(6, 22, 40, .9) 0%, rgba(6, 22, 40, .62) 42%, rgba(6, 22, 40, .08) 100%), url("images/Refreshing Family Moment in the Kitchen.png") center right / cover no-repeat, #0b2a5b;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero .lead,
.hero .trust {
  color: #d6e6f5;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.hero-in {
  display: block;
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 28px;
}

.trust {
  margin-top: 26px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.tds-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.tds-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.small {
  color: var(--muted);
  font-size: .92rem;
}

.tiny {
  color: var(--muted);
  font-size: .75rem;
  margin-top: 10px;
}

.tds-card input[type=range] {
  width: 100%;
  margin: 18px 0 14px;
  accent-color: var(--blue);
}

.tds-readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.tds-readout>div {
  background: var(--alt);
  border-radius: 12px;
  padding: 12px 14px;
}

.tds-label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
}

.tds-readout strong {
  font-family: var(--head);
  font-size: 2rem;
}

.glass {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 120px;
}

.water {
  align-self: end;
  border-radius: 12px 12px 8px 8px;
  transition: height .5s ease, background .5s;
  border: 1px solid var(--line);
}

.tap-water {
  background: #b69b6c;
}

.ro-water {
  background: var(--blue);
  opacity: .85;
}

.note {
  margin-top: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.sec-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}

.sec-sub {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.prod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prod img {
  height: 210px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}

.prod h3 {
  font-size: 1.25rem;
  margin-top: 8px;
}

.prod p {
  color: var(--muted);
  flex: 1;
}

.prod .btn {
  align-self: flex-start;
}

.chips-title {
  margin: 56px 0 16px;
  font-size: 1.2rem;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}

.why {
  border-top: 3px solid var(--gold);
  padding-top: 16px;
}

.why h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why p {
  color: var(--muted);
  font-size: .95rem;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
}

details[open] summary::after {
  content: "\2212";
}

details p {
  color: var(--muted);
  margin-top: 10px;
}

.cta {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}

.cta-in {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.cta p {
  color: #b9cde3;
}


/* Responsive */
@media (max-width: 960px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .menu-btn {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav a.nav-cta {
    text-align: center;
    margin: 6px 0;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Brands marquee */
.center {
  text-align: center;
}

.brands {
  padding-bottom: 72px;
}

.marquee {
  overflow: hidden;
  margin-top: 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  list-style: none;
  animation: marquee 35s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  flex: none;
  width: 190px;
  height: 100px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.marquee-track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: var(--head);
  font-weight: 700;
  color: #0b2a5b;
  text-align: center;
  font-size: 1.05rem;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* Highlights, intro, promise */
.features {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.features .grid-4 {
  margin-top: 0;
}

.feat {
  text-align: center;
}

.feat svg {
  width: 52px;
  height: 52px;
  color: var(--blue);
  margin-bottom: 10px;
}

.feat h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.feat p {
  color: var(--muted);
  font-size: .93rem;
}

.intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro p,
.promise p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 62ch;
}

.checklist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.checklist-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .45em;
  width: 7px;
  height: 12px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.promise .btn {
  margin-top: 20px;
}

@media (max-width: 960px) {

  .intro,
  .promise {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Typewriter + TDS section */
.hero h1 {
  min-height: 2.35em;
}

.caret {
  display: inline-block;
  width: 3px;
  height: .9em;
  background: var(--blue);
  margin-left: 6px;
  vertical-align: -.08em;
  animation: blink .8s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-wait {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.hero-wait.show {
  opacity: 1;
  transform: none;
}

.tds-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tds-card {
  color: var(--text);
}

@media (max-width: 960px) {
  .tds-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: 480px;
  }

  .hero {
    background-position: 70% center;
  }
}

/* Footer */
.site-footer {
  background: #051a33;
  color: #b7c8db;
  padding-top: 64px;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr 1.3fr;
  gap: 44px;
}

.f-logo {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 18px;
}

.f-logo img {
  height: 52px;
  width: auto;
}

.f-brand p {
  font-size: .94rem;
  max-width: 34ch;
  margin-bottom: 20px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .2s, border-color .2s;
}

.social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #04121f;
}

.f-col h4 {
  font-family: var(--head);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

.f-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.f-col>a {
  display: block;
  color: #b7c8db;
  font-size: .94rem;
  padding: 5px 0;
  transition: color .2s, padding-left .2s;
}

.f-col>a:hover {
  color: #fff;
  padding-left: 4px;
}

.f-contact .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  margin-bottom: 14px;
  color: #b7c8db;
}

.f-contact .row svg {
  flex: none;
  color: var(--gold);
  margin-top: 3px;
}

.f-contact a.row:hover {
  color: #fff;
}

.f-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.f-bottom-in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .85rem;
}

.f-legal {
  display: flex;
  gap: 20px;
}

.f-legal a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .f-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .f-bottom-in {
    flex-direction: column;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}

.wa-tip {
  position: absolute;
  right: 70px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip {
  opacity: 1;
  transform: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .wa-float {
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .wa-tip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
    display: none;
  }
}



/* ===== Language dropdown ===== */
.lang-dd {
  position: relative;
  margin-right: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #0a6ebd 0%, #7b2ff7 55%, #f107a3 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(123, 47, 247, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.lang-btn:hover,
.lang-dd.open .lang-btn {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(241, 7, 163, .45);
  filter: brightness(1.08);
}

.lang-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lang-btn .chev {
  transition: transform .2s;
}

.lang-dd.open .lang-btn .chev {
  transform: rotate(180deg);
}

/* ===== Language dropdown ===== */
.lang-dd {
  position: relative;
  margin-right: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid #b98a35;
  /* gold ring to match the logo */
  outline: none;
  background: linear-gradient(135deg, #0a6ebd 0%, #0b4f8a 100%);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 110, 189, .35);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

/* Hover and open state */
.lang-btn:hover,
.lang-dd.open .lang-btn {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0d82dc 0%, #0a6ebd 100%);
  border-color: #d4a84b;
  /* slightly brighter gold */
  box-shadow: 0 6px 18px rgba(185, 138, 53, .45);
}

/* Keyboard focus ring (only shows when navigating with keyboard) */
.lang-btn:focus-visible {
  outline: 2px solid #d4a84b;
  outline-offset: 2px;
}

/* Chevron arrow rotates when the menu is open */
.lang-btn .chev {
  transition: transform .2s;
}

.lang-dd.open .lang-btn .chev {
  transform: rotate(180deg);
}

/* ===== Dropdown menu ===== */
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  /* removes the bullet points */
  background: #fff;
  color: #1f2d3d;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
  display: none;
  /* hidden by default */
  z-index: 1000;
}

/* Show the menu when the dropdown is open */
.lang-dd.open .lang-menu {
  display: block;
}

.lang-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #fbf3e2;
  /* light gold tint on hover */
}

/* Currently selected language */
.lang-menu button.active {
  background: linear-gradient(135deg, #0a6ebd, #0b4f8a);
  color: #fff;
}

/* ===== Dark mode ===== */
[data-theme="dark"] .lang-menu,
.dark .lang-menu,
.dark-mode .lang-menu {
  background: #16222f;
  color: #e6edf3;
  border-color: rgba(255, 255, 255, .15);
}

[data-theme="dark"] .lang-menu button:hover,
.dark .lang-menu button:hover,
.dark-mode .lang-menu button:hover {
  background: #22364a;
}

/* ===== Arabic (RTL) support ===== */
html[dir="rtl"] .lang-dd {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-menu button {
  text-align: right;
}

/* ===== Mobile ===== */
@media (max-width: 520px) {
  .lang-dd {
    margin-right: 4px;
  }

  .lang-btn {
    padding: 6px 11px;
    font-size: 12px;
  }
}

/* ===== Hide the default Google Translate banner and tooltip ===== */
.goog-te-banner-frame,
.skiptranslate iframe,
#goog-gt-tt {
  display: none !important;
}

/* Prevents Google Translate from pushing the page down */
body {
  top: 0 !important;
}

/* Removes the yellow highlight Google Translate adds on hover */
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}



/* Floating Call (left side) */
.call-float {
  position: fixed;
  left: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s;
}

.call-float:hover {
  transform: scale(1.08);
}

.call-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}

.call-tip {
  position: absolute;
  left: 70px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.call-float:hover .call-tip,
.call-float:focus-visible .call-tip {
  opacity: 1;
  transform: none;
}

@media (max-width: 560px) {
  .call-float {
    left: 16px;
    width: 54px;
    height: 54px;
  }

  .call-tip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-float::before {
    animation: none;
    display: none;
  }
}



/* TDS treatment advice */
.tds-advice {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--alt);
  border-left: 4px solid var(--blue);
}

.tds-advice p {
  margin-top: 8px;
  font-size: .93rem;
  color: var(--text);
}

.tds-level {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--blue);
  color: #04121f;
}

.tds-advice[data-level="good"] {
  border-left-color: #2e9e6b;
}

.tds-advice[data-level="good"] .tds-level {
  background: #2e9e6b;
  color: #fff;
}

.tds-advice[data-level="fair"] {
  border-left-color: var(--blue);
}

.tds-advice[data-level="high"] {
  border-left-color: var(--gold);
}

.tds-advice[data-level="high"] .tds-level {
  background: var(--gold);
  color: var(--gold-text);
}

.tds-advice[data-level="veryhigh"] {
  border-left-color: #d6453d;
}

.tds-advice[data-level="veryhigh"] .tds-level {
  background: #d6453d;
  color: #fff;
}

.tds-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tds-links a {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .85rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

.tds-links a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

[data-theme="dark"] .tds-links a:hover {
  background: var(--blue);
  color: #04121f;
  border-color: var(--blue);
}



/* ===== Aqua Best footer (paste at the end of style.css) ===== */
.site-footer {
  background: #051a33;
  color: #b7c8db;
  padding-top: 64px
}

.site-footer a {
  text-decoration: none
}

.f-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1.9fr 1.2fr;
  gap: 44px;
  align-items: start
}

/* brand */
.f-logo {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 18px
}

.f-logo img {
  height: 52px;
  width: auto;
  display: block
}

.f-brand p {
  font-size: .94rem;
  line-height: 1.6;
  max-width: 34ch
}

/* column headings with gold underline */
.f-col h4 {
  font-family: var(--head, inherit);
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 18px;
  padding-bottom: 10px;
  position: relative
}

.f-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold, #e0a526)
}

/* company links */
.f-col>a {
  display: block;
  color: #b7c8db;
  font-size: .94rem;
  padding: 5px 0;
  transition: color .2s, padding-left .2s
}

.f-col>a:hover {
  color: #fff;
  padding-left: 4px
}

/* OUR PRODUCTS: two neat columns, 7 + 7 */
.f-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, auto);
  gap: 0 28px
}

.f-links a {
  display: block;
  color: #b7c8db;
  font-size: .94rem;
  line-height: 1.35;
  padding: 6px 0;
  transition: color .2s, padding-left .2s
}

.f-links a:hover {
  color: #fff;
  padding-left: 4px
}

/* contact */
.f-contact .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 14px;
  color: #b7c8db
}

.f-contact a.row:hover {
  color: #fff
}

/* bottom bar */
.f-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.f-bottom-in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .85rem
}

.f-legal {
  display: flex;
  gap: 20px
}

.f-legal a {
  color: #b7c8db
}

.f-legal a:hover {
  color: #fff
}

/* tablet */
@media (max-width:980px) {
  .f-grid {
    grid-template-columns: 1fr 1fr
  }

  .f-range {
    grid-column: 1/-1;
    order: 5
  }
}

/* mobile */
@media (max-width:560px) {
  .f-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .f-links {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px
  }

  .f-bottom-in {
    flex-direction: column
  }
}


/* Commercial Purifier Cards */

.gpd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.gpd-image {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
}

.gpd-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  box-sizing: border-box;
}

.gpd-card .gpd-num {
  margin-top: 0;
}

.gpd-card h3 {
  line-height: 1.4;
  margin-bottom: 12px;
}

.gpd-card p {
  line-height: 1.7;
}

.gpd-actions {
  margin-top: auto;
  padding-top: 18px;
}

/* Tablet */
@media (max-width: 768px) {
  .gpd-image {
    height: 210px;
    margin-bottom: 16px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .gpd-card {
    height: auto;
  }

  .gpd-image {
    height: 200px;
    flex-shrink: 0;
  }

  .gpd-image img {
    padding: 6px;
  }

  .gpd-card h3 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .gpd-card p {
    font-size: 15px;
  }
}



/* HOME PRODUCT SECTION */
.home-products-section {
  background: #f3f9fd;
  padding: 65px 20px;
  font-family: Arial, sans-serif;
}

.home-products-wrap {
  max-width: 1450px;
  margin: auto;
}

/* FILTER BUTTONS */
.home-product-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.home-filter-btn {
  border: 1px solid #d3e1ef;
  background: #ffffff;
  color: #102b50;
  padding: 16px 27px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-filter-btn:hover,
.home-filter-btn.active {
  background: #102f63;
  color: #ffffff;
  border-color: #102f63;
}

/* PRODUCT GRID */
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
  align-items: stretch;
}

/* PRODUCT CARD */
.home-product-card {
  background: #ffffff;
  border: 1px solid #d4e2ef;
  border-radius: 19px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20, 48, 80, 0.10);
}

/* IMAGE */
.home-product-image {
  height: 260px;
  padding: 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e1eaf2;
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* CONTENT */
.home-product-content {
  padding: 27px 25px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-product-content h3 {
  font-size: 22px;
  line-height: 1.4;
  color: #102b50;
  font-weight: 700;
  margin: 0 0 13px;
}

.home-product-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #60738e;
  margin: 0 0 23px;
}

/* VIEW DETAILS BUTTON */
.home-view-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 7px 8px 7px 22px;
  border: 1px solid #d3e1ef;
  border-radius: 50px;
  color: #102b50;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.3s ease;
}

.home-view-btn:hover {
  background: #102f63;
  color: #ffffff;
  border-color: #102f63;
}

.home-arrow {
  width: 43px;
  height: 43px;
  background: #102f63;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.home-view-btn:hover .home-arrow {
  background: #d5a746;
  color: #ffffff;
}

/* HIDE FILTERED CARDS */
.home-product-card.hide-card {
  display: none;
}

/* TABLET */
@media (max-width: 1100px) {
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-image {
    height: 250px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .home-products-section {
    padding: 40px 15px;
  }

  .home-product-filters {
    gap: 9px;
    margin-bottom: 30px;
  }

  .home-filter-btn {
    padding: 12px 17px;
    font-size: 13px;
  }

  .home-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-product-image {
    height: 240px;
    padding: 18px;
  }

  .home-product-content {
    padding: 22px 20px;
  }

  .home-product-content h3 {
    font-size: 20px;
  }

  .home-product-content p {
    font-size: 15px;
  }

  .home-view-btn {
    font-size: 15px;
  }
}