/* ========================================================================
   DEPLOY PATH: /css/hero-tepuy.css
   Tepuy Solutions — Home page hero section parallax and animation styles
   Version: 2026-03-31 (headers added)
   Notes: Only load on home/landing pages.
   ======================================================================== */

/* ===== Fade + slide on load ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Core color tokens ===== */
.hero-tepuy {
  --bg: #0b0e13;
  --bg-2: #06080a;
  --text: #eaf2f0;
  --brand: #00ffae;
  --brand-dim: rgba(0,255,174,.35);

  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% 5%, var(--bg) 0%, var(--bg-2) 65%);
  z-index: 0;
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  animation: heroFadeUp 1.4s ease-out both;
  will-change: transform, opacity;
}


@media (max-width: 768px) {
  .hero-tepuy .hero-inner { padding: 8vh 18px 6vh; }
}


/* ===== Canvas background field ===== */
.hero-tepuy canvas#energyField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .38;
  mix-blend-mode: screen;
  filter: blur(0.35px);
  pointer-events: none;
  z-index: 1;
}



/* ===== Hero content ===== */
.hero-tepuy .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10vh 24px 8vh;
  text-align: center;
}

.hero-tepuy h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 0.2s;
}
.hero-tepuy h1 span { color: var(--brand); text-shadow: 0 0 16px var(--brand-dim); }

.hero-tepuy .lede {
  margin: 18px auto 28px;
  max-width: 820px;
  font-size: clamp(16px, 1.6vw, 20px);
  opacity: .9;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 0.6s;
}

.hero-tepuy::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(7,10,15,1));
  pointer-events: none;
  z-index: 1; /* above bg, below text (same layer as canvas) */
}


/* ===== CTA Buttons ===== */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 1s;
}
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #0b0e13;
  border: 0;
}
.btn-primary:hover {
  background: #00ffae;
  box-shadow: 0 0 18px rgba(0,255,174,0.4);
  transform: translateY(-2px);
}
.hero-cta .btn-primary,
.hero-cta .btn-outline {
  justify-content: center;
}

.btn-outline {
  border: 1px solid #2a3331;
  color: #dfe7e5;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}



/* ===== Motion / accessibility ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-tepuy { transform: translateZ(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tepuy,
  .hero-tepuy h1,
  .hero-tepuy .lede,
  .hero-cta {
    animation: none;
    transform: none;
  }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .hero-tepuy h1 { font-size: 2rem; }
  .hero-tepuy .lede { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
}

/* =========================================================
   Trust Strip — Institutional / Analytical Style
   ========================================================= */

.hero-tepuy .trust-strip {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;

  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  opacity: 0.78;
}

/* Individual items */
.hero-tepuy .trust-strip li {
  list-style: none;
  white-space: nowrap;
  position: relative;
  padding: 0 6px;
}

/* Small-caps style separators */
.hero-tepuy .trust-strip li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -10px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

/* Slight hover lift for polish (optional but subtle) */
.hero-tepuy .trust-strip li:hover {
  opacity: 0.95;
}

