/* H2O Pure Zone — Homepage Stylesheet */
/* Loaded only on the front page */

/* ── HERO ───────────────────────────────────────────────────────── */
.h2o-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #0c2340 40%, #0a3366 100%);
}

.h2o-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.h2o-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(11,94,215,0.4) 60%, rgba(0,174,239,0.2) 100%);
}

/* Animated particles */
.h2o-hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.h2o-hero__particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(0,174,239,0.5);
  border-radius: 50%;
  animation: floatUp 8s infinite linear;
}

.h2o-hero__particles span:nth-child(1)  { left: 10%; animation-delay: 0s;   animation-duration: 7s;  width:4px; height:4px; }
.h2o-hero__particles span:nth-child(2)  { left: 25%; animation-delay: 1.5s; animation-duration: 9s;  width:8px; height:8px; opacity:0.4; }
.h2o-hero__particles span:nth-child(3)  { left: 40%; animation-delay: 3s;   animation-duration: 6s; }
.h2o-hero__particles span:nth-child(4)  { left: 60%; animation-delay: 0.5s; animation-duration: 11s; width:5px; height:5px; }
.h2o-hero__particles span:nth-child(5)  { left: 75%; animation-delay: 2s;   animation-duration: 8s;  width:7px; height:7px; opacity:0.3; }
.h2o-hero__particles span:nth-child(6)  { left: 88%; animation-delay: 4s;   animation-duration: 7s;  width:4px; height:4px; }
.h2o-hero__particles span:nth-child(7)  { left: 50%; animation-delay: 1s;   animation-duration: 10s; opacity:0.2; }
.h2o-hero__particles span:nth-child(8)  { left: 18%; animation-delay: 5s;   animation-duration: 9s;  width:6px; height:6px; background:rgba(0,208,132,0.4); }

@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

.h2o-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 0.9s ease both;
}

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

.h2o-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,0.15);
  border: 1px solid rgba(0,174,239,0.4);
  color: #00AEEF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.h2o-hero__headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.h2o-hero__headline .accent { color: #00AEEF; }

.h2o-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.h2o-hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.h2o-hero__btn-primary {
  background: #00AEEF;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(0,174,239,0.35);
}

.h2o-hero__btn-primary:hover { background: #0098d4; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,174,239,0.5); color: #fff; }

.h2o-hero__btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}

.h2o-hero__btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); color: #fff; }

/* Trust Badges */
.h2o-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.9s ease 0.5s both;
}

.h2o-hero__trust-item {
  text-align: center;
}

.h2o-hero__trust-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #00AEEF;
  line-height: 1;
}

.h2o-hero__trust-item .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Wave SVG */
.h2o-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 5;
}

/* ── SECTION WRAPPERS ────────────────────────────────────────────── */
.hp-section { padding: 5rem 2rem; }
.hp-section--dark { background: var(--dark); color: #fff; }
.hp-section--light { background: var(--light); }
.hp-section--white { background: #fff; }
.hp-section--blue { background: linear-gradient(135deg, #00AEEF, #0B5ED7); color: #fff; }
.hp-section--subtle { background: #F1F5F9; }
.hp-inner { max-width: 1200px; margin: 0 auto; }
.hp-inner--wide { max-width: 1400px; margin: 0 auto; }

.hp-section-head { text-align: center; margin-bottom: 3.5rem; }
.hp-section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.hp-section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.hp-section--dark .hp-section-head h2 { color: #fff; }
.hp-section--blue .hp-section-head h2 { color: #fff; }
.hp-section-head p { font-size: 1.05rem; color: var(--muted); max-width: 620px; margin: 0 auto; }
.hp-section--dark .hp-section-head p,
.hp-section--blue .hp-section-head p { color: rgba(255,255,255,0.75); }

/* ── SERVICES GRID ───────────────────────────────────────────────── */
.hp-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.hp-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.hp-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00AEEF, #00D084);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.hp-service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,174,239,0.14); border-color: rgba(0,174,239,0.3); }
.hp-service-card:hover::before { transform: scaleX(1); }

.hp-service-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00AEEF22, #0B5ED722);
}

.hp-service-card__img-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(0,174,239,0.08), rgba(11,94,215,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-service-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.hp-service-card p  { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }

/* ── WHY CHOOSE US ───────────────────────────────────────────────── */
.hp-why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.hp-why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.75rem; transition: background 0.2s; }
.hp-why-card:hover { background: rgba(0,174,239,0.1); }
.hp-why-card__icon { width: 48px; height: 48px; background: rgba(0,174,239,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hp-why-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.hp-why-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── COUNTERS ────────────────────────────────────────────────────── */
.hp-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.hp-counter-item { text-align: center; padding: 2rem 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.hp-counter-item:last-child { border-right: none; }
.hp-counter-item .num { font-family: 'Poppins', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: #00AEEF; line-height: 1; margin-bottom: 0.5rem; }
.hp-counter-item .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 640px) { .hp-counters { grid-template-columns: repeat(2, 1fr); } .hp-counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } }

/* ── PRODUCTS GRID ───────────────────────────────────────────────── */
.hp-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.hp-product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.hp-product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.hp-product-card__img { width: 100%; height: 220px; object-fit: cover; background: linear-gradient(135deg, #00AEEF, #0B5ED7); }
.hp-product-card__img-ph { width: 100%; height: 220px; background: linear-gradient(135deg, #00AEEF, #0B5ED7); display: flex; align-items: center; justify-content: center; }
.hp-product-card__body { padding: 1.5rem; }
.hp-product-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.hp-product-card p  { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.6; }
.hp-product-card__actions { display: flex; gap: 0.6rem; }

/* ── PORTFOLIO / GALLERY ─────────────────────────────────────────── */
.hp-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .hp-portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hp-portfolio-grid { grid-template-columns: 1fr; } }

.hp-portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1e293b, #334155);
  cursor: pointer;
  transition: transform 0.25s;
}

.hp-portfolio-item:first-child { grid-column: span 2; aspect-ratio: 2/1; }

.hp-portfolio-item:hover { transform: scale(1.02); }
.hp-portfolio-item:hover .hp-portfolio-overlay { opacity: 1; }

.hp-portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hp-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,174,239,0.7), rgba(11,94,215,0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  text-align: center;
  padding: 1rem;
}

.hp-portfolio-overlay h4 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.hp-portfolio-overlay p  { font-size: 0.82rem; opacity: 0.85; }

.hp-portfolio-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b, #334155); display: flex; align-items: center; justify-content: center; }

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.hp-testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.hp-testi-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hp-testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.hp-testi-card__quote {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 3.5rem;
  line-height: 1;
  color: #e2e8f0;
  font-family: Georgia, serif;
}
.hp-testi-card__stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.hp-testi-card__text { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.hp-testi-card__author { display: flex; align-items: center; gap: 12px; }
.hp-testi-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #00AEEF, #0B5ED7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem; font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}
.hp-testi-card__name { font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.hp-testi-card__loc  { font-size: 0.8rem; color: var(--muted); }

/* ── BLOG PREVIEW ────────────────────────────────────────────────── */
.hp-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.hp-faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.hp-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s; }
.hp-faq-item:hover { box-shadow: 0 4px 20px rgba(0,174,239,0.1); }
.hp-faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.hp-faq-question svg { flex-shrink: 0; transition: transform 0.25s; color: #00AEEF; }
.hp-faq-item.open .hp-faq-question svg { transform: rotate(180deg); }
.hp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s; }
.hp-faq-item.open .hp-faq-answer { max-height: 400px; }
.hp-faq-answer p { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ── ADMIN HELPER BANNER ─────────────────────────────────────────── */
.h2opz-admin-hint {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 2px dashed #F59E0B;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  grid-column: 1/-1;
}
.h2opz-admin-hint h4 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: #92400E; margin-bottom: 0.5rem; }
.h2opz-admin-hint p  { color: #78350F; font-size: 0.9rem; }
.h2opz-admin-hint a  { color: #D97706; font-weight: 600; }
