/* ============================================================
   YoLeiQue — yoleique.mx
   Identidad unificada con AI Makers:
   navy #080523 · magenta #ef23f2 · azul #357dff · coral #d8755f
   Tipografía: Geist / Geist Mono
   Breakpoint móvil: 768px
   ============================================================ */

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

:root {
  --navy: #080523;
  --navy-deep: #040410;
  --indigo: #170947;
  --violet: #542069;
  --magenta: #ef23f2;
  --blue: #357dff;
  --coral: #d8755f;
  --white: #fbfbff;
  --muted: rgba(255, 255, 255, 0.66);
  --dark-text: #171324;
  --claro: #f6f2f8;
  --linea: rgba(255, 255, 255, 0.15);
  --linea-oscura: rgba(23, 19, 36, 0.18);
  --grad: linear-gradient(90deg, #ec1fff, #1658ff);
  --nav-alto: 72px;
  --font-sans: "Geist", Arial, sans-serif;
  --font-mono: "Geist Mono", monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--magenta); color: white; }

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

.section-pad { padding: 110px 7vw; }

.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(20, 14, 35, 0.5);
  font-size: 9px;
  font-weight: 700;
}
.section-tag::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.section-tag.light { color: rgba(255, 255, 255, 0.46); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-alto);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: rgba(8, 5, 35, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font: 600 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.nav-links a { transition: color 180ms ease; }
.nav-links a:hover { color: var(--magenta); }

.nav-links .nav-mp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 700;
  background: var(--grad);
  box-shadow: 0 12px 35px rgba(72, 42, 255, 0.25);
  transition: transform 180ms ease, filter 180ms ease;
}
.nav-links .nav-mp:hover { transform: translateY(-2px); filter: brightness(1.15); color: var(--white); }
.nav-links .nav-mp span { font-size: 14px; }

/* Hamburguesa (solo móvil) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease;
}
.nav-toggle.activo span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.activo span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-alto));
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, rgba(216, 117, 95, 0.28) 0%, rgba(87, 29, 97, 0.45) 30%, rgba(17, 7, 66, 0.6) 62%, rgba(4, 4, 16, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.overline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #8cc5ff;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero-logo-img {
  width: min(56vw, 520px);
  height: auto;
  display: block;
}

.hero-tagline {
  margin-top: 30px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.reveal { animation: reveal 800ms both cubic-bezier(0.16, 1, 0.3, 1); }
.delay-one { animation-delay: 120ms; }
.delay-two { animation-delay: 240ms; }

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

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(251, 251, 255, 0.4);
  border-radius: 12px;
}
.hero-scroll span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--white);
  animation: rueda 1.8s ease-in-out infinite;
}
@keyframes rueda {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ============ BOTONES (estilo AI Makers) ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 205px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font: 700 10px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: transform 180ms ease, filter 180ms ease;
}
.button:hover { transform: translateY(-3px); filter: brightness(1.15); }
.button-gradient { background: var(--grad); border: 0; box-shadow: 0 12px 35px rgba(72, 42, 255, 0.25); }
.button span { font-size: 16px; }

/* ============ REDES SOCIALES ============ */
.social {
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid var(--linea);
}

.social-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  margin-bottom: 26px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: var(--grad);
}

/* ============ SERVICIOS (sección clara) ============ */
.servicios-strip {
  color: var(--dark-text);
  background: var(--claro);
}

.servicios-heading {
  display: grid;
  grid-template-columns: 20% 1fr;
  align-items: end;
}

.servicios-strip h2,
.ig-titulo,
.cta h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 760;
}

.servicios-strip h2 em {
  color: #6d21a5;
  font-family: Georgia, serif;
  font-weight: 400;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--linea-oscura);
  border-bottom: 1px solid var(--linea-oscura);
}

.pillar {
  display: block;
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--linea-oscura);
  transition: background 200ms ease, color 200ms ease;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { color: white; background: linear-gradient(145deg, #7a269e, #18105a); }

.pillar-number {
  font: 700 9px/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: rgba(23, 19, 36, 0.42);
}
.pillar:hover .pillar-number, .pillar:hover p { color: rgba(255, 255, 255, 0.62); }

.pillar h3 {
  margin: 50px 0 12px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.pillar p {
  max-width: 290px;
  color: rgba(23, 19, 36, 0.57);
  font-size: 13px;
  line-height: 1.65;
}

/* ============ FEED INSTAGRAM ============ */
.ig-feed {
  background:
    linear-gradient(120deg, rgba(209, 109, 87, 0.2), transparent 30%),
    linear-gradient(145deg, #2b1350 0%, #120839 45%, #07051c 100%);
}

.ig-titulo { margin-top: 40px; }

.ig-titulo span {
  display: block;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border: 1px solid var(--linea);
}

.ig-placeholder {
  aspect-ratio: 1 / 1;
  border-right: 1px solid var(--linea);
  background: rgba(12, 6, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig-placeholder:last-child { border-right: 0; }

.ig-placeholder span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

/* ============ CTA ============ */
.cta {
  position: relative;
  padding: 130px 7vw;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(217, 115, 91, 0.4), transparent 32%),
    radial-gradient(circle at 70% 40%, #4d1e77 0%, #16083e 46%, #07051c 78%);
}

.cta-lines { position: absolute; inset: 30px; border: 1px solid rgba(255, 255, 255, 0.13); pointer-events: none; }
.cta-lines::after { content: ""; position: absolute; inset: 15px; border: 1px dashed rgba(255, 255, 255, 0.1); }

.cta-content { position: relative; z-index: 1; text-align: center; }

.cta .section-tag { justify-content: center; }
.cta .section-tag::before { display: none; }

.cta h2 { margin: 28px 0 40px; }

.cta h2 span {
  display: block;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}

/* ============ FOOTER ============ */
.footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 5vw;
  background: var(--navy-deep);
}

.footer img { width: 110px; height: auto; }

.footer p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.38);
  font: 600 8px/1.6 var(--font-mono);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-evento {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 180ms ease;
}
.footer-evento:hover { color: var(--magenta); }
.footer-evento span { color: var(--magenta); font-size: 14px; }

/* ============ PÁGINAS INTERNAS ============ */
.pagina {
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 32px;
  min-height: 62vh;
}

.pagina .section-tag { margin-bottom: 30px; }

.pagina h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 760;
  margin-bottom: 40px;
}

.pagina h1 em {
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.pagina p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.pagina .pillar-grid {
  margin-top: 60px;
  grid-template-columns: repeat(2, 1fr);
  border-color: var(--linea);
}
.pagina .pillar { border-color: var(--linea); min-height: 260px; }
.pagina .pillar-number { color: rgba(255, 255, 255, 0.42); }
.pagina .pillar p { color: var(--muted); }

/* ============ MÓVIL ============ */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-logo img { height: 28px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: var(--nav-alto) 0 auto 0;
    background: rgba(8, 5, 35, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 30px;
    padding: 40px 0 48px;
    border-bottom: 1px solid var(--linea);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.abierto { transform: translateY(0); }

  .hero { min-height: 500px; }
  .hero-logo-img { width: 80vw; }

  .section-pad { padding: 80px 24px; }

  .servicios-heading { grid-template-columns: 1fr; gap: 36px; }
  .pillar-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .pillar { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--linea-oscura); }
  .pillar:last-child { border-bottom: 0; }

  .ig-grid { grid-template-columns: 1fr; }
  .ig-placeholder { border-right: 0; border-bottom: 1px solid var(--linea); }
  .ig-placeholder:last-child { border-bottom: 0; }

  .social { padding: 48px 20px; }
  .social-icons { gap: 12px; }
  .social-icons a { width: 48px; height: 48px; }

  .cta { padding: 100px 24px; }
  .cta-lines { inset: 16px; }

  .footer { grid-template-columns: 1fr; gap: 22px; justify-items: start; }
  .footer p { text-align: left; }
  .footer-evento { justify-self: start; }

  .pagina { padding: 72px 24px; }
  .pagina .pillar-grid { grid-template-columns: 1fr; }
  .pagina .pillar { border-bottom: 1px solid var(--linea); border-right: 0; }
  .pagina .pillar:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
