/* ============================================================
   WATERKLIP — STYLES.CSS
   Design Language: Namaqualand flowers + Karoo landscape + Fresh water
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Water Blues */
  --blue-deep:    #2E86AB;
  --blue-mid:     #A3D5FF;
  --blue-light:   #E8F4FD;
  --blue-teal:    #1A7A9A;

  /* Namaqualand Accent */
  --orange:       #D47B3C;
  --orange-light: #EFA96A;
  --purple:       #7B4B94;
  --purple-light: #B07FCC;
  --yellow:       #F2C94C;
  --yellow-light: #F9E49A;

  /* Karoo Earth */
  --earth-tan:    #C4A882;
  --earth-brown:  #8B7355;
  --earth-cream:  #E8DCC8;
  --earth-dark:   #5A4A35;

  /* Neutrals */
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --grey-soft:    #F0EDE8;
  --grey-mid:     #B0A898;
  --grey-dark:    #3A3530;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  6rem 2rem;
  --radius-sm:    0.5rem;
  --radius-md:    1rem;
  --radius-lg:    2rem;

  /* Shadows */
  --shadow-soft:  0 4px 24px rgba(46, 134, 171, 0.12);
  --shadow-card:  0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-lift:  0 16px 64px rgba(46, 134, 171, 0.20);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--grey-dark);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* ---------- UTILITY ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--grey-dark);
  margin-bottom: 1.25rem;
}

.section-title span {
  color: var(--blue-deep);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--earth-brown);
  max-width: 600px;
  line-height: 1.75;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated water ripple in logo */
.nav-logo-mark::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: ripple-logo 2s infinite ease-out;
}

@keyframes ripple-logo {
  0%   { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.nav-logo-drop {
  width: 12px;
  height: 16px;
  background: white;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(180deg);
  position: relative;
  z-index: 1;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.nav.scrolled .nav-logo-text {
  color: var(--blue-deep);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav.scrolled .nav-links a {
  color: var(--grey-dark);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav-hamburger span {
  background: var(--grey-dark);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--grey-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--earth-cream);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  opacity: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

/* Karoo sky gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    #0D4F6B 0%,
    #1A7A9A 30%,
    #2E86AB 55%,
    #5BA3C9 75%,
    #C4856A 88%,
    #D4A070 100%
  );
  z-index: 0;
}

/* Animated floating particles (water bubbles) */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: float-up linear infinite;
}

@keyframes float-up {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0.6; }
  50%  { transform: translateY(-40vh) translateX(20px) scale(1.1); opacity: 0.3; }
  100% { transform: translateY(-90vh) translateX(-10px) scale(0.8); opacity: 0; }
}

/* Namaqualand flower silhouette band at the bottom */
.hero-flower-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  z-index: 2;
  overflow: hidden;
}

.hero-flower-band svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Animated water ripple overlay */
.hero-ripple {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% 70%, rgba(163, 213, 255, 0.08) 0%, transparent 60%);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 0.25rem;
  animation: fade-up 0.8s 0.15s ease both;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.hero-title-accent {
  color: var(--yellow-light);
  display: block;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 2px;
  margin: 1.5rem auto;
  animation: fade-up 0.8s 0.25s ease both;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 0.75rem;
  line-height: 1.65;
  font-weight: 400;
  animation: fade-up 0.8s 0.35s ease both;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  animation: fade-up 0.8s 0.45s ease both;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.55s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 123, 60, 0.4);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 123, 60, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fade-up 1s 0.8s ease both;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 1.8s ease infinite;
}

@keyframes scroll-bounce {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%  { transform: translateX(-50%) translateY(12px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* ---------- FADE-UP ANIMATION ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide: var(--earth-cream);
}

.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--earth-cream);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth-brown);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-pad);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 213, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

/* Karoo landscape art card */
.about-art {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lift);
}

.about-art-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #87CEEB 0%,
    #5BA3C9 25%,
    #C4956A 55%,
    #A07845 70%,
    #6B5230 100%
  );
  position: relative;
}

/* Karoo landscape CSS art: mountains, flat plains */
.karoo-sky  {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, #4A90B8 0%, #87CEEB 100%);
}

.karoo-sun {
  position: absolute;
  top: 14%;
  right: 18%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF5C0 0%, #F2C94C 50%, #EFA96A 100%);
  box-shadow: 0 0 40px 20px rgba(242, 201, 76, 0.3);
  animation: sun-glow 4s ease-in-out infinite alternate;
}

@keyframes sun-glow {
  from { box-shadow: 0 0 40px 20px rgba(242, 201, 76, 0.25); }
  to   { box-shadow: 0 0 60px 30px rgba(242, 201, 76, 0.45); }
}

.karoo-mountains {
  position: absolute;
  top: 30%;
  left: 0; right: 0;
  height: 25%;
}

.karoo-mountains svg {
  width: 100%;
  height: 100%;
}

.karoo-plain {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, #C4956A 0%, #8B6840 40%, #6B5030 100%);
}

/* Namaqualand flowers scattered on plain */
.flowers-field {
  position: absolute;
  bottom: 30%;
  left: 0; right: 0;
  height: 120px;
  overflow: hidden;
}

.flower {
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;
  animation: flower-sway 3s ease-in-out infinite alternate;
}

.flower:nth-child(even) {
  animation-direction: alternate-reverse;
  animation-duration: 3.5s;
}

@keyframes flower-sway {
  from { transform: rotate(-4deg); }
  to   { transform: rotate(4deg); }
}

/* Water droplet overlay */
.about-water-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-teal));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lift);
  border: 4px solid var(--white);
}

.water-badge-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.water-badge-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* About text */
.about-text .section-label { margin-bottom: 0.5rem; }

.about-story {
  font-size: 1.05rem;
  color: var(--earth-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.value-icon.blue   { background: var(--blue-light); }
.value-icon.orange { background: #FEF0E4; }
.value-icon.purple { background: #F3EAF8; }
.value-icon.earth  { background: var(--earth-cream); }

.value-title {
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 0.2rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--earth-brown);
  line-height: 1.5;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */
.product {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep), var(--purple), var(--orange), var(--yellow));
}

.product-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.product-header .section-subtitle {
  margin: 0 auto;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
  position: relative;
}

/* Connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--purple), var(--orange), var(--yellow));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(163, 213, 255, 0.3);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  margin: 0 auto 1rem;
}

.step-card:nth-child(1) .step-number { background: var(--blue-deep); }
.step-card:nth-child(2) .step-number { background: var(--purple); }
.step-card:nth-child(3) .step-number { background: var(--orange); }
.step-card:nth-child(4) .step-number { background: var(--earth-brown); }

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--grey-dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--earth-brown);
  line-height: 1.55;
}

/* Product features */
.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(1) { border-top-color: var(--blue-deep); }
.feature-card:nth-child(2) { border-top-color: var(--orange); }
.feature-card:nth-child(3) { border-top-color: var(--purple); }

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.05;
}

.feature-card:nth-child(1)::after { background: var(--blue-deep); }
.feature-card:nth-child(2)::after { background: var(--orange); }
.feature-card:nth-child(3)::after { background: var(--purple); }

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon-wrap { background: var(--blue-light); }
.feature-card:nth-child(2) .feature-icon-wrap { background: #FEF0E4; }
.feature-card:nth-child(3) .feature-icon-wrap { background: #F3EAF8; }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--grey-dark);
  margin-bottom: 0.75rem;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--earth-brown);
  line-height: 1.7;
}

/* Mineral tags */
.mineral-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mineral-tag {
  display: inline-block;
  background: #F3EAF8;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  text-transform: uppercase;
}

/* ============================================================
   WHY WATERKLIP SECTION
   ============================================================ */
.why {
  padding: var(--section-pad);
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}

/* Karoo night sky effect */
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(46, 134, 171, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(123, 75, 148, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.why-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.why-header .section-label { color: var(--yellow); }
.why-header .section-title { color: var(--white); }
.why-header .section-subtitle { color: var(--grey-mid); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: background 0.25s, transform 0.25s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-card-body {
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.65;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-pad);
  background: var(--off-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-label { color: var(--orange); }

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-icon.phone  { background: var(--blue-light);  color: var(--blue-deep); }
.contact-card-icon.email  { background: #FEF0E4;            color: var(--orange); }
.contact-card-icon.locate { background: var(--earth-cream); color: var(--earth-brown); }
.contact-card-icon.fb     { background: #E7F0FF;            color: #1877F2; }

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.25rem;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-dark);
  word-break: break-all;
}

.contact-card-value a {
  color: var(--blue-deep);
  transition: color 0.2s;
}

.contact-card-value a:hover {
  color: var(--blue-teal);
  text-decoration: underline;
}

/* Facebook section */
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fb-cta-card {
  background: linear-gradient(135deg, #1877F2 0%, #3B98F2 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: white;
  text-align: center;
  box-shadow: 0 12px 40px rgba(24, 119, 242, 0.35);
  position: relative;
  overflow: hidden;
}

.fb-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.fb-logo {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.fb-cta-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.fb-cta-body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: #1877F2;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-fb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--grey-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--earth-brown);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--earth-cream);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--blue-deep);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}

.btn-submit:hover {
  background: var(--blue-teal);
  transform: translateY(-2px);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--blue-deep);
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--earth-brown);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--earth-dark);
  color: var(--earth-cream);
  padding: 4rem 2rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle flower silhouette at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--purple), var(--blue-deep));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-mark .drop {
  width: 14px;
  height: 18px;
  background: white;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(180deg);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--earth-tan);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--earth-tan);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--earth-tan);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: var(--earth-tan);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--earth-tan);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--grey-mid);
}

.footer-copy a {
  color: var(--blue-mid);
  transition: color 0.2s;
}

.footer-copy a:hover { color: var(--white); }

.footer-made {
  font-size: 0.82rem;
  color: var(--grey-mid);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 4.5rem 1.5rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
  .nav-overlay { display: block; }

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

  .about-visual {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .process-steps::before { display: none; }

  .product-features {
    grid-template-columns: 1fr;
  }

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

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

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

  .stats-bar-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--earth-cream);
    padding: 1.75rem 2rem;
  }

  .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  .hero-scroll { display: none; }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-water-badge {
    width: 90px;
    height: 90px;
    bottom: -1rem;
    right: -0.5rem;
  }

  .water-badge-icon { font-size: 1.5rem; }
  .water-badge-text { font-size: 0.55rem; }
}

/* ============================================================
   WATER WAVE DIVIDER (SVG-based section separator)
   ============================================================ */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}
