/* ==========================================================================
   Shared water theme — inner pages (About, Factory, Products, etc.)
   ========================================================================== */

body.page-water {
   background: #f0f7fc;
   background-image:
      radial-gradient(ellipse 80% 50% at 50% -20%, rgba(95, 208, 255, 0.16), transparent),
      radial-gradient(ellipse 60% 40% at 100% 100%, rgba(118, 171, 66, 0.07), transparent);
}

/* ----- Hero (shared with products page) ------------------------------------ */
.page-water-hero,
.life-products-hero {
   position: relative;
   min-height: 48vh;
   display: flex;
   align-items: center;
   padding: 140px 0 100px;
   overflow: hidden;
   margin-bottom: 0;
}

.page-water-hero--split,
.page-water-hero--tall {
   min-height: 56vh;
   padding-bottom: 110px;
}

.page-water-hero--compact {
   min-height: 40vh;
   padding: 130px 0 90px;
}

.page-water-hero-ripples,
.life-products-hero-ripples {
   position: absolute;
   inset: 0;
   background: url('../img/intro.jpg') center/cover no-repeat;
   z-index: 0;
}

.page-water-hero-overlay,
.life-products-hero-overlay {
   position: absolute;
   inset: 0;
   z-index: 1;
   pointer-events: none;
   background:
      radial-gradient(70% 90% at 15% 20%, rgba(95, 208, 255, 0.45), transparent 55%),
      radial-gradient(60% 80% at 85% 80%, rgba(10, 58, 102, 0.55), transparent 50%),
      linear-gradient(180deg, rgba(6, 42, 77, 0.35) 0%, rgba(6, 42, 77, 0.72) 100%);
}

.page-water-hero .container,
.life-products-hero .container {
   position: relative;
   z-index: 2;
}

.page-water-hero-content,
.life-products-hero-content {
   max-width: 640px;
   color: #fff;
   text-align: center;
   margin: 0 auto;
}

.page-water-hero--split .page-water-hero-content,
.page-water-hero--split .site-heading {
   max-width: none;
   text-align: left;
   margin: 0;
}

.page-water-hero-content .section-eyebrow,
.page-water-hero--split .section-eyebrow,
.life-products-hero-content .section-eyebrow {
   color: rgba(255, 255, 255, 0.9);
   border-color: rgba(255, 255, 255, 0.35);
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(8px);
}

.page-water-hero-content h1,
.page-water-hero--split h2,
.life-products-hero-content h1 {
   font-size: clamp(32px, 5vw, 52px);
   font-weight: 800;
   line-height: 1.12;
   margin: 14px 0 18px;
   letter-spacing: -0.02em;
   text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
   color: #fff;
}

.page-water-hero-content h1 em,
.life-products-hero-content h1 em {
   font-style: normal;
   background: linear-gradient(90deg, #a4d56a, #5fd0ff);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.page-water-hero-content .hero-lead,
.page-water-hero--split .hero-lead,
.page-water-hero--split .sustain-intro,
.page-water-hero--split .distributor-intro,
.life-products-hero-content .hero-lead {
   font-size: 16px;
   line-height: 1.65;
   opacity: 0.92;
   margin-bottom: 0;
   color: rgba(255, 255, 255, 0.92);
}

.page-water-hero-stats,
.life-products-hero-stats {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 12px;
   margin-top: 24px;
}

.page-water-hero-stats span,
.life-products-hero-stats span {
   padding: 8px 18px;
   border-radius: 999px;
   font-size: 12px;
   font-weight: 600;
   letter-spacing: 0.4px;
   background: rgba(255, 255, 255, 0.12);
   border: 1px solid rgba(255, 255, 255, 0.25);
   backdrop-filter: blur(10px);
   color: #fff;
}

.page-water-hero-wave,
.life-products-hero-wave {
   position: absolute;
   bottom: -1px;
   left: 0;
   right: 0;
   height: 80px;
   z-index: 3;
   line-height: 0;
}

.page-water-hero-wave svg,
.life-products-hero-wave svg {
   width: 100%;
   height: 100%;
   display: block;
}

/* Split hero image card */
.page-water-hero-img {
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
   border: 3px solid rgba(255, 255, 255, 0.2);
   position: relative;
}

.page-water-hero-img img {
   width: 100%;
   height: auto;
   display: block;
}

.page-water-hero-img .water-image-fx {
   border-radius: 17px;
}

/* ----- Main content area ------------------------------------------------- */
.page-water-main {
   position: relative;
   z-index: 1;
}

body.page-water .fabon-about-area,
body.page-water .fabon-service-area,
body.page-water .fabon-contact-area,
body.page-water .fabon-blog-area,
body.page-water .fabon-work-area,
body.page-water .sustain-eco-band,
body.page-water .distributor-requirements {
   background: transparent;
}

body.page-water .site-heading h2 {
   font-weight: 800;
   letter-spacing: -0.02em;
}

/* Legacy heroes → use ripples */
body.page-water .sustain-hero,
body.page-water .distributor-hero {
   padding-top: 0;
   padding-bottom: 0;
   background: transparent;
   overflow: visible;
}

body.page-water .sustain-hero-bg,
body.page-water .distributor-hero-bg {
   display: none;
}

/* Water frame on images */
.water-image-frame {
   position: relative;
   overflow: hidden;
   border-radius: var(--radius-lg, 22px);
   display: block;
}

.water-image-frame img {
   width: 100%;
   height: auto;
   display: block;
   transition: transform 0.5s ease;
}

.water-image-frame:hover img {
   transform: scale(1.03);
}

.water-image-fx {
   position: absolute;
   inset: 0;
   pointer-events: none;
   z-index: 2;
   overflow: hidden;
}

.water-image-fx .water-shimmer {
   position: absolute;
   inset: -50%;
   width: 200%;
   height: 200%;
   background: linear-gradient(
      105deg,
      transparent 42%,
      rgba(255, 255, 255, 0.4) 48%,
      rgba(95, 208, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.35) 52%,
      transparent 58%
   );
   animation: pwShimmer 4s ease-in-out infinite;
}

.water-image-fx .water-glow {
   position: absolute;
   inset: 0;
   background: linear-gradient(0deg, rgba(29, 139, 217, 0.2) 0%, transparent 45%);
}

@keyframes pwShimmer {
   0% { transform: translateX(-30%) rotate(6deg); }
   100% { transform: translateX(30%) rotate(6deg); }
}

/* Cards on inner pages */
body.page-water .single-blog,
body.page-water .single-service,
body.page-water .sustain-pillar-card {
   border-radius: 20px;
   border: 1px solid rgba(95, 208, 255, 0.12);
   box-shadow: 0 8px 28px rgba(10, 40, 80, 0.06);
   transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.page-water .single-blog:hover,
body.page-water .single-service:hover,
body.page-water .sustain-pillar-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 16px 40px rgba(29, 139, 217, 0.12);
}

body.page-water .fabon-contact-area .form-control {
   border-radius: 12px;
   border: 1px solid rgba(95, 208, 255, 0.25);
   padding: 14px 18px;
}

body.page-water .fabon-contact-area #contact-submit {
   border-radius: 999px;
   padding: 14px 36px;
   background: var(--grad-water, linear-gradient(135deg, #5fd0ff, #1d8bd9, #0a3a66));
   border: none;
   font-weight: 600;
   transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-water .fabon-contact-area #contact-submit:hover {
   transform: translateY(-2px);
   box-shadow: 0 10px 24px rgba(29, 139, 217, 0.35);
}

/* ----- Feature split sections (sustainability / distributor) ------------ */
.page-feature-split {
   padding: 72px 0;
   background: #fff;
}

.page-feature-split.sustain-mission {
   background: linear-gradient(180deg, #fff 0%, #f5f9f1 100%);
}

.page-feature-split.distributor-showcase {
   background: linear-gradient(180deg, #f0f7fc 0%, #fff 100%);
}

.page-feature-copy .section-lead {
   margin-bottom: 20px;
}

.page-feature-copy h2 {
   font-size: clamp(26px, 3.5vw, 36px);
   font-weight: 800;
   letter-spacing: -0.02em;
   margin-bottom: 14px;
   color: var(--c-ink, #0d1b2a);
}

.page-visual-card {
   position: relative;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 20px 50px rgba(10, 40, 80, 0.12);
   border: 1px solid rgba(95, 208, 255, 0.15);
   background: #fff;
}

.page-visual-card img {
   width: 100%;
   height: auto;
   display: block;
   vertical-align: middle;
}

.page-visual-caption {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 16px 20px;
   font-size: 13px;
   font-weight: 600;
   color: #fff;
   background: linear-gradient(0deg, rgba(6, 42, 77, 0.85) 0%, transparent 100%);
}

.page-check-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.page-check-list li {
   position: relative;
   padding: 10px 0 10px 32px;
   font-size: 14px;
   line-height: 1.55;
   color: var(--c-muted, #5a6a7a);
}

.page-check-list li i {
   position: absolute;
   left: 0;
   top: 12px;
   color: var(--c-brand, #76ab42);
   font-size: 16px;
}

.page-stat-chips {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 8px;
}

.page-stat-chips span {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 16px;
   border-radius: 999px;
   font-size: 12px;
   font-weight: 600;
   color: var(--c-water-3, #0a3a66);
   background: rgba(95, 208, 255, 0.12);
   border: 1px solid rgba(95, 208, 255, 0.2);
}

.page-stat-chips span i {
   color: var(--c-water-2, #1d8bd9);
}

/* Sustainability pillars */
.page-sustainability .sustain-pillar-grid {
   margin-top: 8px;
}

.page-sustainability .sustain-pillar-card p {
   font-size: 13px;
   line-height: 1.6;
   color: var(--c-muted, #5a6a7a);
   margin: 12px 0 0;
}

.page-sustainability .sustain-pillar-card h4 {
   font-size: 16px;
   line-height: 1.35;
   margin: 0;
}

.page-sustainability .sustain-eco-band .page-feature-copy h2 {
   margin-bottom: 10px;
}

/* Distributor — requirements cards */
body.page-water.page-distributor .distributor-requirements {
   background: linear-gradient(180deg, #fff 0%, #f0f7fc 100%);
}

.page-distributor .distributor-req-grid {
   margin-top: 8px;
}

.page-distributor .distributor-req-card {
   position: relative;
   height: calc(100% - 24px);
   margin-bottom: 24px;
   padding: 28px 24px 26px;
   background: #fff;
   border-radius: 20px;
   border: 1px solid rgba(95, 208, 255, 0.18);
   box-shadow: 0 10px 32px rgba(10, 40, 80, 0.07);
   transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.page-distributor .distributor-req-card:hover {
   transform: translateY(-6px);
   border-color: rgba(29, 139, 217, 0.35);
   box-shadow: 0 18px 44px rgba(29, 139, 217, 0.14);
}

.page-distributor .distributor-req-num {
   position: absolute;
   top: 18px;
   right: 20px;
   font-size: 13px;
   font-weight: 800;
   letter-spacing: 0.08em;
   color: rgba(29, 139, 217, 0.35);
}

.page-distributor .distributor-req-icon {
   width: 52px;
   height: 52px;
   margin-bottom: 18px;
   border-radius: 14px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 22px;
   color: #1d8bd9;
   background: linear-gradient(135deg, rgba(95, 208, 255, 0.2), rgba(29, 139, 217, 0.12));
   border: 1px solid rgba(95, 208, 255, 0.25);
}

.page-distributor .distributor-req-card h3 {
   font-size: 17px;
   font-weight: 700;
   color: var(--c-ink, #0d1b2a);
   margin: 0 0 10px;
   line-height: 1.35;
   padding-right: 28px;
}

.page-distributor .distributor-req-card p {
   font-size: 14px;
   line-height: 1.65;
   color: var(--c-muted, #5a6a7a);
   margin: 0;
}

.page-distributor .distributor-logo-row {
   margin-top: 12px;
   padding-top: 36px;
   border-top: 1px solid rgba(95, 208, 255, 0.15);
}

.page-distributor .distributor-partner-logo {
   max-width: 200px;
   height: auto;
   opacity: 0.92;
}

/* Distributor — apply section */
body.page-water.page-distributor .distributor-apply-section {
   background: linear-gradient(160deg, #0a3a66 0%, #1d8bd9 48%, #5fd0ff 100%);
   position: relative;
   overflow: hidden;
}

.page-distributor .distributor-apply-section::before {
   content: "";
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse 80% 60% at 10% 100%, rgba(255, 255, 255, 0.12), transparent 55%);
   pointer-events: none;
}

.page-distributor .distributor-apply-section .container {
   position: relative;
   z-index: 1;
}

.page-distributor .distributor-apply-intro {
   height: 100%;
   padding: 36px 28px 36px 0;
   color: #fff;
}

.page-distributor .distributor-apply-intro .section-eyebrow {
   color: rgba(255, 255, 255, 0.85);
   background: rgba(255, 255, 255, 0.12);
   border-color: rgba(255, 255, 255, 0.2);
}

.page-distributor .distributor-apply-intro h2 {
   font-size: clamp(28px, 3.5vw, 38px);
   font-weight: 800;
   color: #fff;
   margin: 12px 0 14px;
   letter-spacing: -0.02em;
}

.page-distributor .distributor-apply-intro .section-lead {
   color: rgba(255, 255, 255, 0.88);
   font-size: 15px;
   line-height: 1.7;
   margin-bottom: 22px;
}

.page-distributor .distributor-apply-points {
   list-style: none;
   padding: 0;
   margin: 0 0 28px;
}

.page-distributor .distributor-apply-points li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   padding: 10px 0;
   font-size: 14px;
   line-height: 1.55;
   color: rgba(255, 255, 255, 0.92);
   border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-distributor .distributor-apply-points li:last-child {
   border-bottom: none;
}

.page-distributor .distributor-apply-points li i {
   flex-shrink: 0;
   margin-top: 3px;
   color: #a8e6ff;
}

.page-distributor .distributor-apply-contact {
   padding: 20px 22px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-distributor .distributor-apply-contact p {
   margin: 0 0 12px;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.9);
}

.page-distributor .distributor-apply-contact a {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 8px 0;
   font-size: 14px;
   font-weight: 600;
   color: #fff;
   text-decoration: none;
   transition: opacity 0.2s ease;
}

.page-distributor .distributor-apply-contact a:hover {
   opacity: 0.85;
   color: #fff;
   text-decoration: none;
}

.page-distributor .distributor-apply-contact a i {
   width: 20px;
   text-align: center;
   color: #a8e6ff;
}

.page-distributor .distributor-form-panel {
   background: #fff;
   padding: 36px 36px 32px;
   border-radius: 24px;
   box-shadow: 0 24px 60px rgba(6, 30, 55, 0.25);
   border: 1px solid rgba(255, 255, 255, 0.4);
   height: 100%;
}

.page-distributor .distributor-form-panel-head {
   margin-bottom: 26px;
   padding-bottom: 20px;
   border-bottom: 1px solid rgba(95, 208, 255, 0.2);
}

.page-distributor .distributor-form-panel-head h3 {
   font-size: 22px;
   font-weight: 800;
   color: var(--c-ink, #0d1b2a);
   margin: 0 0 6px;
   letter-spacing: -0.02em;
}

.page-distributor .distributor-form-panel-head p {
   margin: 0;
   font-size: 13px;
   color: var(--c-muted, #5a6a7a);
}

.page-distributor .req-star {
   color: #ee4430;
   font-weight: 700;
}

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

.page-distributor .distributor-form-panel label {
   display: block;
   margin-bottom: 8px;
   font-size: 12px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: var(--c-ink, #0d1b2a);
}

.page-distributor .distributor-form-panel .form-control {
   border: 1px solid #d4e4f0 !important;
   border-radius: 12px !important;
   background: #f8fbfd !important;
   padding: 14px 16px !important;
   height: auto !important;
   font-size: 14px !important;
   color: var(--c-ink, #0d1b2a) !important;
   box-shadow: none !important;
   transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.page-distributor .distributor-form-panel .form-control:focus {
   border-color: #1d8bd9 !important;
   background: #fff !important;
   box-shadow: 0 0 0 4px rgba(29, 139, 217, 0.12) !important;
}

.page-distributor .distributor-form-panel textarea.form-control {
   min-height: 130px;
   resize: vertical;
}

.page-distributor .distributor-submit-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   width: 100%;
   margin-top: 8px;
   padding: 16px 28px;
   border: none;
   border-radius: 999px;
   background: linear-gradient(135deg, #76ab42, #4a8b2a);
   color: #fff;
   font-size: 14px;
   font-weight: 700;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   cursor: pointer;
   box-shadow: 0 14px 32px rgba(118, 171, 66, 0.4);
   transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.page-distributor .distributor-submit-btn:hover {
   transform: translateY(-2px);
   background: linear-gradient(135deg, #ee4430, #c92e1a);
   box-shadow: 0 18px 40px rgba(238, 68, 48, 0.4);
   color: #fff;
}

@media (max-width: 991px) {
   .page-water-hero--split .page-water-hero-content,
   .page-water-hero--split .site-heading {
      text-align: center;
      margin-bottom: 28px;
   }

   .page-water-hero--split .hero-lead,
   .page-water-hero--split .sustain-intro,
   .page-water-hero--split .distributor-intro {
      text-align: center;
   }

   .page-feature-split {
      padding: 48px 0;
   }

   .page-feature-copy {
      text-align: center;
      margin-bottom: 32px;
   }

   .page-feature-copy.text-left {
      text-align: center;
   }

   .page-check-list li {
      text-align: left;
   }

   .page-stat-chips {
      justify-content: center;
   }

   .distributor-showcase .page-visual-card {
      margin-bottom: 8px;
   }

   .page-distributor .distributor-apply-intro {
      padding: 0 0 32px;
      text-align: center;
   }

   .page-distributor .distributor-apply-intro h2::after {
      margin-left: auto;
      margin-right: auto;
   }

   .page-distributor .distributor-form-panel {
      padding: 28px 22px 24px;
   }
}

@media (prefers-reduced-motion: reduce) {
   .water-image-fx .water-shimmer {
      animation: none;
   }
}
