:root {
  --bg: #070707;
  --ink: #f6f7f6;
  --muted: rgba(244, 245, 244, .58);
  --faint: rgba(244, 245, 244, .1);
  --green: #4c9a52;
  --green-soft: rgba(76, 154, 82, .1);
  --green-line: rgba(76, 154, 82, .24);
}

* { box-sizing: border-box; margin: 0; padding: 0 }

html, body { height: 100% }

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inder, system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(76, 154, 82, .28); color: #fff }

/* ---------- fondo: video de la marca ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg) }

.bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(7, 7, 7, .6), transparent 80%),
    linear-gradient(180deg, rgba(7, 7, 7, .2), rgba(7, 7, 7, .45));
}

/* ---------- layout ---------- */
.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2.6vh, 22px) 0;
}

.jeydro-mark { display: block; height: 32px; width: auto }
.jeydro-mark { --jd-icon: var(--green); --jd-word: var(--ink) }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--green);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 28px;
}

/* ---------- lockup cliente × jeydro ---------- */
.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
  margin-bottom: clamp(18px, 3.8vh, 34px);
}

.client {
  position: relative;
  width: clamp(120px, min(22vw, 22vh), 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.client img {
  width: 128%;
  height: 128%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(76, 154, 82, .28))
    drop-shadow(0 0 36px rgba(76, 154, 82, .14))
    drop-shadow(0 22px 40px rgba(0, 0, 0, .7));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.cross {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.cross::before,
.cross::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--faint), transparent);
}

.cross span {
  font-family: Prompt, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
}

.partner { width: clamp(150px, min(22vw, 27vh), 250px) }
.partner .jeydro-mark {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(76, 154, 82, .38))
    drop-shadow(0 0 26px rgba(76, 154, 82, .2));
  animation: float 6s ease-in-out -3s infinite;
  will-change: transform;
}

/* ---------- texto ---------- */
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(10px, 2vh, 18px);
}

h1 {
  font-family: Prompt, sans-serif;
  font-weight: 600;
  font-size: clamp(34px, min(6.2vw, 8vh), 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 15ch;
  text-wrap: balance;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}

.lead {
  margin-top: clamp(14px, 2.4vh, 22px);
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.progress {
  position: relative;
  width: min(280px, 70vw);
  height: 3px;
  margin-top: clamp(22px, 4.4vh, 40px);
  border-radius: 99px;
  background: var(--faint);
  overflow: hidden;
}

.progress::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: load 2.2s cubic-bezier(.6, 0, .4, 1) infinite;
}

.progress-label {
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 245, 244, .38);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(244, 245, 244, .07);
  font-size: 12.5px;
  color: rgba(244, 245, 244, .42);
}

footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: color .3s;
}

footer a:hover { color: var(--ink) }
footer a .jeydro-mark { height: 20px; opacity: .85; transition: opacity .3s }
footer a:hover .jeydro-mark { opacity: 1 }

/* ---------- entrada ---------- */
.in {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  animation: enter 1s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 150ms);
}

@keyframes enter { to { opacity: 1; transform: none; filter: none } }
@keyframes pulse { 50% { opacity: .35 } }
@keyframes float { 50% { transform: translateY(-8px) } }
@keyframes load { from { transform: translateX(-100%) } to { transform: translateX(250%) } }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .page { padding: 0 16px }
  header { padding: 16px 0 }
  header > .jeydro-mark { height: 26px }
  .pill { font-size: 10.5px; letter-spacing: 1.6px; padding: 7px 12px }
  .lockup { flex-direction: column; gap: 14px }
  .cross { flex-direction: row }
  .cross::before, .cross::after {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--faint), transparent);
  }
  .client { width: min(150px, 19vh) }
  .partner { width: min(190px, 24vh) }
  .lead { font-size: 14px }
  footer { flex-direction: column; text-align: center; gap: 8px }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important }
  .in { opacity: 1; transform: none; filter: none }
}

/* móviles bajitos (y teléfonos en horizontal): logos en fila para que todo quepa */
@media (max-width: 640px) and (max-height: 780px), (max-height: 480px) {
  .lockup { flex-direction: row; gap: 14px }
  .cross::before, .cross::after { display: none }
  .cross span { font-size: 26px }
  .client { width: 92px }
  .partner { width: 132px }
}
