
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* ============ Layout base ============ */
    .wrap{
        max-width:1290px;
        margin:0 auto;
        padding:24px
    }

    /* ============ NAV PILL ============ */
    .nav-wrap{
        position:sticky;
        top:0;
        z-index:40;
        background:transparent;
    }
    
    /*Letras "Los Pollos de la Cementera" */
    .nav-pill{
      display:flex;
      align-items:center;
      gap:24px;
      justify-content:space-between;
      padding:18px 28px;
      border-radius:999px;
      background:red;
      color:var(--brand-ink);
      box-shadow:0 10px 30px rgba(0,0,0,.25);
    }

    .textheader{
        color: white;
        font-size: 30px;
    }

    .brand{
        display:flex;
        align-items:center;
        gap:14px;
        font-weight:700;
        letter-spacing:.2px
    }

    .brand .dot{width:12px;
        height:12px;border-radius:999px;
        background:var(--brand-ink)}

    .nav{
        display:flex;
        align-items:center;
        gap:26px
    }

    .nav a{
      position:relative;
      text-decoration:none;
      color:var(--brand-ink);
      font-weight:600;
      opacity:.9;
      transition:opacity .2s ease;
    }

    .nav a.active::after{
      content:"";
      position:absolute;
      left:0;right:0;
      bottom:-8px;
      margin:auto;
      width:34px;
      height:4px;
      border-radius:4px;
      background:var(--brand-ink);
    }

/*Menu del encabezado*/
.navigation a{
    position: relative;
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

/*Líneas debajo de el menu del encabezado al poner el cursor sobre ellas */
.navigation a::after{
    content:'';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform.5s;
}

/*Líneas debajo de el menu del encabezado al poner el cursor sobre ellas */
.navigation a:hover:after{
    transform-origin: left;
    transform: scaleX(1);
}

/*Botón de "Acceder" en el menu del encabezado*/
.navigation .btnLogin-popup {
    width: 130px;
    height: 50px;
    background:#fff;
    border:none;
    outline: none;
    border-radius:999px;
    cursor: pointer;
    font-size: 1.1em;
    color:#111;
    font-weight:700;
    margin-left: 40px;
    transition: .5s;
    box-shadow:0 6px 14px rgba(0,0,0,.18);
}

/*Al colocar el cursor sobre el botón "acceder" del encabezado*/
.navigation .btnLogin-popup:hover {
    background: yellow;
    color: black;
    
}

/* ============ HERO ============ */
    .hero{
      position:relative;
      isolation:isolate;
      overflow:hidden;
      border-radius:22px;
      margin-left:-40px;
      margin-top:-100px;
      background:#111;
      min-height:88vh;
      width: 220vh;
    }
    .hero::before{
      content:"";
      position:absolute;
      inset:0;
      z-index:-2;
      background:url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat;
      filter:contrast(1.06) saturate(1.05);
    }

    .hero::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:-1;
      background:radial-gradient(1200px 600px at 70% 30%, rgba(0,0,0,.15), transparent 50%),
                 linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
    }

    /* Logo/badge superpuesto en esquina */
    .badge{
      position:absolute;
      left:24px;
      bottom:24px;
      display:flex;
      align-items:center;
      gap:14px;
      padding:14px 18px;
      border-radius:20px;
      background:transparent;
      color:#111;
      box-shadow:0 12px 30px rgba(0,0,0,.25);
    }

    .badge .chicken{
        width:54px;
        height:54px;
        border-radius:14px;
        background:conic-gradient(from 0deg, #ffb703, #ffd166, #ffb703);
        display:grid;
        place-items:center;
        font-weight:900;
        color:#7c2d12
    }

    .badge h2{
        margin:0;
        font-size:1.05rem;
        line-height:1.1
    }

    .badge small{
        display:block;
        margin-top:2px;
        color:#555;
        font-weight:600
    }


/*Formulario de Acceso*/
.wrapper{
    position: fixed;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: transform .5s ease, height .2s ease;
    z-index: 9999;
    margin-top: -20px;
    left: 35%;
}

.wrapper.active-popup {
    transform: scale(1);
}


.wrapper.active{
    height: 470px;
}

.wrapper .form-box {
    width: 100%;
    height: 100%;         
    padding: 40px;
    overflow-y: auto;       /* activa scroll vertical */
    box-sizing: border-box; /* para que el padding no sume más altura */
}

.wrapper .form-box.login{
    transition: transform .18s ease;
    transform: translateX(0);
}

.wrapper.active .form-box.login {
    transition: none;
    transform: translateX(-400px);
}


.wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.wrapper.active .form-box.register{
    transition: transform .18s ease;
    transform: translateX(0);
}

/*Icono de cerrar formulario "X"*/
.wrapper .icon-close{
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    /*background: #162938;*/
    background: red;
    font-size: 2em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}

.icon-close:hover{
    background: white;
    color: #162938;
}

.icon-close:active{
    background: red;
    color: white;
}

/*Texto del formulario "Acceder"*/
.form-box h2{
    font-size: 2em;
    color: #162938;

    text-align: center;

}

/*Líneas del formulario en las que se escribe el correo y contraseña*/
.input-box{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

/*Letras del formulario donde escribes "Correo" y "Contraseña" */
.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    /*color: red;*/
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
}

/*Al escribir en el formulario el correo y contraseña, se modifican las letras que escribes*/
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

/*Iconos dentro del formulario, donde escribes*/
.input-box .icon{
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;
}

/*Texto "recordar" dentro del formulario*/
.remember-forgot{
    font-size: .9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

/*Cuando marcas la casilla "recordar"*/
.remember-forgot label input {
    /*accent-color: #162938;*/
    accent-color: red;
    margin-right: 3px;
}

/*Texto Olvidaste tu contraseña?*/
.remember-forgot a{
    color: #162938;
    text-decoration: none;
}

/*Al colocarte sobre el texto "Olvidaste tu contraseña?"*/
.remember-forgot a:hover{
    text-decoration: underline;
    color: red;
}

/*Botón de "Iniciar sesión"*/
.btn{
    width: 100%;
    height: 45px;
    background: #162938;
    background: red;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 500;
}

/*Texto "No tienes cuenta?"*/
.login-register{
    font-size: .9em;
    color: #162938;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

/*Texto "Registrarme"*/
.login-register p a{
    color: #162938;
    text-decoration: none;
    font-weight: 600;
}

/*Al colocarte sobre "Registrarme"*/
.login-register p a:hover {
    text-decoration: underline;
    color: red;
}

.logo{
    height: 170px;
    background: transparent;
}

/*Desde aquí solo CSS para párrafos*/

.terminos{
    color: red;
}



/*Para pantalla oficina*/
@media (min-width: 1670px) and (max-width: 1950px) {

  .hero{
      margin-left: -320px;
      width: 205vh;
      min-height: 91vh;
  }
 
 .logo {
    height: 233px;
 }
 
 .wrapper {
    margin-top: 0px;
    left: 39%;
}
 
 
}




/*Para pantalla laptop*/
@media (min-width: 1200px) and (max-width: 1370px) {
    
    header{
        padding: 20px 40px;
    }
    
}


    

/*Para pantalla iphone*/
@media screen and (max-width: 600px) {
  
  
  .wrap {
    padding: 13px;
  }
  
  .textheader {
    text-align: center;
  }
  

.navigation {
    margin-left: -38px;
    text-align: center;
}

.navigation .btnLogin-popup {
    margin-top: 10px;
	}
	
.hero {
    margin-left: 0px;
    margin-top: -120px;
    min-height: 75vh;
    width: 47.5vh;
}
	
.logo {
    margin-left: 50px;
    margin-bottom: 27vh;
}
	
	.wrapper {
    margin-top: 1px;
    left: 5%;
	
}


/*Para pantalla Android*/
@media screen and (max-width: 400px) {
 
 .logo {
    margin-left: 3%;
}
 
 .hero {
    margin-left: -1px;
 }
 
 .textheader {
    font-size: 22px;
}

.navigation {
    margin-left: -56px;
}
 
 .navigation .btnLogin-popup {
    margin-left: 40px;
 }
 
 
 .wrapper .form-box.login {
    width: 82%;
}

.wrapper.active-popup {
    transform: scale(.75);
    left: -17px;
}




}



































