/* ═══════════════════════════════════════════════════════════
   AQUA PURE — style.css
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;600;800;900&family=Assistant:wght@300;400;600;700;800;900&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* Brand palette */
  --navy:    #071530;
  --ocean:   #0b3d6b;
  --teal:    #0ea5c9;
  --teal-lt: #38bdf8;
  --sky:     #e8f5fc;
  --white:   #ffffff;
  --text:    #1a2540;
  --muted:   #576380;
  --border:  #d1dff0;
  --success: #059669;

  /* Deep-ocean hero palette */
  --ap-navy:   #050f1e;
  --ap-deep:   #071728;
  --ap-mid:    #0a2540;
  --ap-accent: #00c8e0;
  --ap-glow:   #00f0ff;
  --ap-silver: rgba(180, 220, 240, 0.85);
  --ap-glass:  rgba(255,255,255,0.06);
  --ap-border: rgba(0,200,224,0.18);
  --ap-shadow: 0 24px 60px rgba(0,0,0,0.55);
}


/* ═══════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════ */
body {
    background-image: url('AddOn/background.pn');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Legacy header (index.html) */
header { display: none; }
.logo  { height: 66px; width: auto; }


/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 800;
    padding: 18px 0;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease,
                box-shadow 0.4s ease, padding 0.4s ease;
}

.main-nav.scrolled {
    background: rgba(5, 30, 70, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
    padding: 12px 0;
}

/* אחרי: */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    height: 54px;
    width: auto;
    transition: height 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.main-nav.scrolled .nav-logo img { height: 44px; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
}

.nav-menu a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px; right: 0;
    width: 0; height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover { color: white; }

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-cta .nav-phone {
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    text-shadow: none;
}

.nav-cta .nav-phone:hover {
    background: rgba(255,255,255,0.3);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hamburger toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Lock scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}



/* Mobile backdrop */
.mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 750;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-backdrop.visible {
    display: block;
    opacity: 1;
}

/* Side drawer */
.nav-menu.mobile-open {
    display: flex !important;
    position: fixed;
    top: 0; right: 0;
    height: 100vh; height: 100dvh;
    bottom: auto;
    /* עוצר בדיוק ליד הלוגו — הלוגו ~130px מהשמאל (padding 16px + רוחב לוגו ~114px) */
    left: 130px;
    width: auto;
    background: rgba(5,25,60,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: clamp(60px, 10vh, 90px) clamp(20px, 6vw, 36px) clamp(70px, 10vh, 100px);
    z-index: 700;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    animation: slideInFromRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow-y: auto;
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.nav-menu.mobile-open li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-menu.mobile-open li:last-child { border-bottom: none; }

.nav-menu.mobile-open a {
    display: block;
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 700;
    padding: clamp(12px, 2.5vw, 18px) 0;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.5px;
    transition: padding 0.2s ease, color 0.2s ease;
}

.nav-menu.mobile-open a:hover {
    color: #fff;
    padding-right: 8px;
}

/* Close button */
.nav-close-btn {
    position: fixed;
    top: 18px; right: 20px;
    z-index: 9999;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.nav-close-btn.visible { display: flex; }
.nav-close-btn:hover   { background: rgba(255,255,255,0.22); }


/* ═══════════════════════════════════════════════════════════
   FLOATING CONTACT BAR
   ═══════════════════════════════════════════════════════════ */
.floating-contact-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-bar-item {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    cursor: pointer;
}

.contact-bar-item svg { width: 26px; height: 26px; }

.contact-bar-item.phone    { background: #0A4FA3; }
.contact-bar-item.whatsapp { background: #25D366; }
.contact-bar-item.email    { background: #EA4335; }

.contact-bar-item.phone:hover    { background: #083a7a; transform: scale(1.1); }
.contact-bar-item.whatsapp:hover { background: #1fb855; transform: scale(1.1); }
.contact-bar-item.email:hover    { background: #d33426; transform: scale(1.1); }

/* Tooltip */
.contact-bar-item .tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-bar-item:hover .tooltip { opacity: 1; }

.contact-bar-item .tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: rgba(0,0,0,0.9);
}



/* ═══════════════════════════════════════════════════════════
   HERO LOGO MORPH  (Hillary Coe style — smooth single image)
   ═══════════════════════════════════════════════════════════ */

/* Wrapper — always fixed, transitions position smoothly */
.hero-logo-anchor {
    position: fixed;
    z-index: 1000;
    /* Hero state: centered */
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -52%);
    transform-origin: center center;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    will-change: transform, top, left, right;
    transition:
        top        0.7s cubic-bezier(0.77, 0, 0.175, 1),
        left       0.7s cubic-bezier(0.77, 0, 0.175, 1),
        right      0.7s cubic-bezier(0.77, 0, 0.175, 1),
        transform  0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Single logo image */
.hero-logo-morph {
    display: block;
    height: auto;
    width: min(800px, 82vw);
    filter: drop-shadow(0 0 40px rgba(0,200,224,0.35)) drop-shadow(0 4px 24px rgba(0,0,0,0.6));
    will-change: width, filter;
    transition:
        width   0.7s cubic-bezier(0.77, 0, 0.175, 1),
        filter  0.7s ease,
        opacity 0.25s ease;
}

/* hide second image entirely */
.hero-logo-docked-state { display: none !important; }
.hero-logo-hero-state   { display: block; }

/* ── Docked desktop (RTL) — ימין ── */
.hero-logo-anchor.docked {
    top: 30px;
    left: auto;
    /* מיושר לקצה הימני של nav-container (max-width:1200px + padding:30px) */
    right: max(30px, calc(50vw - 600px + 30px));
    transform: translateY(-50%);
}

.hero-logo-anchor.docked .hero-logo-morph {
    width: auto;
    height: 44px;       /* .main-nav.scrolled .nav-logo img { height: 44px } */
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* ── Docked mobile — שמאל ── */
@media (max-width: 904px) {
    .hero-logo-anchor.docked {
        right: auto;
        left: 14px;     /* nav-container padding: 0 20px */
        top: 8px;      /* .main-nav mobile: padding: 14px 0 */
        transform: translate(0, 0);
    }
    .hero-logo-anchor.docked .hero-logo-morph {
        width: auto;
        height: 42px;   /* .nav-logo img mobile: height: 42px */
    }
}

/* hide the old nav-logo — רק בדף הבית שבו יש hero morph */
body:has(.hero-logo-anchor) .nav-logo { display: none !important; }

/* placeholder keeps flex layout stable */
.nav-logo-placeholder {
    width: 54px;
    height: 44px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO / HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--ap-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0,200,224,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,80,160,0.18) 0%, transparent 55%),
        linear-gradient(175deg, #050f1e 0%, #071e38 50%, #040c18 100%);
}

.video-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 55%,
        rgba(5,15,30,0.6) 75%,
        rgba(5,15,30,0.95) 100%);
    pointer-events: none;
}

.bubbles-underlayer {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
}

.video-mesh-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.55;
    pointer-events: none;
}

/* video-logo replaced by hero-logo-morph */
.video-logo { display: none; }

/* Rain video (hidden) */
.rain-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.rain-video      { width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }

/* Scroll hint */
.video-scroll-hint {
    position: absolute;
    bottom: 38px; left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: hintBob 2.4s ease-in-out infinite;
}

.video-scroll-hint span {
    font-family: 'Assistant', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ap-accent);
}

.video-scroll-hint::after {
    content: '';
    display: block;
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--ap-accent), transparent);
}

@keyframes hintBob {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}


/* ═══════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ═══════════════════════════════════════════════════════════ */
.categories-section {
    position: relative;
    background: var(--ap-deep);
    padding: 120px 20px 100px;
    margin-top: 0;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 40%, rgba(0,200,224,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 85% 60%, rgba(0,100,200,0.10) 0%, transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.28'%3E%3Cpolygon points='30,1 59,17.6 59,51.6 30,68.3 1,51.6 1,17.6' fill='none' stroke='rgba(0,200,224,0.055)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.categories-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(5,15,30,0.98) 0%,
        transparent 18%,
        transparent 82%,
        rgba(5,15,30,0.95) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Ambient particles */
.cat-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cat-particle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: var(--ap-accent);
    opacity: 0;
    animation: particleFloat linear infinite;
}

.cat-particle:nth-child(1) { width:4px; height:4px; left:8%;  animation-duration:8s;   animation-delay:0s;   }
.cat-particle:nth-child(2) { width:6px; height:6px; left:18%; animation-duration:10s;  animation-delay:1.2s; }
.cat-particle:nth-child(3) { width:3px; height:3px; left:32%; animation-duration:7s;   animation-delay:2.1s; }
.cat-particle:nth-child(4) { width:5px; height:5px; left:47%; animation-duration:9s;   animation-delay:0.7s; }
.cat-particle:nth-child(5) { width:4px; height:4px; left:60%; animation-duration:11s;  animation-delay:3.4s; }
.cat-particle:nth-child(6) { width:7px; height:7px; left:73%; animation-duration:8.5s; animation-delay:1.8s; }
.cat-particle:nth-child(7) { width:3px; height:3px; left:86%; animation-duration:7.5s; animation-delay:0.4s; }
.cat-particle:nth-child(8) { width:5px; height:5px; left:93%; animation-duration:10s;  animation-delay:2.9s; }

@keyframes particleFloat {
    0%   { transform: translateY(0)      scale(1);   opacity: 0;   }
    10%  { opacity: 0.55; }
    90%  { opacity: 0.3;  }
    100% { transform: translateY(-110vh) scale(0.4); opacity: 0;   }
}

/* Light sweep */
.cat-light-sweep {
    position: absolute;
    top: 0; left: 0;
    width: 180px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,200,224,0.04), transparent);
    z-index: 1;
    pointer-events: none;
    animation: lightSweep 8s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes lightSweep {
    0%   { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(200vw)  skewX(-12deg); }
}

/* Section title & subtitle */
.categories-section .section-title {
    font-family: 'Exo 2', 'Assistant', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 0;
    text-shadow: 0 0 40px rgba(0,200,224,0.3);
    position: relative;
    z-index: 2;
}

.categories-section .section-title .accent-word { color: var(--ap-accent); }

.categories-section .section-subtitle {
    font-family: 'Assistant', sans-serif;
    font-size: 17px;
    color: rgba(160,210,230,0.7);
    letter-spacing: 0.5px;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.categories-title-line {
    display: block;
    width: 60px; height: 3px;
    background: linear-gradient(to right, var(--ap-accent), transparent);
    margin: 14px auto 22px;
    border-radius: 2px;
}

/* Background video inside categories */
.categories-grid-video {
    display: block !important;
    position: absolute;
    top: 0%;
    right: -50%;
    left: 10%;
    width: 200%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 28px;
    z-index: 0;
    mix-blend-mode: screen;
}

/* Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent !important;
    isolation: isolate;
}

/* Cards */
.category-card {
    position: relative;
    background: #f8fbff;
    border: 1.5px solid #93c5fd;
    border-radius: 24px;
    padding: 52px 36px 44px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease,
                border-color 0.4s ease, background 0.4s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    opacity: 0;
    animation: cardReveal 0.9s cubic-bezier(.22,1,.36,1) forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.25s; }
.category-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ap-accent), transparent);
    border-radius: 24px 24px 0 0;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: center;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,200,224,0.08) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
    pointer-events: none;
}

.category-card:hover::before { transform: scaleX(1); }
.category-card:hover::after  { opacity: 1; }

.category-card:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-14px) scale(1.015);
    box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 40px rgba(0,200,224,0.12),
                inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Card icon */
.category-icon {
    width: 76px; height: 76px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(14,165,201,0.12) 100%);
    border: 1.5px solid rgba(59,130,246,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 0 30px rgba(0,200,224,0.3);
    border-color: rgba(0,200,224,0.65);
}

.category-icon svg {
    width: 36px; height: 36px;
    color: #2563eb;
}

/* Card text */
.category-card h3 {
    font-family: 'Exo 2', 'Assistant', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    text-shadow: none;
}

.category-card p {
    font-family: 'Assistant', sans-serif;
    color: #64748b;
    line-height: 1.75;
    font-size: 15px;
    text-align: center;
    margin-bottom: 22px;
}

/* Card arrow */
.category-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #2563eb;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.category-card:hover .category-arrow { opacity: 1; transform: translateX(0); }


/* ═══════════════════════════════════════════════════════════
   WATER COMPARISON SECTION
   ═══════════════════════════════════════════════════════════ */
.water-comparison-section {
    background: transparent;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.water-comparison-section .section-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.water-comparison-section .container { position: relative; z-index: 1; }

/* Slider wrapper */
.image-comparison-container {
    max-width: 900px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.comparison-slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* Image layers */
.comparison-image-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 25px;
    overflow: hidden;
}

.comparison-image-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dirty-water-layer { z-index: 1; }

.clean-water-layer {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    will-change: clip-path;
}

/* Water labels */
.water-label {
    position: absolute;
    top: 30px;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 3;
    pointer-events: none;
}

.dirty-label { right: 30px; background: rgba(255,107,107,0.95); color: white; }
.clean-label { left: 30px;  background: rgba(81,207,102,0.95);  color: white; }

/* Slider handle */
.slider-handle {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: ew-resize;
}

.slider-line {
    flex: 1;
    width: 4px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: grab;
    z-index: 11;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-button:hover  { transform: translate(-50%, -50%) scale(1.1);  box-shadow: 0 6px 25px rgba(0,0,0,0.4); }
.slider-button:active { cursor: grabbing; transform: translate(-50%, -50%) scale(0.95); }

.slider-button svg { width: 20px; height: 20px; color: #667eea; pointer-events: none; }

/* Hotspots */
.hotspot-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}

.hotspot-marker:hover,
.hotspot-marker.open { z-index: 100 !important; }

.hotspot-circle {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.2s ease;
    color: white;
    line-height: 1;
}

.hotspot-circle:hover { transform: scale(1.15); }

.dirty-circle {
    background: #c83030;
    border: 2.5px solid #ff8080;
    animation: pulseRed 2.2s infinite;
}

.clean-circle {
    background: #007a50;
    border: 2.5px solid #00e08a;
    animation: pulseGreen 2.2s infinite;
}

@keyframes pulseRed {
    0%   { box-shadow: 0 0 0 0   rgba(200,50,50,0.6); }
    70%  { box-shadow: 0 0 0 11px rgba(200,50,50,0);   }
    100% { box-shadow: 0 0 0 0   rgba(200,50,50,0);   }
}

@keyframes pulseGreen {
    0%   { box-shadow: 0 0 0 0   rgba(0,180,110,0.6); }
    70%  { box-shadow: 0 0 0 11px rgba(0,180,110,0);   }
    100% { box-shadow: 0 0 0 0   rgba(0,180,110,0);   }
}

/* Hotspot tooltips */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 13px);
    left: 50%;
    transform: translateX(-50%) scale(0.92) translateY(4px);
    background: rgba(6,14,30,0.96);
    border-radius: 11px;
    padding: 12px 15px;
    min-width: 170px;
    max-width: 220px;
    text-align: right;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: normal;
    z-index: 30;
}

.hotspot-marker:hover .hotspot-tooltip,
.hotspot-marker.open  .hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
}

.hotspot-tooltip.ht-left {
    left: auto; right: -10px;
    transform: scale(0.92) translateY(4px);
}
.hotspot-marker:hover .hotspot-tooltip.ht-left,
.hotspot-marker.open  .hotspot-tooltip.ht-left {
    transform: scale(1) translateY(0);
}
.hotspot-tooltip.ht-left::after { left: auto; right: 14px; transform: none; }

.hotspot-tooltip.ht-right {
    left: -10px;
    transform: scale(0.92) translateY(4px);
}
.hotspot-marker:hover .hotspot-tooltip.ht-right,
.hotspot-marker.open  .hotspot-tooltip.ht-right {
    transform: scale(1) translateY(0);
}
.hotspot-tooltip.ht-right::after { left: 14px; transform: none; }

.dirty-tooltip { border: 1px solid rgba(200,50,50,0.45);  box-shadow: 0 8px 28px rgba(0,0,0,0.55), 0 0 14px rgba(200,50,50,0.1); }
.clean-tooltip { border: 1px solid rgba(0,180,110,0.45);  box-shadow: 0 8px 28px rgba(0,0,0,0.55), 0 0 14px rgba(0,180,110,0.1); }

.tooltip-title { font-size: 0.87rem; font-weight: 700; margin-bottom: 5px; }
.dirty-tooltip .tooltip-title { color: #ff7272; }
.clean-tooltip .tooltip-title { color: #00df88; }

.tooltip-body { font-size: 0.77rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
}

.dirty-tooltip::after { border-top-color: rgba(200,50,50,0.5); }
.clean-tooltip::after { border-top-color: rgba(0,180,110,0.5); }

/* Comparison content */
.comparison-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 50px 0;
    align-items: center;
}

.comparison-details { position: relative; }

.detail-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.5s ease;
}

.detail-card.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f0f0;
}

.detail-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon.bad-icon  { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%); }
.detail-icon.good-icon { background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%); }
.detail-icon svg       { width: 35px; height: 35px; color: white; }

.detail-header h3 { color: #1a5490; font-size: 32px; margin: 0; font-weight: bold; }

.detail-items { display: grid; gap: 20px; }

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-item.bad  { background: linear-gradient(135deg, rgba(255,107,107,0.05), rgba(238,90,111,0.05)); border-right: 4px solid #ff6b6b; }
.detail-item.good { background: linear-gradient(135deg, rgba(81,207,102,0.05),  rgba(55,178,77,0.05));  border-right: 4px solid #51cf66; }
.detail-item:hover { transform: translateX(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

.item-icon { font-size: 32px; flex-shrink: 0; }
.item-content h4 { color: #1a5490; font-size: 18px; margin: 0 0 5px 0; font-weight: bold; }
.item-content p  { color: #666; font-size: 15px; margin: 0; line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════
   HEALTH BENEFITS
   ═══════════════════════════════════════════════════════════ */
.health-benefits { margin-top: 80px; text-align: center; }
.health-benefits h3 { color: #0b3d6b; font-size: 36px; margin-bottom: 40px; font-weight: 800; }

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

.benefit-item {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 34px 22px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5c9, #0b3d6b);
    border-radius: 20px 20px 0 0;
}

.benefit-item:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(11,61,107,0.18); }

.benefit-icon-wrapper {
    width: 64px; height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0ea5c9 0%, #0b3d6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(14,165,201,0.35);
}

.benefit-icon { font-size: 28px; }
.benefit-item h4 { color: #0b3d6b; font-size: 17px; margin: 0; font-weight: 800; }
.benefit-item p  { color: #4a6a8a; font-size: 14px; margin: 0; line-height: 1.65; }


/* ═══════════════════════════════════════════════════════════
   SHARED SECTION UTILITIES
   ═══════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.section-title {
    text-align: center;
    font-size: 48px;
    color: #1a5490;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-top: 6px;
    margin-bottom: 60px;
}


/* ═══════════════════════════════════════════════════════════
   SYSTEMS SECTION
   ═══════════════════════════════════════════════════════════ */
.systems-section {
    background: rgba(255,255,255,0);
    backdrop-filter: blur(10px);
    padding: 80px 20px;
    position: relative;
}

.back-button {
    background: linear-gradient(135deg, #667eea 0%, #0b3d6b 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102,126,234,0.4); }

.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.system-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.system-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

.system-image { width: 100%; height: 300px; overflow: hidden; background: linear-gradient(135deg, #667eea, #0b3d6b); }
.system-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.system-card:hover .system-image img { transform: scale(1.1); }

.system-content { padding: 30px; }
.system-content h3 { color: #1a5490; font-size: 24px; margin-bottom: 15px; font-weight: bold; }
.system-content p  { color: #555; line-height: 1.6; margin-bottom: 20px; text-align: right; }

.system-features { list-style: none; padding: 0; margin: 20px 0; }
.system-features li { color: #333; padding: 8px 0; font-size: 16px; }

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #0b3d6b 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102,126,234,0.4); }


/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact-section {
    background: rgba(255,255,255,1);
    backdrop-filter: blur(10px);
    padding: 100px 20px;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info { display: flex; flex-direction: column; gap: 30px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-item:hover { transform: translateX(-10px); }

.contact-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #0b3d6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg { width: 24px; height: 24px; color: white; }
.contact-item h4  { color: #1a5490; margin: 0 0 5px 0; font-size: 18px; }
.contact-item p   { color: #666; margin: 0; font-size: 16px; text-align: right; }

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #667eea; }
.form-group textarea { resize: vertical; }

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #0b3d6b 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(102,126,234,0.4); }


/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════════════════ */
.how-it-works-section {
    padding: 100px 20px 90px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,165,201,.12) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-section .section-title    { color: var(--white); }
.how-it-works-section .section-subtitle { color: rgba(255,255,255,.65); }

.hiw-header { text-align: center; margin-bottom: 70px; }

.hiw-timeline { position: relative; max-width: 900px; margin: 0 auto; }

.hiw-line-track {
    position: absolute;
    top: 36px;
    right: 18%; left: 18%;
    height: 2px;
    background: rgba(255,255,255,.1);
    border-radius: 2px;
    overflow: hidden;
}

.hiw-line-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--teal), var(--teal-lt));
    border-radius: 2px;
    transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

.hiw-line-fill.animated { width: 100%; }

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.hiw-node {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-node-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(14,165,201,.3);
    transition: border-color .3s, transform .3s;
}

.hiw-node-core {
    width: 50px; height: 50px;
    background: rgba(14,165,201,.15);
    border: 1px solid rgba(14,165,201,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-lt);
    transition: background .3s, border-color .3s, transform .3s;
}

.hiw-node-core svg { width: 22px; height: 22px; }

.hiw-step:hover .hiw-node-ring { border-color: var(--teal); transform: scale(1.08); }
.hiw-step:hover .hiw-node-core { background: rgba(14,165,201,.3); border-color: var(--teal-lt); transform: scale(1.08); }

.hiw-content {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.hiw-step.visible .hiw-content { opacity: 1; transform: translateY(0); }
.hiw-step:nth-child(1) .hiw-content { transition-delay: .1s; }
.hiw-step:nth-child(2) .hiw-content { transition-delay: .25s; }
.hiw-step:nth-child(3) .hiw-content { transition-delay: .4s; }
.hiw-step:nth-child(4) .hiw-content { transition-delay: .55s; }

.hiw-num { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--teal); margin-bottom: 8px; }
.hiw-content h3 { font-family: 'Syne', 'Assistant', sans-serif; font-size: 16px; font-weight: 800; color: var(--white); margin: 0 0 10px; }
.hiw-content p  { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; margin: 0; }


/* ═══════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════ */
.gallery-section {
    padding: 100px 20px 90px;
    background: var(--sky);
    position: relative;
    overflow: hidden;
}

.gallery-bg-orbs { position: absolute; inset: 0; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(14,165,201,.25), transparent 70%); top: -150px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(11,61,107,.2),   transparent 70%); bottom: -100px; right: -80px; }

.gallery-header { text-align: center; margin-bottom: 48px; }

.gallery-filters { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.gf-btn {
    padding: 8px 22px;
    border-radius: 30px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
    cursor: pointer;
    transition: all .22s ease;
}

.gf-btn:hover,
.gf-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(14,165,201,.3);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 14px;
    direction: ltr;
}

.gallery-item { border-radius: 16px; overflow: hidden; position: relative; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item.hidden { display: none; }

.gallery-thumb { position: relative; width: 100%; height: 100%; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.gallery-item:hover .gallery-thumb img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,21,48,.85) 0%, rgba(7,21,48,.2) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content { direction: rtl; }

.gallery-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal-lt);
    background: rgba(14,165,201,.2);
    border: 1px solid rgba(14,165,201,.35);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 6px;
}

.gallery-overlay-content h4 { font-family: 'Syne', 'Assistant', sans-serif; font-size: 17px; font-weight: 800; color: var(--white); margin: 0 0 4px; }
.gallery-overlay-content p  { font-size: 13px; color: rgba(255,255,255,.65); margin: 0; }

.gallery-cta { text-align: center; margin-top: 44px; }


/* ═══════════════════════════════════════════════════════════
   WATER FACTS SECTION
   ═══════════════════════════════════════════════════════════ */
.water-facts-section {
    padding: 100px 20px 90px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.wf-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.wf-wave { position: absolute; bottom: 0; width: 200%; height: 120px; border-radius: 50%; }
.wf-wave-1 { background: rgba(14,165,201,.06); animation: waveMove 7s ease-in-out infinite;         left: -50%; bottom: -60px; }
.wf-wave-2 { background: rgba(11,61,107,.05);  animation: waveMove 9s ease-in-out infinite reverse; left: -30%; bottom: -80px; }

@keyframes waveMove {
    0%, 100% { transform: translateX(0) scaleY(1); }
    50%       { transform: translateX(3%) scaleY(1.06); }
}

.wf-header { text-align: center; margin-bottom: 64px; }
.wf-title  { color: var(--navy) !important; }

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

.wf-card {
    background: var(--sky);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.wf-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(14,165,201,.15); }

.wf-card--highlight {
    background: linear-gradient(135deg, var(--ocean), var(--navy));
    border-color: rgba(14,165,201,.3);
}

.wf-icon-wrap {
    width: 50px; height: 50px;
    background: rgba(14,165,201,.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--teal);
}

.wf-card--highlight .wf-icon-wrap { background: rgba(255,255,255,.12); color: var(--teal-lt); }
.wf-icon-wrap svg { width: 24px; height: 24px; }

.wf-count {
    font-family: 'Syne', 'Assistant', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
    direction: ltr;
}

.wf-card--highlight .wf-count { color: var(--teal-lt); }

.wf-label { font-size: 14px; color: var(--muted); line-height: 1.55; }
.wf-card--highlight .wf-label { color: rgba(255,255,255,.7); }

.wf-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--teal);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Water drop visual */
.wf-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--sky);
    border-radius: 28px;
    padding: 60px 52px;
    border: 1px solid var(--border);
}

.wf-drop-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 280px;
}

.wf-drop {
    width: 160px; height: 200px;
    background: linear-gradient(160deg, #e8f5fc, #b8e8f9);
    border: 2px solid rgba(14,165,201,.4);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(14,165,201,.2), inset 0 -2px 12px rgba(14,165,201,.15);
    animation: dropFloat 3.5s ease-in-out infinite;
}

@keyframes dropFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.wf-drop-fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(14,165,201,.55), rgba(56,189,248,.25));
    transition: height 1.6s cubic-bezier(.4,0,.2,1);
}

.wf-drop-fill.animated { height: 70%; }

.wf-drop-shine {
    position: absolute;
    top: 22px; right: 28px;
    width: 28px; height: 44px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    transform: rotate(-24deg);
    filter: blur(4px);
}

.wf-drop-label {
    position: relative;
    z-index: 2;
    font-family: 'Syne', 'Assistant', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(255,255,255,.8);
}

.wf-ripple {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(14,165,201,.3);
    animation: rippleOut 2.4s ease-out infinite;
}

.wf-r1 { width: 180px; height: 180px; animation-delay: 0s;   }
.wf-r2 { width: 230px; height: 230px; animation-delay: .6s;  }
.wf-r3 { width: 280px; height: 280px; animation-delay: 1.2s; }

@keyframes rippleOut {
    0%   { transform: scale(.6); opacity: .6; }
    100% { transform: scale(1);  opacity: 0;  }
}

.wf-bubbles { position: absolute; inset: 0; pointer-events: none; }

.wf-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(14,165,201,.2);
    border: 1px solid rgba(14,165,201,.3);
    animation: bubbleRise linear infinite;
}

.wf-bubble:nth-child(1) { width:8px;  height:8px;  left:20%; bottom:0; animation-duration:2.8s; animation-delay:0s;   }
.wf-bubble:nth-child(2) { width:5px;  height:5px;  left:45%; bottom:0; animation-duration:3.5s; animation-delay:.7s;  }
.wf-bubble:nth-child(3) { width:10px; height:10px; left:65%; bottom:0; animation-duration:2.5s; animation-delay:1.1s; }
.wf-bubble:nth-child(4) { width:6px;  height:6px;  left:30%; bottom:0; animation-duration:3.2s; animation-delay:1.8s; }
.wf-bubble:nth-child(5) { width:4px;  height:4px;  left:80%; bottom:0; animation-duration:2.9s; animation-delay:.4s;  }

@keyframes bubbleRise {
    0%   { transform: translateY(0) scale(1);   opacity: .7; }
    100% { transform: translateY(-220px) scale(.5); opacity: 0; }
}

.wf-visual-text { direction: rtl; }
.wf-visual-text h3 { font-family: 'Syne', 'Assistant', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--navy); margin: 0 0 18px; letter-spacing: -.5px; line-height: 1.25; }
.wf-visual-text p  { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer { background: #0A4FA3; color: white; padding: 60px 20px 20px; position: relative; }

.footer-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }

.footer-section h4   { color: white; margin-bottom: 20px; font-size: 18px; }
.footer-logo         { height: 50px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-section p    { color: rgba(255,255,255,.8); line-height: 1.8; margin: 5px 0; text-align: right; }

.footer-section ul   { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: rgba(255,255,255,.8); text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: white; }

.social-icons { display: flex; gap: 15px; }

.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover { background: white; color: #0A4FA3; transform: translateY(-3px); }
.social-icons svg { width: 20px; height: 20px; }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom p { color: rgba(255,255,255,.7); margin: 0; text-align: center; }


/* ═══════════════════════════════════════════════════════════
   NAV DROPDOWN — Mobile categories submenu
   ═══════════════════════════════════════════════════════════ */

/* ── הכפתור שמחליף את ה-<a> ── */
.nav-dropdown-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  width: 100%;
  transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover { color: #fff; }

/* ── חץ ── */
.nav-dropdown-arrow {
  display: none; /* מוסתר בדסקטופ */
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0.75;
}

/* ── תפריט הנפתח ── */
.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.28s ease;
  opacity: 0;
}

.nav-item-has-dropdown.open .nav-submenu {
  max-height: 260px;
  opacity: 1;
}

.nav-item-has-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* ── פריטי ה-submenu ── */
.nav-submenu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border-right: 2.5px solid rgba(14,165,201,0.45);
  margin-top: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-submenu li a:hover {
  background: rgba(14,165,201,0.12) !important;
  color: #fff !important;
  border-right-color: var(--teal, #0ea5c9);
}

.nav-submenu li a .sub-icon {
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── בדסקטופ — הסתר submenu לגמרי, הצג רק <a> רגיל ── */
@media (min-width: 905px) {
  .nav-dropdown-toggle { display: none; }
  .nav-item-has-dropdown > a.nav-products-link { display: block; }
  .nav-submenu { display: none !important; }
  .nav-dropdown-arrow { display: none !important; }
}

/* ── במובייל — הסתר את ה-<a> הרגיל, הצג את הכפתור + חץ ── */
@media (max-width: 904px) {
  .nav-item-has-dropdown > a.nav-products-link { display: none; }
  .nav-dropdown-toggle { display: flex; }
  .nav-dropdown-arrow  { display: block; }

  /* כפתור במצב mobile-open מקבל גודל כמו שאר הלינקים */
  .nav-menu.mobile-open .nav-dropdown-toggle {
    font-size: 20px;
    font-weight: 700;
    padding: 16px 0;
    letter-spacing: 0.5px;
    border-bottom: none;
  }

  /* ה-li שלו לא צריך border-bottom רגיל כשהוא פתוח */
  .nav-menu.mobile-open .nav-item-has-dropdown {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-bottom: 6px;
  }

  .nav-menu.mobile-open .nav-item-has-dropdown.open {
    border-bottom-color: rgba(14,165,201,0.2) !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-menu { gap: 22px; }
    .nav-menu a { font-size: 15px; }

    .video-section { height: 70vh; }
    .video-logo { max-width: 70vw; }

    .categories-section { padding-top: 50px; padding-bottom: 50px; }
    .categories-grid { gap: 20px; }
    .section-title { font-size: 30px; margin-bottom: 6px; }
    .section-subtitle { font-size: 17px; margin-bottom: 36px; }

    .categories-grid-video { top: 5%; bottom: -5%; right: -35%; left: 5%; width: 175%; height: 100%; }

    .image-comparison-container { padding: 0 15px; }
    .comparison-slider-wrapper { height: 480px; }
    .water-label { font-size: 15px; padding: 10px 18px; top: 20px; }
    .dirty-label { right: 20px; }
    .clean-label { left: 20px; }
    .slider-button { width: 52px; height: 52px; }
    .slider-button svg { width: 17px; height: 17px; }

    .comparison-content-wrapper { grid-template-columns: 1fr; gap: 35px; }
    .detail-card { padding: 30px; }
    .detail-header h3 { font-size: 26px; }

    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .systems-grid  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .contact-content { grid-template-columns: 1fr; gap: 35px; }
    .footer-content  { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .floating-contact-bar { right: 10px; }

    .wf-grid { grid-template-columns: repeat(2, 1fr); }

    .hotspot-circle  { width: 24px; height: 24px; font-size: 14px; }
    .hotspot-tooltip { min-width: 130px; max-width: 175px; padding: 9px 11px; }
    .tooltip-title   { font-size: 0.78rem; }
    .tooltip-body    { font-size: 0.69rem; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL TABLET (max-width: 900px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .nav-cta  { display: none; }
    .nav-menu { gap: 18px; }

    .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery-item--wide { grid-column: span 1; }
    .gallery-item--tall { grid-row: span 1; }
    .gallery-overlay { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 904px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 904px) {
    body { zoom: 1; padding-bottom: 70px; }

    /* Nav */
    .nav-menu, .nav-cta { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-logo img { height: 42px !important; }
    .main-nav { padding: 8px 0; }
    .main-nav.scrolled { padding: 6px 0; }
    .nav-container { flex-direction: row-reverse; padding: 0 16px; min-height: 0; }

    /* Hero */
    .video-section { height: 100svh; min-height: 500px; }
    .video-logo { max-width: 80vw; }

    /* Categories */
    .categories-section { padding: 28px 15px; margin-top: 0; }
    .section-title    { font-size: 22px; margin-bottom: 4px; }
    .section-subtitle { font-size: 14px; margin-bottom: 22px; }

    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .categories-grid-video { top: 0%; bottom: 0%; right: -35%; left: 10%; width: 165%; height: 100%; }

    .category-card {
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 10px !important;
    border-radius: 18px !important;
  }

  .category-card p,
  .category-arrow { display: none !important; }

  .category-card h3 { font-size: 15px; margin-bottom: 0; }
  .category-icon    { width: 42px; height: 42px; margin-bottom: 10px; }
  .category-icon svg { width: 22px; height: 22px; }
  

    /* Systems */
    .systems-section { padding: 40px 15px; }
    .systems-grid { grid-template-columns: 1fr; gap: 15px; }
    .system-image { height: 190px; }
    .system-content { padding: 18px; }
    .system-content h3 { font-size: 18px; }

    /* Water comparison */
    .water-comparison-section { padding: 45px 12px; }
    .image-comparison-container { margin: 30px auto 50px; padding: 0 8px; }
    .comparison-slider-wrapper { height: 60vw; min-height: 220px; border-radius: 18px; }
    .water-label { font-size: 12px; padding: 6px 12px; top: 12px; border-radius: 30px; }
    .dirty-label { right: 10px; }
    .clean-label { left: 10px; }
    .slider-button { width: 46px; height: 46px; }
    .slider-button svg { width: 15px; height: 15px; }

    .comparison-content-wrapper { grid-template-columns: 1fr; gap: 25px; }
    .detail-card   { padding: 22px 18px; border-radius: 18px; }
    .detail-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
    .detail-header h3 { font-size: 20px; }
    .detail-icon   { width: 54px; height: 54px; }
    .detail-icon svg { width: 28px; height: 28px; }
    .detail-items  { gap: 12px; }
    .detail-item   { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; }
    .item-icon     { font-size: 26px; }
    .item-content h4 { font-size: 15px; }
    .item-content p  { font-size: 13px; }

    /* Hotspots */
    .hotspot-circle  { width: 20px; height: 20px; font-size: 13px; border-width: 2px; }
    .hotspot-tooltip { min-width: 115px; max-width: 152px; padding: 8px 10px; border-radius: 9px; bottom: calc(100% + 9px); left: 50%; right: auto; transform: translateX(-50%) scale(0.9) translateY(4px); }

    .hotspot-marker:hover .hotspot-tooltip,
    .hotspot-marker.open  .hotspot-tooltip { transform: translateX(-50%) scale(1) translateY(0); }

    .hotspot-tooltip.ht-left,
    .hotspot-tooltip.ht-right { left: 50%; right: auto; transform: translateX(-50%) scale(0.9) translateY(4px); }

    .hotspot-marker:hover .hotspot-tooltip.ht-left,
    .hotspot-marker.open  .hotspot-tooltip.ht-left,
    .hotspot-marker:hover .hotspot-tooltip.ht-right,
    .hotspot-marker.open  .hotspot-tooltip.ht-right { transform: translateX(-50%) scale(1) translateY(0); }

    .hotspot-tooltip::after,
    .hotspot-tooltip.ht-left::after,
    .hotspot-tooltip.ht-right::after { left: 50%; right: auto; transform: translateX(-50%); }

    .tooltip-title { font-size: 0.71rem; margin-bottom: 3px; }
    .tooltip-body  { font-size: 0.63rem; line-height: 1.4; }

    /* Health benefits */
    .health-benefits { margin-top: 35px; }
    .health-benefits h3 { font-size: 22px; margin-bottom: 25px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .benefit-item  { padding: 22px 14px; border-radius: 18px; }
    .benefit-icon  { font-size: 36px; }
    .benefit-item h4 { font-size: 15px; }
    .benefit-item p  { font-size: 13px; }

    /* Contact */
    .contact-section { padding: 45px 15px; }
    .contact-content { grid-template-columns: 1fr; gap: 25px; margin-top: 25px; }
    .contact-form    { padding: 22px 18px; border-radius: 20px; }
    .contact-item    { gap: 15px; }
    .contact-icon    { width: 50px; height: 50px; }
    .contact-icon svg { width: 22px; height: 22px; }

    /* Footer */
    .footer { padding: 40px 15px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 25px; }
    .footer-section { text-align: center; }
    .footer-section p, .footer-section ul li a { text-align: center; }
    .footer-section ul { display: flex; flex-direction: column; align-items: center; }
    .footer-section h4 { font-size: 16px; margin-bottom: 14px; }
    .social-icons { justify-content: center; }
    .footer-logo  { height: 42px; }

    /* Floating bar — moves to bottom */
    .floating-contact-bar {
        right: 0; left: 0;
        bottom: 0; top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 0;
        background: rgba(5,30,70,0.96);
        backdrop-filter: blur(10px);
        padding: 10px 20px;
        border-top: 1px solid rgba(255,255,255,.1);
        z-index: 600;
    }

    .contact-bar-item {
        width: auto; height: auto;
        border-radius: 12px;
        padding: 8px 20px;
        gap: 8px;
        box-shadow: none;
        flex-direction: row;
        font-size: 13px;
        font-weight: 600;
        flex: 1;
        justify-content: center;
        max-width: 120px;
    }

    .contact-bar-item::after { content: attr(data-label); color: white; font-size: 12px; font-weight: 600; }
    .contact-bar-item svg { width: 20px; height: 20px; }
    .contact-bar-item .tooltip { display: none; }

    /* ── ביטול hover-scale במובייל (נתקע אחרי לחיצה) ── */
    .contact-bar-item.phone:hover,
    .contact-bar-item.whatsapp:hover,
    .contact-bar-item.email:hover {
        transform: none !important;
    }

    /* ── פידבק לחיצה במגע ── */
    .contact-bar-item:active {
        transform: scale(0.94) !important;
        opacity: 0.85;
        transition: transform 0.1s ease, opacity 0.1s ease;
    }

    /* How it works */
    .hiw-line-track { display: none; }
    .hiw-steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }

    /* Water facts */
    .wf-visual { grid-template-columns: 1fr; padding: 36px 24px; gap: 40px; }
    .wf-drop-container { height: 220px; }
    .wf-grid { gap: 14px; }

    /* Gallery */
    .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-overlay { opacity: 1; }

    /* Misc */
    .btn-primary { padding: 13px 28px; font-size: 15px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max-width: 600px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .categories-section { padding: 20px 12px; }
    .section-title    { font-size: 19px; }
    .section-subtitle { font-size: 13px; margin-bottom: 16px; }

    .category-card { padding: 14px; }
    .category-card h3 { font-size: 13px; }
    .category-icon    { width: 40px; height: 40px; margin-bottom: 10px; }
    .category-icon svg { width: 20px; height: 20px; }

    .nav-logo img { height: 36px !important; }

    .categories-section .section-title    { font-size: 24px; }
    .categories-section .section-subtitle { font-size: 13px; }

    .comparison-slider-wrapper { height: 65vw; min-height: 200px; }
    .water-label { font-size: 11px; padding: 5px 10px; }

    .hotspot-circle  { width: 17px; height: 17px; font-size: 11px; border-width: 1.5px; }
    .hotspot-tooltip { min-width: 100px; max-width: 132px; padding: 6px 8px; border-radius: 7px; bottom: calc(100% + 7px); }
    .tooltip-title   { font-size: 0.65rem; margin-bottom: 2px; }
    .tooltip-body    { font-size: 0.58rem; line-height: 1.35; }

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

    .footer-content { gap: 20px; }
    .contact-form   { padding: 18px 14px; }
    .contact-bar-item { max-width: 100px; padding: 8px 12px; }

    .wf-grid  { grid-template-columns: 1fr 1fr; }
    .wf-card  { padding: 22px 16px; border-radius: 16px; }
    .wf-count { font-size: 34px; }

    .hiw-steps { grid-template-columns: 1fr; gap: 36px; }
    .hiw-content { opacity: 1; transform: none; }
}