/* ═══════════════════════════════════════════════════════════════
   KENVERA — Hero & Page Header Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Homepage Hero ── */
.hero {
  min-height: 100vh;
  background: var(--gradient-orange);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero__particles span {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

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

/* Legacy */
.hero-ptcl { position: absolute; inset: 0; pointer-events: none; }
.hero-ptcl span { position: absolute; background: rgba(255,255,255,.12); border-radius: 50%; animation: particleFloat linear infinite; }
@keyframes ptfloat { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) scale(1.5); opacity: 0; } }

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

/* Legacy */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }

.hero__container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 160px var(--container-px) var(--space-20);
}

/* Legacy */
.hero-con { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-12); max-width: var(--container-max); margin: 0 auto; padding: 160px var(--container-px) var(--space-20); }

/* Hero Text */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-mega);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: heroFadeUp 0.8s ease both;
}

/* Legacy */
.hbadge { display: inline-flex; align-items: center; gap: var(--space-2); background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); color: var(--white); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-mega); text-transform: uppercase; margin-bottom: var(--space-6); animation: heroFadeUp .8s ease both; }

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: var(--weight-black);
  color: var(--white);
  line-height: var(--leading-none);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: heroFadeUp 0.8s 0.15s ease both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.hero__title .outline {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  color: transparent;
}

/* Legacy */
.hero-h1 { font-family: var(--font-heading); font-size: var(--text-6xl); font-weight: var(--weight-black); color: var(--white); line-height: var(--leading-none); letter-spacing: 2px; text-transform: uppercase; animation: heroFadeUp .8s .15s ease both; text-shadow: 0 4px 30px rgba(0,0,0,.15); }
.hero-h1 .ou { -webkit-text-stroke: 2px rgba(255,255,255,.9); color: transparent; }

.hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  margin: var(--space-5) 0 var(--space-8);
  animation: heroFadeUp 0.8s 0.3s ease both;
  max-width: 500px;
}

/* Legacy */
.hero-sub { color: rgba(255,255,255,.88); font-size: var(--text-lg); line-height: var(--leading-loose); margin: var(--space-5) 0 var(--space-8); animation: heroFadeUp .8s .3s ease both; max-width: 500px; }

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.45s ease both;
}

/* Legacy */
.hero-btns { display: flex; gap: var(--space-4); flex-wrap: wrap; animation: heroFadeUp .8s .45s ease both; }

.hero__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  animation: heroFadeUp 0.8s 0.6s ease both;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--white);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* Legacy */
.hero-stats { display: flex; gap: var(--space-8); margin-top: var(--space-12); animation: heroFadeUp .8s .6s ease both; }
.hs-num { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: var(--weight-black); color: var(--white); }
.hs-lbl { font-size: var(--text-xs); color: rgba(255,255,255,.65); letter-spacing: var(--tracking-wider); text-transform: uppercase; }

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  animation: heroFadeRight 1s 0.2s ease both;
}

/* Legacy */
.hero-vis { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; animation: heroFadeRight 1s .2s ease both; }

.hero__bottle {
  position: relative;
  z-index: 5;
  animation: bottleFloat 4s ease-in-out infinite;
}

/* Legacy */
.hero-bottle { position: relative; z-index: 5; animation: bottleFloat 4s ease-in-out infinite; }

@keyframes bottleFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-22px) rotate(1.5deg); }
}

/* Legacy */
@keyframes fbottle { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-22px) rotate(1.5deg); } }

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

/* Legacy */
.hglow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 380px; height: 380px; background: radial-gradient(circle,rgba(255,255,255,.18) 0%,transparent 70%); border-radius: 50%; animation: glowPulse 3s ease-in-out infinite; }

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}

/* Legacy */
@keyframes gpulse { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.18); } }

.hero__ring {
  position: absolute;
  border-radius: 50%;
  animation: ringSpin 14s linear infinite;
}

.hero__ring--inner {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__ring--outer {
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation-duration: 20s;
  animation-direction: reverse;
}

/* Legacy */
.hring1 { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; animation: ringSpin 14s linear infinite; }
.hring2 { position: absolute; width: 430px; height: 430px; border: 1px dashed rgba(255,255,255,.1); border-radius: 50%; animation: ringSpin 20s linear infinite reverse; }

@keyframes ringSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* Legacy */
@keyframes rspin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

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

@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(38px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Legacy */
@keyframes fup { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fright { from { opacity: 0; transform: translateX(38px); } to { opacity: 1; transform: translateX(0); } }

/* ── Bottle Photo Placeholder ── */
.bottle-photo {
  width: 230px;
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}

.bottle-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.bottle-photo .bp-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  color: var(--white);
}

.bottle-photo .bp-placeholder i {
  font-size: 3rem;
  opacity: 0.6;
  margin-bottom: var(--space-3);
}

.bottle-photo .bp-placeholder p {
  font-size: var(--text-xs);
  opacity: 0.7;
  letter-spacing: var(--tracking-wider);
}

/* Real Bottle Image Card */
.real-bottle-img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-bottle-img img { width: 100%; height: 100%; object-fit: contain; }

.real-bottle-img .rbi-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--orange);
  opacity: 0.5;
}

.real-bottle-img .rbi-ph i { font-size: 3rem; }
.real-bottle-img .rbi-ph span { font-size: var(--text-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; font-weight: var(--weight-semibold); }

/* ── Page Headers (sub-pages) ── */
.page-header {
  min-height: 380px;
  background: var(--gradient-orange-subtle);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.page-header__content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px var(--container-px) var(--space-14);
  position: relative;
  z-index: 2;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-header__title span {
  opacity: 0.85;
}

.page-header__subtitle {
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-3);
  font-size: var(--text-base);
  max-width: 500px;
}

.page-header__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

/* Legacy aliases */
.ph { min-height: 380px; background: var(--gradient-orange-subtle); display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.ph-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%,rgba(255,255,255,.08) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,255,255,.06) 0%,transparent 50%); }
.ph-con { max-width: var(--container-max); margin: 0 auto; padding: 140px var(--container-px) var(--space-14); position: relative; z-index: 2; }
.ph-tit { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: var(--weight-black); color: var(--white); text-transform: uppercase; letter-spacing: 2px; }
.ph-tit span { opacity: .85; }
.ph-sub { color: rgba(255,255,255,.75); margin-top: var(--space-3); font-size: var(--text-base); max-width: 500px; }
.ph-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }

/* ── Industries Served Section ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.industry-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  border: 1px solid transparent;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange-md);
  border-color: rgba(245, 130, 32, 0.15);
}

.industry-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-4);
  background: var(--orange-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  transition: var(--tr);
}

.industry-card:hover .industry-card__icon {
  background: var(--orange);
  color: var(--white);
}

.industry-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ── Partners / Certifications Bar ── */
.partners-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-8) 0;
}

.partner-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--tr);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Newsletter Section ── */
.newsletter-section {
  background: var(--gradient-navy);
  padding: var(--section-py) 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: var(--space-8) auto 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.newsletter-form__input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: var(--text-sm);
}

.newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form__btn {
  padding: var(--space-3) var(--space-6);
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  margin: 3px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}

.newsletter-form__btn:hover {
  background: var(--orange-light);
}
