/* ==========================================================================
   WE ARE THE ONE — style.css
   Home + Menú preliminar + Formulario de contacto
   ========================================================================== */

:root {
  --color-bg: #000000;
  --color-white: #FFFFFF;
  --color-accent: #00C7CE;
  --color-accent-rgb: 0, 199, 206;

  --font-display: 'Rajdhani', sans-serif;
  --font-text: 'Nanum Gothic', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-text);
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; }

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

/* Respeta preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HERO / HOME
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: var(--color-bg);
}

/* Contenedor con el ancho del artboard original (1920x1440).
   En pantallas más anchas, el excedente queda en negro (--color-bg),
   evitando que la foto se estire y deje "espacio vacío" a los costados. */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* capa "background" — estática */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, #000 18%, rgba(0,0,0,.85) 34%, rgba(0,0,0,.15) 56%, rgba(0,0,0,0) 68%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 75%, rgba(0,0,0,.5) 100%);
}

/* capa "background details" — flotan con parallax */
.bg-details {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 3px solid var(--color-accent);
}

.corner-tl {
  top: 56px; left: clamp(20px, 4vw, 60px);
  border-right: none; border-bottom: none;
}

.corner-bl {
  bottom: 40px; left: clamp(20px, 4vw, 60px);
  border-right: none; border-top: none;
}

.tag-hashtag {
  position: absolute;
  top: 56px; right: clamp(20px, 4vw, 60px);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 15px;
  color: var(--color-white);
}

.progress-mark {
  position: absolute;
  bottom: 40px; right: clamp(20px, 4vw, 60px);
  display: flex;
  gap: 6px;
}

.progress-mark i {
  display: block;
  width: 26px;
  height: 3px;
  background: rgba(255,255,255,.25);
}

.progress-mark i:last-child { background: var(--color-accent); width: 34px; }

/* contenido principal */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 60px) 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo { max-width: 380px; margin-bottom: 28px; }
.hero-logo img { width: 100%; height: auto; }

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-text p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  color: var(--color-white);
  margin: 0 0 18px;
}

.hero-text strong {
  font-family: var(--font-text);
  font-weight: 800;
  color: var(--color-accent);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 220px));
  gap: 28px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  max-width: 980px;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  flex: none;
  width: 26px;
  height: 26px;
}

.feature-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }

.feature-copy {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-white);
}

.feature-copy strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-accent);
  font-size: 15px;
  margin-bottom: 2px;
}

.btn-contact {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  padding: 14px 26px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s ease;
}

.btn-contact-icon { width: 20px; height: 20px; display: block; }

.btn-contact:hover { transform: translateY(-2px); }

.btn-contact.is-active,
.btn-contact:active {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* el ícono viene en PNG blanco sólido: en el estado activo (fondo teal)
   lo invertimos a negro para que combine con el texto */
.btn-contact.is-active .btn-contact-icon,
.btn-contact:active .btn-contact-icon {
  filter: brightness(0);
}

.wao-popup{
  background:#fff;
  border:3px solid #000;
  border-radius:0;
}

.wao-title{
  font-family:'Bebas Neue', sans-serif;
  font-size:48px;
  color:#000;
  letter-spacing:2px;
}

.wao-button{
  background:#000;
  color:#00D8E6;
  border:none;
  padding:14px 35px;
  font-family:'Bebas Neue',sans-serif;
  font-size:24px;
  cursor:pointer;
}

/* --------------------------------------------------------------------------
   Animaciones de entrada — fade in + desplazamiento sutil desde la izquierda
   -------------------------------------------------------------------------- */

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

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

.hero-logo.reveal-left     { transition-delay: .05s; }
.hero-text.reveal-left     { transition-delay: .2s; }
.hero-features.reveal-left { transition-delay: .35s; }
.btn-contact.reveal-left   { transition-delay: .5s; }

/* ==========================================================================
   FORMULARIO DE CONTACTO (popup)
   ========================================================================== */

.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.contact-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.contact-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.contact-overlay.is-open .contact-scrim { opacity: 1; }

.contact-panel {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: min(480px, 92vw);
  background: var(--color-accent);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  overflow-y: auto;
}

.contact-overlay.is-open .contact-panel {
  transform: translateX(0);
  opacity: 1;
}

.contact-panel-inner {
  padding: clamp(60px, 8vw, 90px) clamp(28px, 5vw, 48px) 60px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

.contact-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  color: #000;
  font-size: 28px;
  line-height: 1;
}

.contact-eyebrow {
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
  margin: 0 0 34px;
}

.contact-title span { display: block; }
.contact-title .line-1 { color: #FFFFFF; }
.contact-title .line-2 { color: #000000; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: #000;
  margin-bottom: -10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #000;
  background: #FFFFFF;
  color: #000;
  font-family: var(--font-text);
  font-size: 14px;
  padding: 12px 14px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  background: #000;
  color: var(--color-accent);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 14px 26px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: opacity .2s ease, transform .2s ease;
}

.btn-submit svg { width: 18px; height: 18px; }
.btn-submit:hover { opacity: .85; transform: translateY(-1px); }
.btn-submit:disabled { opacity: .5; cursor: wait; }

/* Estado tras enviar: fondo blanco / texto negro (según especificación) */
.contact-panel.is-submitted .contact-panel-inner {
  background: #FFFFFF;
  color: #000000;
}

.contact-panel.is-submitted .contact-eyebrow,
.contact-panel.is-submitted .contact-title,
.contact-panel.is-submitted .contact-title .line-1,
.contact-panel.is-submitted .contact-title .line-2 { color: #000000; }

.contact-success { display: none; }
.contact-success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--color-accent);
}

.contact-panel.is-submitted .contact-success-title { color: #000; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-features { grid-template-columns: repeat(2, minmax(150px, 240px)); }
}

@media (max-width: 900px) {
  .hero-bg img { width: 100%; opacity: .55; }
  .hero-bg-gradient {
    background:
      linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.75) 100%);
  }

  .tag-hashtag { top: 48px; }
  .corner-tl { top: 48px; }
}

@media (max-width: 640px) {
  .hero-content { padding-top: 20px; padding-bottom: 48px; }
  .hero-logo { max-width: 260px; margin-bottom: 20px; }

  .hero-features { grid-template-columns: 1fr 1fr; gap: 20px; }

  .btn-contact { width: 100%; justify-content: center; }

  .contact-panel { width: 100%; }
}
/* ==========================================================================
   Solución para celulares pequeños
   ========================================================================== */
@media (max-width: 480px) {
  /* 1. Quitamos el absoluto para que no flote sobre el logo */
  .tag-hashtag {
    position: static;      /* Rompe el posicionamiento absoluto */
    display: block;        /* Lo convierte en bloque */
    text-align: right;     /* Mantiene la alineación a la derecha */
    padding-right: 20px;   /* Margen de seguridad derecho */
    margin-top: 10px;      /* Espaciado para que respire abajo del logo */
    font-size: 13px;       /* Lo hacemos un poquito más compacto */
  }

  /* 2. Ajustamos las esquinas decorativas para que no queden flotando raro */
  .corner-tl {
    top: 20px;
    left: 20px;
  }
}
 /* ==========================================================================
   Ajuste de espacio superior (Padding Top) para PC y Celulares
   ========================================================================== */

/* 1. Para Computadoras y Pantallas Grandes */
.hero-content {
  /* Cambiamos el espacio de arriba de 40px a 100px. 
     Mantenemos tus medidas fluidas para los lados y el fondo. */
  padding: 100px clamp(20px, 4vw, 60px) 60px; 
}

/* 2. Para Celulares (Menos de 640px) */
@media (max-width: 640px) {
  .hero-content {
    /* Cambiamos el espacio de arriba de 20px a 70px */
    padding-top: 70px; 
  }
}
/* Aumenta el espacio entre el logo y el texto en pantallas grandes */
.hero-logo {
  margin-bottom: 68px; /* Subimos de 28px a 56px para dar el doble de aire */
}

/* Aumenta el espacio en pantallas de celulares (Media Query existente) */
@media (max-width: 640px) {
  .hero-logo {
    margin-bottom: 48px; /* Subimos de 20px a 36px */
  }
}