/* ==========================================================================
   Egg Company — sistema visual
   Colores, tipografía y escalas tomados de "Web Egg Company.md"
   ========================================================================== */

:root {
  --naranja:         #FF6200;
  --violeta:         #4F1092;
  --violeta-profundo:#2B0752;
  --lila:            #B762F7;
  --negro:           #181615;
  --gris-lila:       #F6F4F9;
  --borde-card:      #EDE9F3;
  --footer:          #0C0815;

  --navbar-h: 72px;
}

* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--negro);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Titulares Anton (misma familia del wordmark de marca) ------------------------------------------------------ */

.display {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
}

/* Escala fluida mobile-first (valor máximo = el del mockup a 1440px) */
.t-hero     { font-size: clamp(3.25rem, 10.5vw, 7rem); }     /* 112px */
.t-poster   { font-size: clamp(2.75rem, 8.5vw, 5.5rem); }    /* 88px  */
.t-section  { font-size: clamp(2.25rem, 5.6vw, 3.75rem); }    /* Anton es más ancho que Bebas: 60px */
.t-cierre   { font-size: clamp(2.5rem, 6.5vw, 4rem); }       /* 64px  */
.t-num      { font-size: clamp(2.5rem, 5vw, 3.25rem); }      /* 52px  */
.t-form     { font-size: clamp(1.5rem, 3.4vw, 1.875rem); }   /* 30px  */
.t-wordmark { font-size: clamp(3.5rem, 15vw, 9.375rem); }    /* 150px */

/* --- Eyebrow -------------------------------------------------------------- */

.eyebrow {
  font-size: .75rem;            /* 12px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* --- Botones y chips (radio 999px) --------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .875rem 1.5rem;
  font-size: .875rem;           /* 14px */
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-naranja        { background: var(--naranja); color: #fff; }
.btn-naranja:hover  { background: #E85800; }

.btn-violeta        { background: var(--violeta); color: #fff; }
.btn-violeta:hover  { background: #3E0B75; }

.btn-outline-negro {
  border: 1.5px solid var(--negro);
  color: var(--negro);
  background: transparent;
}
.btn-outline-negro:hover { background: var(--negro); color: #fff; }

.btn-outline-violeta {
  border: 1.5px solid var(--violeta-profundo);
  color: var(--violeta-profundo);
  background: transparent;
}
.btn-outline-violeta:hover { background: var(--violeta-profundo); color: #fff; }

.btn-outline {
  border: 1.5px solid var(--borde-card);
  color: var(--negro);
  background: #fff;
}
.btn-outline:hover { border-color: var(--violeta); color: var(--violeta); }

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .375rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --- Cards ---------------------------------------------------------------- */

.card {
  border-radius: 22px;
  border: 1px solid var(--borde-card);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--lila); }

.step {
  border-radius: 20px;
  background: var(--gris-lila);
}

/* Slot de imagen vacío (las fotos de producto son placeholders) */
.slot {
  background: var(--gris-lila);
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* --- Navbar --------------------------------------------------------------- */

.navbar {
  height: var(--navbar-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--negro);
  position: relative;
  transition: color .18s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--naranja);
  transition: width .22s ease;
}
.nav-link:hover { color: var(--naranja); }
.nav-link:hover::after { width: 100%; }

/* Menú mobile */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
#mobile-menu.open { max-height: 460px; }

.burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--negro);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Formulario ----------------------------------------------------------- */

.field {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--borde-card);
  background: #fff;
  padding: .875rem 1rem;
  font-size: .9375rem;
  color: var(--negro);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field::placeholder { color: #9A94A6; }
.field:focus {
  outline: none;
  border-color: var(--violeta);
  box-shadow: 0 0 0 3px rgba(79, 16, 146, .12);
}

/* --- Botón flotante de WhatsApp ------------------------------------------ */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 140, 70, .35);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  animation: pulso 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulso {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* --- Animaciones de entrada ---------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

.flota { animation: flota 7s ease-in-out infinite; }
@keyframes@keyframes flota {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* --- Franja "Nos eligen" -------------------------------------------------- */

.logo-cliente {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: filter .25s ease, opacity .25s ease;
}
